Skip to content

Commit 56f2363

Browse files
author
linyiqun
committed
序列模式分析算法
序列模式分析算法
1 parent c011a1a commit 56f2363

File tree

5 files changed

+790
-0
lines changed

5 files changed

+790
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package DataMining_GSP;
2+
3+
/**
4+
* GSP序列模式分析算法
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+
int min_gap = 1;
15+
//施加最大间隔
16+
int max_gap = 5;
17+
18+
GSPTool tool = new GSPTool(filePath, minSupportCount, min_gap, max_gap);
19+
tool.gspCalculate();
20+
}
21+
}

0 commit comments

Comments
 (0)