Skip to content
/ GSP Public

借鉴了A-Priori算法的序列模式挖掘

Notifications You must be signed in to change notification settings

Peidon/GSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Grab Sequence Pattern

  • Firstly, run com.test.GenTestdata.java, which generate the test.txt; test.txt contains 10000 rows number Sequences.
  • Secondly, run com.test.Test.java;
  • Then, you can see the results.

算法思想

  • 考虑从 N - 1 项序列得到 N 项,须找出两个长度为 N - 1的序列 A 和 B,去掉 A 的第一个元素,去掉 B 的最后一个元素,得到两个序列完全一样,那么可以把原来 B 的最后一项加到原来的 A 的末尾,得到新的长度为 N 的序列

About

借鉴了A-Priori算法的序列模式挖掘

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages