Sklearn Kmeans parameter confusion?
问题 So I can run sklearn kmeans as the following: kmeans = KMeans(n_clusters=3,init='random',n_init=10,max_iter=500) But I'm a little confused on what the parameters mean so n_init says: Number of time the k-means algorithm will be run with different centroid seeds. The final results will be the best output of n_init consecutive runs in terms of inertia. and max_iter says: Maximum number of iterations of the k-means algorithm for a single run. But I don't completely understand what that means. Is