math

The F-score represents a test’s accuracy. It’s computed by taking the Harmonic Mean of the Precision and Recall.

$F_1 = \frac{2}{\frac{1}{Precision}+\frac{1}{Recall}}$The result will be between $0.0$ (meaning being *completely* inaccurate) and $1.0$ (meaning being *completely* perfect).