spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suman Somasundar <suman.somasun...@oracle.com>
Subject Restricting the number of iterations in Mllib Kmeans
Date Thu, 14 May 2015 19:05:57 GMT
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 the initial set of centroids to the program instead
of it choosing the centroids in random?

 

Thanks,
Suman.

Mime
View raw message