GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/9207
[SPARK-11171][SPARK-11237][SPARK-11241][ML][WIP] Try adding PMMLExportable
to ML with KMeans
Add PMMLExportable to ML & use it for KMeans in ML pipeline. This is a bit
different than the PMMLExportable in MLLib since the default trait doesn't go
through a factory but instead depends on the model implementing it itself (and
at the start that will mostly just be calling the parent model's method).
Still a WIP but wanted to see if anyone had comments about the slight
change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-11171-SPARK-11237-Add-PMML-export-for-ML-KMeans
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9207.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 #9207
----
commit 368879f7221cba9be8b5537aba67b30062c525d5
Author: Holden Karau <[email protected]>
Date: 2015-10-21T23:26:01Z
Try adding PMMLExportable to ML with KMeans
----
---
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]