Loading…
Glossary term
A single metric that balances precision and recall.
The F1 score is the harmonic mean of precision and recall, so it is high only when both are high. It ranges from 0 to 1.
It is useful for a single number on imbalanced problems, where accuracy can be misleading.
F1 score
f1 = 2 * precision * recall / (precision + recall)It balances the trade-off between catching positives and avoiding false alarms.