Python, Machine Learning, Clustering, K Means, Sklearn.
A common choice is to set n_init=10. A higher value can be used if the algorithm is prone to get stuck in a local minimum. max_iter is the maximum number of iterations for a single run. 300 is a good choice for start. tolis the tolerance with regard to the changes in the within-cluster sum of