BER: Balanced Error Rate

Description Usage Arguments Value

View source: R/util.R

Description

The balanced error rate is the average of the errors on each class: BER = 0.5*(FP/(TN+FP) + FN/(FN+TP)).

Usage

1
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


D2C documentation built on May 29, 2017, 10:44 a.m.

Related to BER in D2C...