ARI: Adjusted Rand Index.

Description Usage Arguments Details Value Author(s) References Examples

Description

Compares two classifications using the adjusted Rand index (ARI).

Usage

1
ARI(x=NULL, y=NULL)

Arguments

x

A n dimensional vector of class labels.

y

A n dimensional vector of class labels. .

Details

The ARI has expected value 0 in case of random partition, it is equal to one in case of perfect agreement..

Value

The adjusted Rand index value

Author(s)

Cristina Tortora Maintainer: Cristina Tortora <ctortora@mcmaster.ca>

References

L. Hubert and P. Arabie (1985) Comparing Partitions, Journal of the Classification 2:193-218.

Examples

1
2
3
4
5
6
7
8
##loading crabs data
data(banknote)

##model estimation
res=MGHD(data=banknote[,2:7],  G=2   )

#result
ARI(res$model$map, banknote[,1])

MixGHD documentation built on May 2, 2019, 5:49 p.m.

Related to ARI in MixGHD...