getBalancedAcc: Get's the balanced accuracy by choosing a probability...

Description Usage Arguments

Description

Get's the balanced accuracy by choosing a probability threshold value where Specificity == Sensitivity at the resolution of the crit parameter.

Usage

1
getBalancedAcc(prob, obs, posLabel, negLabel, crit = 1e-04, verbose = F)

Arguments

prob

predicted probability

obs

observed labels

posLabel

the positive label (e.g. YES)

negLabel

the negative label (e.g. NO)

crit

criical value resolution for the difference in sensitivity==specificity

verbose

boolean flag to print out the difference value


wtcooper/modUtils documentation built on May 4, 2019, 11:59 a.m.