GitHub user evanyc15 opened a pull request:
https://github.com/apache/spark/pull/8967
[SPARK-10779][PYSPARK][MLLIB] Set initialModel for KMeans model in PySpark
(spark.mllib)
Provide initialModel param for pyspark.mllib.clustering.KMeans
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/evanyc15/spark SPARK-10779-pyspark-mllib
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8967.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 #8967
----
commit 3287f2a52410357cb75064e03d2a39e2eb1317d3
Author: Evan Chen <[email protected]>
Date: 2015-09-30T01:17:09Z
Modified PythonMMLLibAPI to set initialModel for KMeansModel in PySpark
commit ce2e972bbfb1fd899dce4ca7b35aa486f96facce
Author: Evan Chen <[email protected]>
Date: 2015-09-30T20:38:09Z
Added if statements for type checking
commit 45780d3f7d335b1449528835401022fbf2b1b345
Author: Evan Chen <[email protected]>
Date: 2015-09-30T22:23:12Z
Working on Doctests now
commit d2380ac11c26d6848889f83321f1703e31efdbf1
Author: Evan Chen <[email protected]>
Date: 2015-10-02T19:36:32Z
Doctests written, ready for pull request
----
---
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]