<< Statistics Statistics corrmat >>

fact >> Statistics > arand_index

arand_index

calculates the adjusted Rand index for two classifications

Calling sequence

ri = arand_index(c1,c2);

Arguments

c1:

a conjunctive vector describing a classification

if k classes have been identified, the elements of c1 are chosen among the k first integers

c2:

a conjunctive vector describing a classification

if k classes have been identified in c1, the elements of c2 are also chosen among the k first integers

ri:

the adjusted Rand index; a scalar between 0 and 1

Examples

ri=arand_index(c1,c2)

Authors


Report an issue
<< Statistics Statistics corrmat >>