powered by
Calculates an adjusted for chance Rand index.
ARI(x,y)
predictor class memberships
true class memberships
Nik Pocuca, Ryan P. Browne and Paul D. McNicholas.
Maintainer: Paul D. McNicholas <mcnicholas@math.mcmaster.ca>
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