Skip to content

Commit 300a566

Browse files
author
linyiqun
committed
FP树算法挖掘频繁项集的实现
FP树算法挖掘频繁项集的实现
1 parent 7056cd3 commit 300a566

File tree

4 files changed

+569
-0
lines changed

4 files changed

+569
-0
lines changed

DataMining_FPTree/Client.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package DataMining_FPTree;
2+
3+
/**
4+
* FPTree频繁模式树算法
5+
* @author lyq
6+
*
7+
*/
8+
public class Client {
9+
public static void main(String[] args){
10+
String filePath = "C:\\Users\\lyq\\Desktop\\icon\\testInput.txt";
11+
//最小支持度阈值
12+
int minSupportCount = 2;
13+
14+
FPTreeTool tool = new FPTreeTool(filePath, minSupportCount);
15+
tool.startBuildingTree();
16+
}
17+
}

0 commit comments

Comments
 (0)