getMISS | R Documentation |
Get number of misclassifications from classification analysis.
getMISS(actual, predicted, weigh_added = FALSE, weighing_matrix)
actual |
Vector of actual classifications of samples |
predicted |
Vector of predicted classifications of samples |
weigh_added |
Boolean, add a weighing matrix when it is classification |
weighing_matrix |
The matrix used to get a misclassification score |
number of misclassifications
data("mosquito")
actual <- Yotu
predicted <- sampling_from_distribution(actual)
getMISS(actual, predicted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.