版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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年及答案招聘模拟试题及答案
- 计算机办公软件操作员(中级)资格考试(Excel数据计算)模拟试题及答案
- 计算机等级考试人工智能应用模拟试题及答案
- 诺招聘考模拟试题及参考答案
- 2026年皮肤性病学模拟试卷带答案
- 云南交投集团招聘笔试真题汇编库2026
- 颈动脉狭窄的综合干预策略
- 2026年高校思政教育理论与实践综合模拟试卷(含答案)
- (新教材)人教版小学数学六年级上册体育中的数学《确定主题》教学课件
- 2026网约车驾驶员从业资格考试题库(完整版+详细答案解析)
- 储罐呼吸阀选型自动计算表(带公式自动计算版)
- 老年患者的全面评估与护理
- 2025旅游景区质量等级评分细则
- 人间共鸣二部合唱简谱
- 保安服务档案管理制度
评论
0/150
提交评论