compute_misrate | R Documentation |
the first is the truth, the second is the estimated ones
compute_misrate(a, b)
a |
truth class labels |
b |
estimated class labels; a and b are of the same length |
the overall and the class-specific misclassification errors
compute_misrate(c(1,1,1,2,2,2,3,3,3),c(1,1,1,1,2,2,2,2,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.