K-Means

Partitions observations into k groups by minimizing within-cluster squared Euclidean distance.

Method

Initialize centroids; assign each point to nearest centroid; recompute means; repeat until stable.

Applications

Customer segmentation, document grouping, image quantization, portfolio regimes.

Advantages

Simple, scalable, easy to explain.

Limitations

Requires k; favors spherical similar-sized clusters; sensitive to scaling and outliers.

Alternatives

Gaussian mixtures, k-medoids, hierarchical clustering, DBSCAN.

Example

Customers into 3 segments by spend/frequency.

Sources

Educational reference only, not professional advice.

All algorithms