Affinity propagation
What it is
Messages passed between points elect exemplars directly, so k emerges from the data.
When to use it
Small-to-medium problems where you cannot guess k and can afford an O(n^2) message-passing run.
Caveats
Needs the full pairwise similarity matrix, so time and memory grow quadratically with the number of points. The number of clusters is controlled only indirectly through the preference value, and the message passing can oscillate without damping.
Key ideas
- Chooses actual data points as cluster centres (exemplars) by passing messages between points
- Does not need the number of clusters up front; the preference value sets how many emerge
- Works from any similarity measure, not just Euclidean distance
Related architectures
Original paper
Clustering by Passing Messages Between Data Points (2007, DOI)