intuitiveai

K-Means Clustering

K-Means Clustering

Unsupervised grouping of data points.

For a small example, six coordinates form two visible groups. Choose initial centers, assign by distance, recompute means, and repeat until assignments stop changing.

In practice

Customers differ in frequency, value, and recency. Scale features, compare k with stability and domain usefulness, inspect centroids, and avoid treating clusters as natural truth.

Initializing Interactive Playground...

Experiment notes

Record your experiment

Predict which centroid the outlined point will join and where that centroid will move.

Feedback & sharing

Helpful?