Calculates classification specificity

calc_specificity(tp, tn, fp, fn)

Arguments

tp

true positives

tn

true negatives

fp

false positives

fn

false negatives

Value

Classification specificity

Examples