Closed linziyingzz closed 3 years ago
Maybe you can use the variable of n_clusters to make the number of clusters more flexible, don't use the default number in the sklearn.cluster.KMeans .
I know k-means clustering as well. In cluster analysis, the k-means algorithm can be used to partition the input data set into k clusters. Hope this could help you.
Thx! look more into k-means help solve my problem. Thx guys!
Hi~ I find some problem in the clustering module. It seems like the number of clusters are fixed and can not be changed. Also, it would be nice to make it more flexible.