版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、2020/10/7,BUPT-AI for (k = 1; Lk !=; k+) do begin Ck+1 = candidates generated from Lk; for each transaction t in database do increment the count of all candidates in Ck+1 that are contained in t Lk+1 = candidates in Ck+1 with min_support end return k Lk;,2020/10/7,BUPT-AI&DM,16,Example 2:,TIDList of
2、 item-IDs - T100I1, I2, I5 T200I2, I4 T300I2, I3 T400I1, I2, I4 T500I1, I3 T600I2, I3 T700I1, I3 T800I1, I2, I3, I5 T900I1, I2, I3,Min-support = 20% Min-confidence =70%,2020/10/7,BUPT-AI&DM,17,3. Mining Association Rules: Example 3,2020/10/7,BUPT-AI&DM,18,Min support = 4,2020/10/7,BUPT-AI&DM,19,Freq
3、uent Three-item Sets: Watch Promotion =No & Life Insurance Promotion = No & Credit Card Insurance =No 4,2020/10/7,BUPT-AI&DM,20,4. Confidence of Association Rules,For each frequent itemset l, generate all nonempty subsets of s. Confidence test: s is nonempty subset of l For s (l-s) confidence=Suppor
4、t-count(l) / support-count(s) ab cd l is abcd. s is ab, then l-s is cd. confidence = support(abcd) / support(ab),2020/10/7,BUPT-AI&DM,21,Two Possible Two-Item Set Rules,IF Magazine Promotion =Yes THEN Life Insurance Promotion =Yes (5/7) IF Life Insurance Promotion =Yes THEN Magazine Promotion =Yes (
5、5/5) ( What if “Min confidence = 80%” ?),2020/10/7,BUPT-AI&DM,22,Three-Item Set Rules,IF Watch Promotion =No & Life Insurance Promotion = No THEN Credit Card Insurance =No (4/4) IF Watch Promotion =No THEN Life Insurance Promotion = No & Credit Card Insurance = No (4/6),2020/10/7,BUPT-AI&DM,23,5. Ge
6、neral Considerations (1),Association rules are particularly popular because of their ability to find relationships in large databases without having the restriction of choosing a single dependent variable. We are interested in association rules that show a lift in product sales where the lift is the
7、 result of the products association with one or more other products. We are also interested in association rules that show a lower than expected confidence for a particular association. A good scenario is to specify an initially high value for the item set coverage criterion. If more rules are desir
8、ed, the coverage criterion can be lowered and the entire process repeated.,2020/10/7,BUPT-AI&DM,24,5. General Considerations (2) Performance Bottlenecks,The core of the Apriori algorithm: Use frequent (k 1)-itemsets to generate candidate frequent k-itemsets Use database scan and pattern matching to
9、collect counts for the candidate itemsets The bottleneck of Apriori: candidate generation Huge candidate sets: 104 frequent 1-itemset will generate 107 candidate 2-itemsets To discover a frequent pattern of size 100, e.g., a1, a2, , a100, one needs to generate 2100 1030 candidates. Multiple scans of
10、 database: Needs (n +1 ) scans, n is the length of the longest pattern,2020/10/7,BUPT-AI&DM,25,Homework,A database has 4 transactions. Let min-support =60%, min_confidence=80%. Find the longest frequent itemset(s). List all association rules that satisfy the above requirement, with supports and confidence.,TID Dateitems_bought - T10010/15/99 K, A, D, B T20010/15/99D, A, C, E, B T30010/19/99C, A, B, E T40010/22/99B, A, D,2020/10/7,BUPT-AI&DM,26,关联与分类的使用,从数据挖掘角度看,主要是选择那些置信度和支持度都比较高的准则;从业务角度看,主要是对数据挖掘挑选出的准则进行评估,从而挑选出正确的和有价值的一些交叉销售准则。 在挑选完以后,那些满足条件但没有出现“结果”的客
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 试用期员工绩效评价总结报告
- 初中英语科普阅读理解专项辅导
- 古代文学作品选择题解析与教学策略
- 小学习惯养成礼仪规范说课稿
- 高中2025寓言艺术说课稿
- 消费者权益保护案例集锦
- 2026年说课稿高中英语网课
- 小学民族团结进步宣传月活动总结
- 2026年医学英语绘本说课稿
- 小学友谊互助主题班会说课稿
- 2026中国冶金地质总局山东局校园招聘46人笔试历年参考题库附带答案详解
- 2026中共广州市海珠区委社会工作部招聘雇员1人备考题库(广东)含答案详解(完整版)
- 新22G04 钢筋混凝土过梁
- 蚂蚁集团区块链计划书
- 地下水监测井建设规范
- 全国优质课一等奖高中物理必修一《曲线运动》课件
- 产业经济学-产业组织理论
- 缺血性脑卒中的抗凝治疗课件
- 医疗器械经营监督管理办法考核试题及答案
- 艾媒咨询:2023年中国虚拟人产业发展与商业趋势研究报告
- GB/T 41888-2022船舶和海上技术船舶气囊下水工艺
评论
0/150
提交评论