The balanced error rate is the average of the errors on each class: BER = 0.5*(FP/(TN+FP) + FN/(FN+TP)).
: binary numeric vector (made of 0 or 1) of real classes
: binary numeric vector (made of 0 or 1) of predicted classes
Balanced Error Rate 0 ≤ BER ≤ 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.