Last data update: 2014.03.03
|
R: Balanced Error Rate
Balanced Error Rate
Description
The balanced error rate is the average of the errors on each class: BER = 0.5*(FP/(TN+FP) + FN/(FN+TP)).
Usage
BER(Ytrue, Yhat)
Arguments
Ytrue |
: binary numeric vector (made of 0 or 1) of real classes
|
Yhat |
: binary numeric vector (made of 0 or 1) of predicted classes
|
Value
Balanced Error Rate 0 ≤ BER ≤ 1
Results
|