Description Usage Arguments Value Note Author(s) References Examples
Compute the classification error rate of two partitions.
1 |
ind |
Vector, containing the cluster labels of each case of a partition 1. |
true.ind |
Vector, containing the cluster labels of each case of a partition 2. |
nob |
The number of cases (the length of the vector ind and true ind) |
Return a CER value.
CER = 0 means perfect agreement between two partitions and CER = 1 means complete disagreement of two partitions.
Note: 0 <= CER
<= 1
This function uses comb
, which generates all combinations of the elements in the vector ind
.
For this reason, the function CER
is not suitable for vector in a large dimension.
Yumi Kondo <y.kondo@stat.ubc.ca>
H. Chipman and R. Tibshirani. Hybrid hierarchical clustering with applications to microarray data. Biostatistics, 7(2):286-301, 2005.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.