Skip to content

evaluation

F1 Score

The harmonic mean of precision and recall, providing a single metric that balances both measures. F1 score ranges from 0 to 1 and is particularly useful for evaluating models on imbalanced datasets where accuracy can be misleading.

In practice

A spam filter with 90% precision and 80% recall has an F1 score of approximately 0.85.