Labs / Computer Science

K-Means Clustering

Pick how many clusters you want, then hit Step (or let it auto-run) to watch the algorithm work. Every round each point recolors to its nearest centroid, and every centroid slides to the average position of the points that chose it — repeat until nothing moves. Click empty space to drop in your own points.

iter 0inertia 0.0sizes

What to try