Scaler specifying how closely two partitions agree.
Arguments
cls
A numeric or character vector of labels.
hat_cls
A numeric or character vector of labels same length as cls.
Details
Measures the agreement between two sets of partitions.
The upper bound of 1 implies perfect agreement.
The expected value is zero if the partitions are random.
References
Hubert L, and Arabie P (1985). Comparing Partitions.
Journal of the Classification2, 193--218.