Drop data points onto a canvas, choose K, and watch the K-Means algorithm magically group them into clusters โ step by step, iteration by iteration!
Pick K random "centroid" points โ one for each cluster you want to find.
Colour every data point by its nearest centroid โ that's its cluster!
Shift each centroid to the average position of all points in its cluster.
Keep assigning & moving until centroids stop moving โ that's convergence!
You ran K-Means clustering and used the Elbow Method. Enter your name for your certificate!
Unlike classification, clustering finds patterns in data without any predefined categories or labels.
A centroid is the mathematical average position of all points in a cluster. It moves each iteration.
Within-Cluster Sum of Squares. Measures how spread out points are within each cluster.
Plot inertia for K=1..8. The "elbow" bend shows where adding more clusters gives diminishing returns.
K-Means converges when centroids stop moving โ the clusters have stabilised into a final answer.
Spotify playlists, customer groups, image compression, medical diagnosis, news grouping, and more!