Hash Trees

An Hash tree stores all candidate k-itemsets and their counts. The root is empty and its children are the frequent 1-itemsets. Any node at depth = k will denote and frequent k-itemset. An example for an hash tree for C2 = 12, 13, 15, 23, 25, 35 is shown below

    An internal node v at level m contains, bucket pointers. These tell which branch is the next one to be traversed. The hash of the mth item is used to decide this.

 
Join step using Hash Tree

Only the frequent  k-1 itemsets, who have common parents should be considered for the joining step. So checking all k-1 itemsets in Lk-1is avoided.

Prune step using Hash Tree

To determine if a k-1 itemset is frequent, we have to look only for those itemsets who have common parents, and thus avoid going through all k-1 itemsets in Lk-1.

Added advantages of Hash Trees
bullet

Enumeration is replaced by tree traversal, i.e. there is no need to enumerate all k-subsets of transactions. Such considerations are limit by tree traversal.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值