calculate entropy
calculates the entropy of a specificity and sensitivity tuple considering the ratio
calculate_entropy(spec, sens, ratio = 1)
spec
: numeric, is the specificity, the true negative ratesens
: numeric, is the sensitivity, the true positive rateratio
: numeric, is the ratio of positive and negative of the dataentropy of the tuple
calculate_entropy(1,0) calculate_entropy(0.5,0.6,0.7)
rothe
Useful links