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
getCouple(vec1, vec2)
Arguments
vec1
vector of numeric labels.
vec2
vector of numeric labels.
Value
classification error in [0,1].
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.