powered by
Calculate the Adjusted Rand Index between two clusterings
ARI(z, truez)
input vector
reference vector
Adjusted Rand Index of z against truez
z
truez
# NOT RUN { ARI(c(1,1,2,2,3,3), c(2,2,1,1,3,3)) ## 1 - doesn't care for labels ARI(c(1,1,2,2,3,3), c(1,1,1,1,2,2)) ## 0.444 # }
Run the code above in your browser using DataLab