F-Measure
F-Measure
The F-Measure is the weighted harmonic mean of precision and recall. It provides a single score that balances the trade-off between the two metrics.
F-Measure Formula
The F1 Score
The most common version is the F1 Score, where (equal weight to precision and recall).
Why Harmonic Mean?
Unlike the arithmetic mean, the harmonic mean is sensitive to very low values. If either Precision or Recall is 0, the F1 score becomes 0. It penalizes extreme imbalances, forcing the system to perform well on both.
The Beta Parameter ()
- : Equal weight.
- : Weights Recall higher than Precision (e.g., ). Used when missing a relevant document is more costly than a false alarm.
- : Weights Precision higher than Recall (e.g., ). Used when false alarms are very costly.
Connections
- Components: Precision and Recall
- Context: Used throughout Machine Learning and Evaluation in IR.