DM_99期末考题库.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
DM_99期末考题库

1. A database has five transactions. Let min_sup=60% and min_conf=75%. Table 3 TID DATE ITEMS_BOUGHT T1 11/01/07 A, B, C, E, T2 11/02/07 A, B, D, F T3 11/03/07 A, C, E, G T4 11/04/07 A, B, C, D, F G T5 11/05/07 A, B, C, D, G (3%) Find all frequent itemsets using Apriori method. (3%) List all of the strong association rules (with support s and confidence c) matching the following metarule, where X is a variable representing customers and itemi denotes variables representing items (e.g., “A”, “B”, etc.): (6%) Establish the FP-tree and find out the “Conditional Pattern Base”, “Conditional FP-tree” and “Frequent Patterns Generated” for item D. Ans: (a) (b) Sup min=60% Conf min=75% buys(x,item1) ^ buys(x,item2)=buys(x,item) AB=C(60%,75%) AC=G (60%,75%) AC=B(60%,75%) AG=C(60%,100%) BC=A(60%,100%) CG=A(60%,100%) AB=D(60%,75%) AD=B(60%,100%) BD=A(60%,100%) 以上條件皆會成立ys(x,item1) ^ buys(x,item2)=buys(x,item) (c) FP-Tree A:5 B:4 C1 C:3 D:1 G:1 D:2 G:2 Conditional pattern bases (support = 3) Item Conditional pattern base Conditional FP-Tree Frequent patterns generated B {A : 4} {A : 4} {A,B : 4} C {A,B:3},{A:1} {AB : 3} {A,B,C : 3} D {A,B,C : 2},{A,B : 1} {AB : 3} {A,B,D : 3} G {A,B,C,D : 2},{A,C : 1} {AC : 3} {A,C,G : 3} FP-Tree for item D A:3 B:3 C:2 Item D的Frequent Patterns: {A,B,D }( {A,D},{B,D},{D} 2. (4%) Given the following large (frequent) 3-itemsets: 1 2 4 1 2 5 1 3 4 1 3 5 2 3 4 2 3 5 2 4 5 3 4 5 Find the candidate 4-itemsets according to the apriori-generate algorithm. Find the candidate 4-itemsets after pruning. Ans: (a)1245、1345、2345 (b)1245=124、125、245、145(x) = prune沒有145,所以不是Candidate 1345=134、135、145(x)、345= prune沒有145,所以不是Candidate 2345=234、235、345、245= keep。只有2345沒有被Pruning掉。 3. (4 %) Given the following large 3-sequences: 1 2

文档评论(0)

yan698698 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档