An internal function which computes the misclassification error between two partitions
A numeric or character vector of class labels.
A numeric or character vector of truth class labels. The length of truth should be the same as that of classification.
The misclassification error (a scalar).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.