Home▸AI & Machine Learning▸Affinity Propagation: Clustering by Message Passing (2D)

Affinity Propagation: Clustering by Message Passing (2D)

A top-down 2D map of Affinity Propagation discovering its own exemplars and cluster count through real responsibility/availability message passing — no K chosen in advance. Drag to pan, scroll to zoom.

AI & Machine Learning2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-unsupervised-learning ↗ Open standalone

Affinity Propagation is an unsupervised clustering algorithm that discovers both its exemplars and its cluster count on its own, purely by exchanging "responsibility" and "availability" messages between every pair of points until the network settles. This top-down 2D map runs the real responsibility/availability update equations live in your browser, redrawing which points have become exemplars and which points now belong to them every frame. Live readouts track the iteration count, the number of exemplars the network has settled on, the size of the largest message change this step, and whether the assignment has converged. Drag the map to pan and scroll to zoom in on any cluster.

⚙ Under the hood

A top-down 2D map where Affinity Propagation discovers its own exemplars and cluster count through real responsibility/availability message-passing updates, with no number of clusters chosen in advance.

clusteringunsupervised learningmessage passingmachine learningexemplarbelief propagation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)