getBER {MUVR2} | R Documentation |
Get BER
Description
Get Balanced Error Rate (BER) in classification.
Usage
getBER(actual, predicted, weigh_added = FALSE, weighing_matrix)
Arguments
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 |
Value
BER
Examples
data("mosquito")
actual <- Yotu
predicted <- sampling_from_distribution(actual)
getBER(actual, predicted)
[Package MUVR2 version 0.1.0 Index]