GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/22087
[SPARK-25097][Support prediction on single instance in KMeans/BiKMeans/GMM]
Support prediction on single instance in KMeans/BiKMeans/GMM
## What changes were proposed in this pull request?
expose method `predict` in KMeans/BiKMeans/GMM
## How was this patch tested?
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark clu_pre_instance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22087.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 #22087
----
commit f6cbb46f46f039d6168de382a18018a37e0e3ee7
Author: zhengruifeng <ruifengz@...>
Date: 2018-08-13T06:10:35Z
init
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]