Okay. Thanks.
I already did that and wanted to check whether is there any other method to extract it from the model itself. Thanks again for the help.

On Thu, Aug 20, 2015 at 8:39 PM, Robin East <robin.east@xense.co.uk> wrote:
There is no cluster radius method on the model returned from K-means. You’ll need to roll it yourself by generating the distance from each point in the cluster to the cluster center itself and then take the max.

Robin East
Spark GraphX in Action Michael Malak and Robin East
Manning Publications Co.

On 20 Aug 2015, at 07:14, ashensw <ashen@wso2.com> wrote:

We can get cluster centers in K means clustering. Like wise is there any
method in spark to get the cluster radius?

View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-get-the-radius-of-clusters-in-spark-K-means-tp24353.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org

Ashen Weerathunga
Software Engineer - Intern
WSO2 Inc
.: http://wso2.com

Mobile: +94 716042995
LinkedIn: http://lk.linkedin.com/in/ashenweerathunga