powered by
calculates the entropy of a specificity and sensitivity tuple considering the ratio
calculate_entropy(spec, sens, ratio = 1)
numeric, is the specificity, the true negative rate
numeric, is the sensitivity, the true positive rate
numeric, is the ratio of positive and negative of the data
entropy of the tuple
# NOT RUN { calculate_entropy(1,0) calculate_entropy(0.5,0.6,0.7) # }
Run the code above in your browser using DataLab