k-means

Clustering · classical · 1967 · tabular · signals · images

What it is

Alternates between assigning points to the nearest centroid and recomputing centroids until it settles.

When to use it

Compact, roughly spherical clusters; vector quantization and codebook construction.

Caveats

Never use it blindly on high-dimensional embeddings — distance loses meaning there.

Key ideas

  • k-means++ initialization is worth more than any other tweak
  • It assumes equal variance and balanced sizes

Related architectures

Original paper

Some methods for classification and analysis of multivariate observations (1967, publisher)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted