GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/20907
[WIP][SPARK-11237][ML] Add pmml export for k-means in Spark ML
## What changes were proposed in this pull request?
Adding PMML export to Spark ML's KMeans Model.
## How was this patch tested?
New unit test for Spark ML PMML export based on the old Spark MLlib unit
test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-11237-Add-PMML-Export-for-KMeans
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20907.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 #20907
----
commit 4431407de2f2138ffe054ef31ea4306c6bb32577
Author: Holden Karau <holden@...>
Date: 2018-03-26T18:47:13Z
Switch KMeans to GeneralMLWriter and add the internal writer.
commit 25d6f77c6700c45925f68ee044fa7d136e83b37e
Author: Holden Karau <holden@...>
Date: 2018-03-26T19:08:46Z
Add PMML export for KMeans model
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]