misClustRate | R Documentation |
Compute the empirical MCR, assuming that #cluster = #block, This calculation allows a permutation on clusters.
misClustRate(cluster, truth)
cluster |
vector of |
truth |
a vector of the same length as |
numeric
, the MCR.
truth = rep(1:3, each = 30)
cluster = rep(3:1, times = c(25, 32, 33))
misClustRate(cluster, truth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.