Make sure that the steps of the k-means algorithm are in the correct order.
K-Means
Step by step
Report a typo
Put the items in the correct order
Assign all the points to clusters by finding the closest centroid
Place K clusters centroids (the middle of a cluster) in random places
Choose the number of clusters (K)
Recompute the centers of the clusters
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.