The idea
Key formulas
Within-cluster sum of squares
Loading lessons…
Just a moment, getting everything ready. The first load can take up to a minute.
Machine learning
Step through nearest-centroid assignments and mean updates on seeded points.
K-means alternates between assigning each point to its nearest center and moving each center to its assigned points’ mean.