GitHub user kzhang28 opened a pull request:
https://github.com/apache/spark/pull/14242
Add a comment
## What changes were proposed in this pull request?
(comment added, no source code changed)
## How was this patch tested?
(unit test)
Please make sure the Kmeans input dataset does not contain duplicates,
otherwise takeSample() method may take duplicated examples, leading to runtime
exception
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kzhang28/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14242.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 #14242
----
commit 9fd8112e703c4ec06b32ebf5609e71885e9ffa14
Author: kzhang28 <[email protected]>
Date: 2016-07-17T23:03:11Z
Update SparkKMeans.scala
Please make sure the Kmeans input dataset does not contain duplicates,
otherwise takeSample() method may take duplicated examples.
commit 0c8a42685a82ad769c8d10eb5953bcac56cc4098
Author: kzhang28 <[email protected]>
Date: 2016-07-17T23:10:42Z
Update SparkKMeans.scala
----
---
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]