What does the Calinski-Harabasz index measure?
Last updated
The Calinski-Harabasz index is the ratio of between-cluster to within-cluster dispersion, adjusted for degrees of freedom: [tr(B)/(k−1)] / [tr(W)/(n−k)]. Higher means dense, well-separated clusters.
It is fast, needs no labels (
calinski_harabasz_score), and is used to pick k by looking for a peak.It favors convex, spherical (k-means-like) clusters, is misleading for density-based shapes, and is undefined for k = 1.