算法2:准反常项集挖掘算法 | ||||
| 输入:数据集D的垂直数据表示形式 ,提升度阈值 ,更正操作数量k | |||
| 输出:准反常项集QAbNI | |||
1 | procedure | |||
2 |
|
| ||
3 |
| for all occurring in in reverse order do//depth-first search | ||
4 |
|
| //expanding the itemset N | |
5 |
|
| if then | |
6 |
|
| if not isGenerator(N) then | |
7 |
|
|
| continue |
8 |
|
| storeGenerator(N) | |
9 |
|
| if and then | |
10 |
|
|
| if a subset of N has been pruned then |
11 |
|
|
| continue |
12 |
|
|
| if then |
13 |
|
|
|
|
14 |
|
|
| If then |