F2score
The F2 score is a member of the F-beta family of metrics used to evaluate binary classifiers by combining precision and recall into a single number. Given a confusion matrix, precision P = TP/(TP+FP) and recall R = TP/(TP+FN), the F_beta score is defined as F_beta = (1 + beta^2) * (P * R) / (beta^2 * P + R).
When beta = 1, F_beta reduces to F1, the harmonic mean of precision and recall. For F2, beta^2
F2 is commonly used in domains where missing positive instances is particularly costly. Examples include medical
Limitations include sensitivity to class prevalence and the chosen threshold, and the fact that F2 condenses