vmeasure | R Documentation |
A conditional entropy-based external cluster evaluation measure.
vmeasure(x, y, z = NULL, B = 1)
x |
A numeric vector, representing a categorical values. |
y |
A numeric vector, representing a categorical values. |
z |
A numeric matrix. A contingency table of the counts at each
combination of categorical levels. By default this argument is set to |
B |
A numeric value. If |
A list with three elements:
"v_measure"
"homogeneity"
"completeness"
Rosenberg, Andrew, and Julia Hirschberg. "V-measure: A conditional entropy-based external cluster evaluation measure." Proceedings of the 2007 joint conference on empirical methods in natural language processing and computational natural language learning (EMNLP-CoNLL). 2007.
x = c(1, 1, 1, 2, 2, 3, 3, 3, 1, 1, 2, 2, 2, 3, 3) y = c(rep(1, 5), rep(2, 5), rep(3, 5)) vmeasure(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.