Description Usage Arguments Details Value Examples
Calculate the Error Rate of a partition
1 2 | error.rate(clust1,clust2)
rand.index(LabelA,LabelB)
|
clust1 |
An integer vector of cluster label 1 |
clust2 |
An integer vector of cluster label 2 |
LabelA |
An integer vector of the true membership labels |
LabelB |
An integer vector of the predicted labels |
clust1 and clust 2 must match, i.e, same number of clusters
error.rate gives Error Rate
1 2 3 4 | clu1<-c(1,2,3,1,1,2,2,3,3)
clu2<-c(2,2,2,1,1,1,3,3,3)
error.rate(clu1, clu2)
rand.index(clu1, clu2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.