Hi Suman Meethu,
Apologies---I was wrong about KMeans supporting an initial set of
centroids! JIRA created: https://issues.apache.org/jira/browse/SPARK-8018
If you're interested in submitting a PR, please do!
Thanks,
Joseph
On Mon, Jun 1, 2015 at 2:25 AM, MEETHU MATHEW meethu2...@yahoo.co.in
Hi Suman,
For maxIterations, are you using the DenseKMeans.scala example code? (I'm
guessing yes since you mention the command line.) If so, then you should
be able to specify maxIterations via an extra parameter like
--numIterations 50 (note the example uses numIterations in the current
master
Hi,I think you cant supply an initial set of centroids to kmeansĀ Thanks
Regards,
Meethu M
On Friday, 15 May 2015 12:37 AM, Suman Somasundar
suman.somasun...@oracle.com wrote:
!--#yiv5602900621 _filtered #yiv5602900621 {font-family:Cambria
Math;panose-1:2 4 5 3 5 4 6 3 2 4;}
Hi,,
I want to run a definite number of iterations in Kmeans. There is a command
line argument to set maxIterations, but even if I set it to a number, Kmeans
runs until the centroids converge.
Is there a specific way to specify it in command line?
Also, I wanted to know if we can supply