Re: Kmeans: set initial centers explicitly

2014-07-27 Thread Xiangrui Meng
I think this is nice to have. Feel free to create a JIRA for it and it
would be great if you can send a PR. Thanks! -Xiangrui

On Thu, Jul 24, 2014 at 12:39 PM, SK skrishna...@gmail.com wrote:

 Hi,

 The mllib.clustering.kmeans implementation supports a random or parallel
 initialization mode to pick the initial centers. is there a way to specify
 the initial centers explictly? It would be useful to have a setCenters()
 method where we can explicitly specify the initial centers. (For e.g. R
 allows us to specify the initial centers.)

 thanks



 --
 View this message in context: 
 http://apache-spark-user-list.1001560.n3.nabble.com/Kmeans-set-initial-centers-explicitly-tp10609.html
 Sent from the Apache Spark User List mailing list archive at Nabble.com.


Kmeans: set initial centers explicitly

2014-07-24 Thread SK

Hi,

The mllib.clustering.kmeans implementation supports a random or parallel
initialization mode to pick the initial centers. is there a way to specify
the initial centers explictly? It would be useful to have a setCenters()
method where we can explicitly specify the initial centers. (For e.g. R
allows us to specify the initial centers.)  

thanks



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Kmeans-set-initial-centers-explicitly-tp10609.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.