parameter beta=1 gives equal weight to homogeneity and completeness
Value
v-measure of z against truez
Details
An information based measure of similarity between two clusterings
See Also
Rosenberg, A., & Hirschberg, J. (2007, June). V-measure: A conditional entropy-based external cluster evaluation measure. In Proceedings of the 2007 joint conference on empirical methods in natural language processing and computational natural language learning (EMNLP-CoNLL) (pp. 410-420).
# NOT RUN {vmeasure(c(1,1,2,2,3,3), c(2,2,1,1,3,3)) ## 1 - doesn't care for labelsvmeasure(c(1,1,2,2,3,3), c(1,1,2,2,2,2)) ## 0.7333vmeasure(c(1,1,2,2,3,3), c(1,1,2,2,3,4)) ## 0.904# }