GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/7869
[SPARK-9527] [MLLIB] add PrefixSpanModel and make PrefixSpan Java friendly
1. Use `PrefixSpanModel` to wrap the frequent sequences.
2. Define `FreqSequence` to wrap each frequent sequence, which contains a
Java-friendly method `javaSequence`
3. Overload `run` for Java users.
4. Added a unit test in Java to check Java compatibility.
@zhangjiajin @feynmanliang
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-9527
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7869.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7869
----
commit 4345594a862c465e55b76216efd8f2ca003f2611
Author: Xiangrui Meng <[email protected]>
Date: 2015-08-02T15:52:02Z
add PrefixSpanModel and make PrefixSpan Java friendly
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]