Clustering Through the Graph Laplacian
Non-convex shapes that defeat k-means fall apart cleanly in the spectral embedding.
Controls
Perturbation added to the generating curve.
Controls how quickly similarity decays with distance.
Every result on this page is a deterministic function of the seed and the controls.
Spectral clustering
Points colored by cluster label from the graph embedding.
k-means in original space
Same points; Euclidean k-means fails on non-convex shapes.
Spectral embedding
Fiedler vector (2nd eigenvector) vs the 3rd, colored by spectral label.
Eigenvalue spectrum
Smallest eigenvalues of the normalized Laplacian; the eigengap is highlighted.
The number of near-zero eigenvalues of the normalized Laplacian is (approximately) the number of well-separated clusters in the affinity graph. A large jump — the eigengap — after the k-th eigenvalue is evidence that k clusters is the right choice; a small, ambiguous gap means the graph does not cleanly separate into k pieces.
