GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/20810
[SPARK-20114][ML] spark.ml parity for sequential pattern mining - PrefixSpan
## What changes were proposed in this pull request?
PrefixSpan API for spark.ml.
Note: Currently there's no sequential rule mining support in
`mllib.PrefixSpan` so we cannot implement `PrefixSpanModel.transform`. In this
PR, the transform do nothing. Or we can throw out unsupport-operation
exception. I am open to both of them.
## How was this patch tested?
Testsuite added.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark prefix_span
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20810.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 #20810
----
commit 6751e70a0e38f203009caa4a7f1899fa203041fe
Author: WeichenXu <weichen.xu@...>
Date: 2018-03-13T13:07:36Z
init pr
commit c1c5338c5698bb4fa87151fd8ba5cc986e1e1466
Author: WeichenXu <weichen.xu@...>
Date: 2018-03-13T13:19:57Z
fix style
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]