getCouple: getCouple

Description Usage Arguments Value Author(s) References Examples

View source: R/interfaces.R

Description

computes classification error function described in references, a.k.a couple error. In brief, evaluates how elements are gathered similarly, irrespectively of exact label values (adapted to clustering).

Usage

1
getCouple(vec1, vec2)

Arguments

vec1

vector of numeric labels.

vec2

vector of numeric labels.

Value

classification error in [0,1].

Author(s)

Pierrick Bruneau

References

Fowlkes, E. B. and Mallows, C. L. (1983) _A method for comparing two hierarchical clusterings_, J. Am. Stat. Assoc., Volume 78, Pages 553-569.

Picarougne, F. ,Azzag, H., Venturini, G. and Guinot, C. (2007) _A new approach of data clustering using a flock of agents_, Evolutionary Computation, Volume 15, Number 3, Pages 345-367.

Examples

1
2
temp <- EM(irisdata, 4)
getCouple(temp$labels, irislabels)

VBmix documentation built on May 30, 2017, 2:34 a.m.

Related to getCouple in VBmix...