VarInf: Variation of Information

View source: R/main.R

VarInfR Documentation

Variation of Information

Description

Computes the variation of information for two classification vectors.

Usage

VarInf(id1, id2)

Arguments

id1

first partitioning vector.

id2

second partitioning vector.

Value

Returns the variation of information. It is equal to 0 if and only if two classification vectors are identical.

Author(s)

Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.

References

Meila, M. (2006) “Comparing clusterings - an information based distance”, Journal of Multivariate Analysis, 98, 873-895.

See Also

ClassProp, and RandIndex.

Examples


id1 <- c(rep(1, 50), rep(2,100))
id2 <- rep(1:3, each = 50)
VarInf(id1, id2)


MixSim documentation built on Sept. 8, 2023, 5:07 p.m.

Related to VarInf in MixSim...