-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When initializating kmeans, you should be able to choose if you want the initial centroids to be random or #6, or if you want to set your own initial centroids. Keep in mind that If an array is passed, it should be of shape (n_clusters, n_features) and gives the initial centers or else raise an exception.
https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html.
Adding this feature would be helpful in testing that empty clusters are relocated as expected if you give one initial centroid that is far from the data which means that a cluster will be empty on the first iteration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels