adjrand

Computes the adjusted Rand Index that compares two partitions.

Input Arguments:

Two vectors of size n, indicating the group or cluster membership from each grouping. These vectors can be obtained from MATLAB functions such as kmeans or cluster.

Output Arguments:

Scalar value for the adjusted Rand Index.

Synopsis

ari = adjrand(p1,p2);

Notes

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.


EDA Toolbox: Contents