-
- Downloads
[SPARK-6487] [MLLIB] Add sequential pattern mining algorithm PrefixSpan to Spark MLlib
Add parallel PrefixSpan algorithm and test file. Support non-temporal sequences. Author: zhangjiajin <zhangjiajin@huawei.com> Author: zhang jiajin <zhangjiajin@huawei.com> Closes #7258 from zhangjiajin/master and squashes the following commits: ca9c4c8 [zhangjiajin] Modified the code according to the review comments. 574e56c [zhangjiajin] Add new object LocalPrefixSpan, and do some optimization. ba5df34 [zhangjiajin] Fix a Scala style error. 4c60fb3 [zhangjiajin] Fix some Scala style errors. 1dd33ad [zhangjiajin] Modified the code according to the review comments. 89bc368 [zhangjiajin] Fixed a Scala style error. a2eb14c [zhang jiajin] Delete PrefixspanSuite.scala 951fd42 [zhang jiajin] Delete Prefixspan.scala 575995f [zhangjiajin] Modified the code according to the review comments. 91fd7e6 [zhangjiajin] Add new algorithm PrefixSpan and test file.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/fpm/LocalPrefixSpan.scala 113 additions, 0 deletions...in/scala/org/apache/spark/mllib/fpm/LocalPrefixSpan.scala
- mllib/src/main/scala/org/apache/spark/mllib/fpm/PrefixSpan.scala 157 additions, 0 deletions...rc/main/scala/org/apache/spark/mllib/fpm/PrefixSpan.scala
- mllib/src/test/scala/org/apache/spark/mllib/fpm/PrefixSpanSuite.scala 120 additions, 0 deletions...st/scala/org/apache/spark/mllib/fpm/PrefixSpanSuite.scala
Please register or sign in to comment