Clustering & Discovery

Unsupervised learning: find natural groups when nobody labeled the data.

K-Means in plain English

  1. Pick K cluster centers (centroids).
  2. Assign each point to the nearest centroid.
  3. Move each centroid to the average of its points.
  4. Repeat until stable.

Use case: segment customers by spend and visits without pre-defined segments.

K-Means Visualizer

Iteration: 0

Watch centroids (X) pull toward their clusters.