What is the F1-score?
What is the F1-score?
Approach: Define the harmonic mean of precision and recall.
The harmonic mean of precision and recall: 2 * (Precision * Recall) / (Precision + Recall). It provides a single score that balances both metrics, especially useful for imbalanced datasets.
Follow-up: Why harmonic mean instead of arithmetic mean?
Key concepts: precision, recall, imbalanced data.