You can predict and then zip it with the points RDD to get approx. same as
LP.
Cheers
<k/>

On Thu, May 21, 2015 at 6:19 PM, anneywarlord <[email protected]>
wrote:

> Hello,
>
> New to Spark. I wanted to know if it is possible to use a Labeled Point RDD
> in org.apache.spark.mllib.clustering.KMeans. After I cluster my data I
> would
> like to be able to identify which observations were grouped with each
> centroid.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Kmeans-Labeled-Point-RDD-tp22989.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to