Rand Index to Compare Two Partitions. These partitions could come from methods such as kmeans or model-based
clustering.
ri = randind(P1,P2)
Everitt, B. S., S. Landau, and M. Leese. 2001. Cluster Analysis, Fourth Edition, New York: Edward Arnold Publishing.
Rand, William M. 1971. “Objective criteria for the evaluation of clustering methods,” Journal of the American Statistical Association, 66:846-850.