Mean shift

Clustering · classical · 1975 · images · tabular

What it is

Each point climbs the gradient of the local density estimate until it lands on a mode; modes are the clusters.

When to use it

Image segmentation and colour clustering where the number of modes is discovered, not given.

Caveats

The bandwidth controls everything and is hard to choose: too small fragments clusters, too large merges them. Each iteration compares every point with every other, so it is slow on large datasets, and it works poorly in high dimensions.

Key ideas

  • Moves each point uphill on a kernel density estimate until it reaches a peak
  • Each density peak becomes a cluster, so the number of clusters is not set in advance
  • One parameter: the kernel bandwidth

Related architectures

Original paper

The estimation of the gradient of a density function, with applications in pattern recognition (1975, DOI)

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