# What is F1 Score? Definition & Technical Mechanics

> **Source:** [SPIDITS AI AI Glossary](https://spidits.com/ai-glossary)  
> **Category:** Mathematical Foundations  
> **Canonical Citation:** [https://spidits.com/ai-glossary/f1-score](https://spidits.com/ai-glossary/f1-score)

## Definition
The F1 Score is a statistical metric used to evaluate a classification model's accuracy. It is calculated as the harmonic mean of precision (exactness) and recall (completeness), making it ideal for datasets with imbalanced classes.

## Architectural Mechanics & Deep Dive
The F1-score is a performance evaluation metric that calculates the harmonic mean of precision and recall. It ranges from 0 to 1, where 1 indicates perfect precision and recall. The F1-score is particularly valuable for evaluating models trained on imbalanced datasets, as it balances the tradeoff between minimizing false positives (precision) and false negatives (recall).

## Industry Applications & Real-World Use Cases
Classification model validation, benchmark tracking, and search performance assessment

## Frequently Asked Questions

### What is the formula for F1 Score?
`F1 = 2 * (Precision * Recall) / (Precision + Recall)`.

### Why not just use accuracy instead of F1 Score?
Because accuracy can be misleading on imbalanced datasets. If 99% of emails are not spam, a model that classifies everything as non-spam has 99% accuracy but an F1 score of 0.

## Related Terminology
- [supervised-learning](https://spidits.com/ai-glossary/supervised-learning)
- [loss-function](https://spidits.com/ai-glossary/loss-function)

---
*From the SPIDITS AI Knowledge Base (336+ terms indexed). Explore full technical definitions: [https://spidits.com/ai-glossary](https://spidits.com/ai-glossary)*
