Computes the adjusted Rand index to compare two altenative partitions of the same set.
the vector containining the class labels of the first partition.
the vector containining the class labels of the second partition.
The adjusted Rand index is a correction of the Rand index that measures the similarity between two classifications of the same objects by the proportions of agreements between the two partitions. The correction is obtained by subtracting from the Rand index its expected value.
A numeric vector of length 1.
L. Hubert and P. Arabie (1985) Comparing partitions, Journal of Classification, 2, 193-218.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.