Hi Anjali,

The main output of KMeansModel is clusterCenters which is Array[Vector]. It
has k elements where k is the number of clusters and each elements is the
center of the specified cluster.

Yanbo


2015-12-31 12:52 GMT+08:00 <anjali.gauta...@gmail.com>:

> Hi,
>
> I am trying to use kmeans for clustering in spark using python. I
> implemented it on the data set which spark has within. It's a 3*4 matrix.
>
> Can anybody please help me with how and what is orientation of data for
> kmeans.
> Also how to find out what all clusters and its members are.
>
> Thanks
> Anjali
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to