calculate_entropy {phiDelta} | R Documentation |
calculate entropy
Description
calculates the entropy of a specificity and sensitivity tuple considering the ratio
Usage
calculate_entropy(spec, sens, ratio = 1)
Arguments
spec |
numeric, is the specificity, the true negative rate |
sens |
numeric, is the sensitivity, the true positive rate |
ratio |
numeric, is the ratio of positive and negative of the data |
Value
entropy of the tuple
Author(s)
rothe
Examples
calculate_entropy(1,0)
calculate_entropy(0.5,0.6,0.7)
[Package phiDelta version 1.0.1 Index]