Rand index
Rand index is a measure of the similarity between the two data clusterings. From a mathematical standpoint, Rand index is related to the accuracy, but is applicable even when class labels are not used. The measure was introduced in
Lawrence Hubert and Phipps Arabie (1985). Comparing partitions. Journal of Classification 2 (1): 193–218
See also:
Meila, Marina (2003). Comparing Clusterings by the Variation of Information. Learning Theory and Kernel Machines: 173–187.
Clustering.randindex
— Function.randindex(c1, c2)
Compute the tuple of Rand-related indices between the clusterings c1
and c2
.
The clusterings could be either point-to-cluster assignment vectors or instances of ClusteringResult
subtype.
Returns a tuple of indices:
- Hubert & Arabie Adjusted Rand index
- Rand index
- Mirkin's index
- Hubert's index