Watch the K-Means algorithm assign points to clusters and move centroids step by step
How to Use
1. Click "Generate Data" to create random clusters.
2. Select K (number of clusters) and click "Initialize" to place centroids.
3. Click "Step" to run one iteration, or "Auto Run" to animate.
4. Watch points get colored by assignment and centroids converge.