K-Means Clustering Virtual Lab

Explore unsupervised learning through interactive clustering

🌟 Learn by Doing

Interactive exploration with challenges

🎯

Clustering Visualization

Watch K-means algorithm cluster data points

📍

Centroid Evolution

Track how centroids move during iterations

📊

Elbow Method

Find optimal number of clusters

🎲

Initialization Methods

Compare random vs K-means++ initialization

Interactive K-Means Clustering - Learn by Doing!

Free Exploration Mode

Watch K-means cluster data step-by-step. Try manual mode to place your own initial centroids!

Data Point
Centroid
Iteration: 0
3

Current K: 3

Statistics

Total points: 0

Iterations: 0

💡 Try This

  • Change K and see how clustering changes
  • Use manual mode to place bad initial centroids
  • Run multiple iterations to see convergence