Computes the F_beta score given an intenger number of True Positives (TP), True Negatives (TN). It is optimized for speed and n is thus not the total number of events
Usage
f(TP, TN, n, beta2 = 1)
Arguments
TP
Number of true positive events
TN
Number of true negative events
n
beta^2*(TP+FN)+TN+FP
beta2
squared-beta to weight precision (low beta) or recall (high beta) more