powered by
Calculates an adjusted for chance Rand index.
ARI(x,y)
Hubert, L. and P. Arabie (1985). Comparing partitions. Journal of Classification 2(1), 193-218.
x <- sample(1:10, size = 100, replace = TRUE) y <- sample(1:10, size = 100, replace = TRUE) ARI(x,y)
Run the code above in your browser using DataLab