版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026商讨财政保险行业市场发展分析及发展趋势与投资前景研究报告
- 2026中国新能源汽车电池材料行业市场供需分析投资布局规划研究报告
- 2026汽车保险杠制造行业市场供需动态商业品牌规划研究报告
- 2026 年台风不同阶段居家防护要点科普宣传
- 2026梯度科技面试题及答案
- 2026及未来5年中国单面厚卡纸数据监测研究报告
- 2026及未来5年中国十字AB锁锁芯数据监测研究报告
- 2026事业单位工勤技能-广东-广东检验员一级(高级技师)历年参考题库含答案详解3套试卷
- 2026事业单位工勤技能-山西-山西水土保持工五级(初级工)历年参考题库含答案详解3套试卷
- 2026事业单位工勤技能-宁夏-宁夏医技工四级(中级工)历年参考题库含答案详解3套试卷
- 2026年作风建设年研讨发言材料-强化责任担当、认真履职尽责,抓好作风建设
- 丹东施工方案
- 沪教版初中英语八年级上册Unit 2 Amazing Numbers语法教案
- 2026年江苏省省属事业单位统一公开招聘《综合知识和能力素质》真题
- 2026浙江省空港融资租赁有限公司招聘1人笔试备考题库及答案详解
- 宿舍管理员安全工作全流程培训
- 《3~6岁儿童学习与发展指南》考试题库及答案2026年
- 寄宿制学校学生一日常规要求
- 2026北京亦庄恒达人力资源服务中心面向社会招聘劳务派遣人员7人考试备考试题及答案解析
- 高中英语3500词汇完整
- 髌骨软化症康复
评论
0/150
提交评论