Mean shift
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)