maxIter or initSteps? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

maxIter or initSteps?

I use from pyspark.ml.clustering import KMeans library to do KMeans clustering. I want to ensure that the clusters move only 10 times and no more than 10 times. Which parameter should I use for this? For me, I think it should be maxIter=10, but not sure. Which one is the best? maxIter=10 or initSteps=10

14th Sep 2017, 9:24 AM
Sura Wankam
1 Answer
0
hi can anyone give me a proper answer?
15th Sep 2017, 8:22 AM
Sura Wankam