R/performance.R
BAS.Rd
This function computes the balanced accuracy score.
BAS(TP, TN, FP, FN)
number of true positives
number of true negatives
number of false positives
number of false negatives
A numeric value.
Alessandro Barberis