- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
编程,语言,java,web,程序,软件,C++,C#,互联网,网络,电脑,hadoop,数据链,数据
Session 5: FPGrowth: A
Pattern Growth Approach
FPGrowth: Mining Frequent Patterns by Pattern Growth
Idea: Frequent pattern growth (FPGrowth)
Find frequent single items and partition the database based on each
such item
Recursively grow frequent patterns by doing the above for each
partitioned database (also called conditional database)
To facilitate efficient processing, an efficient data structure, FP-tree, can
be constructed
Mining becomes
Recursively construct and mine (conditional) FP-trees
Until the resulting FP-tree is empty, or until it contains only one path—
single path will generate all the combinations of its sub-paths, each of
which is a frequent pattern
2
Example: Construct FP-tree from a Transational DB
TID Items in the Transaction Ordered, frequent items
100 {f, a, c, d, g, i, m, p} {f, c, a, m, p }
200 {a, b, c, f, l, m, o} {f, c, a, b, m }
300 {b, f, h, j, o, w} {f, b }
400 {b, c, k, s, p} {c, b, p}
500 {a, f, c, e, l, p, m, n} {f, c, a, m, p } {}
1. Scan DB once, find single item frequent Header Table
pattern: Let min_support = 3 Item Frequency header f:4 c:1
f:4, a:3, c:4, b:3, m:3, p:3 f 4 c:3 b:1 b:1
2. Sort frequent items in frequency c 4
descending order, f-list
您可能关注的文档
- hadoop数据分析平台-Hadoop_v3_9.pdf
- hadoop数据分析平台-Hadoop_v3_10.pdf
- hadoop数据分析平台-Hadoop_v3_11.pdf
- hadoop数据分析平台-Hadoop_v3_12.pdf
- hadoop数据分析平台-Hadoop_v3_13.pdf
- hadoop数据分析平台-Hadoop_v3_14.pdf
- hadoop数据分析平台-Hadoop_v3_15.pdf
- hadoop数据分析平台-Hadoop_v3_16.pdf
- hadoop数据分析平台-Hadoop_v3_17.pdf
- Map-Reduce原理、体系架构和工作机制,Hadoop流,M-R编程实战,eclipse与Hadoop集群连接Hadoop_v3_05.pdf
文档评论(0)