GitHub user wangmiao1981 opened a pull request:
https://github.com/apache/spark/pull/16523
[SPARK-19142][SparkR]:spark.kmeans should take seed, initSteps, and tol as
parameters
## What changes were proposed in this pull request?
spark.kmeans doesn't have interface to set initSteps, seed and tol. As
Spark Kmeans algorithm doesn't take the same set of parameters as R kmeans, we
should maintain a different interface in spark.kmeans.
Add missing parameters and corresponding document.
Modified existing unit tests to take additional parameters.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangmiao1981/spark kmeans
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16523.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 #16523
----
commit 8379018ad2c40818da2c6d4bd950ab62dc0eedf4
Author: [email protected] <[email protected]>
Date: 2017-01-09T23:50:36Z
take additional parameters for spark.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]