Description Usage Arguments Value References See Also Examples
Calculate Purity measuring the mutual dependence between two clustering labels.
1 | Purity(x, y)
|
x |
A vector of the predicted class labels |
y |
A vector of the true class labels. The length of |
This function returns Purity between two label vectors x
and y
.
Manning2008informationMKKC
1 2 3 4 5 6 7 8 9 10 | # true label
x <- rep(1:3, each = 10)
# predicted label
y <- sample(x)
# compare x and y
AdjRandIndex(x, y)
NormMI(x, y)
Purity(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.