Description Usage Arguments Value References See Also
Calculates the Rand Index of Rand (1971) to compare two cluster assignment vectors (external cluster validation). It is a value in (0,1], higher values indicating more similarity. The index can be corrected for similarity by chance as proposed by Hubert and Arabie (1985), then also possibly yielding negative results (if the similarity is worse than random assignment) while the maximum is still 1 (and values are usually positive).
1 | randIndex_fast(pairCVIParams, normalize = FALSE)
|
pairCVIParams |
Output of |
normalize |
Should the Rand Index be corrected for chance? (Adjusted Rand Index as proposed by Hubert and Arabie (1985)) |
The (Adjusted) Rand Index as double (at most 1 for identical clusterings, normal Rand Index greater than zero, adjusted one can also be negative).
Hubert, L. & Arabie, P. (1985). Comparing partitions. Journal of classification,2(1), 193-218.
Rand, W. M. (1971). Objective criteria for the evaluation of clustering methods. Journal of the American Statistical association, 66(336), 846-850.
Wu, J., Xiong, H. & Chen, J. (2009). Adapting the right measures for k-means clustering. In Proceedings of the 15th acm sigkdd international conference on knowledge discovery and data mining (pp. 877-886). ACM.
Other External Cluster Validity Indices: conditionalEntropy_fast
,
fowlkesMallows_fast
,
pairCVIParameters_fast
,
phi_fast
, purity_fast
,
vanDongen_fast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.