F1 Score
Category: Foundations of ML/AI
The harmonic mean of precision and recall, providing a single metric that balances both concerns.
Full Explanation
The F1 score combines precision and recall into a single metric by computing their harmonic mean, giving equal weight to both. It ranges from 0 to 1, with 1 indicating perfect precision and recall. The harmonic mean ensures that the F1 score is low if either precision or recall is low, unlike the arithmetic mean which could hide a poor value in one metric. F1 is particularly useful for evaluating models on imbalanced datasets where accuracy alone is misleading. Variants include the macro-averaged F1 (averaging F1 across classes equally) and micro-averaged F1 (aggregating contributions across classes before calculating). The F1 score is a standard reporting metric in NLP tasks like named entity recognition and text classification.
Related Terms
More in Foundations of ML/AI
Explore More
- AI Tools Library — Discover AI tools related to F1 Score
- AI Education — Courses to learn about Foundations of ML/AI
- AI News — Latest news and updates