powered by
Get number of misclassifications from classification analysis.
getMISS(actual, predicted, weigh_added = FALSE, weighing_matrix)
number of misclassifications
Vector of actual classifications of samples
Vector of predicted classifications of samples
Boolean, add a weighing matrix when it is classification
The matrix used to get a misclassification score
data("mosquito") actual <- Yotu predicted <- sampling_from_distribution(actual) getMISS(actual, predicted)
Run the code above in your browser using DataLab