GitHub user pippobaudos opened a pull request:
https://github.com/apache/spark/pull/5875
Update SparkKMeans.scala
With the previous syntax it could look like that the reduceByKey sums
separately longitudes and latitudes of some 2D points. Perhaps in this way
should be easier to understand.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pippobaudos/spark patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5875.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 #5875
----
commit 2c2a7a28ac26b58d89359e52a82b7d72f22b387f
Author: Niccolo Becchi <[email protected]>
Date: 2015-05-03T23:45:08Z
Update SparkKMeans.scala
With the previous syntax it could look like that the reduceByKey sums
separately longitudes and latitudes of some 2D points. Perhaps in this way
should be easier to understand.
----
---
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]