Machine Learning Concept

K-Means Clustering

Drag the centroids, then step — points recolor to the nearest one and centroids drift to the middle.

k
x₁ x₂
iteration
0
clusters k
3
inertia (Σ dist²)
state
place the seeds
tip: grab a centroid and drop it, then hit Step
kmeans.py