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