graphclust.validity.dunn_mst_index#
- graphclust.validity.dunn_mst_index(X, labels)[source]#
Dunn-like index with MST diameters: \(\min_{i\ne j}\delta(C_i,C_j)/\max_k\mathrm{diam}(C_k)\).
\(\delta\) is the single-linkage distance of two clusters and the diameter of a cluster is the length of the longest path in its minimal spanning tree, which is insensitive to the shape of the cluster. Larger is better; noise (
-1) is ignored.