What is F1 score?
In Turkish: F1 skoru · Topic: Data and evaluation
A success measure for classification models that combines precision and recall into a single number between 0 and 1; it is the harmonic mean of the two.
How does it work?
To compute F1, the harmonic mean of precision and recall is taken. This kind of average gives weight to the lower value, so if one is very high and the other very low, F1 comes out low too. An ordinary average can hide such an imbalance. The closer the score is to 1, the fewer both false alarms and missed cases the model produces; a score near 0 shows that at least one of the two is very weak.
Why does it matter?
When data is imbalanced, accuracy can mislead, and F1 offers a practical single figure for comparing models. It is widely used in text classification, entity recognition, and information extraction. Because it weighs the two measures equally, it is better to look at them separately when one matters more than the other.
Example
A model with 90 percent precision and 50 percent recall has an F1 score of about 64 percent, which is lower than the plain average of 70 percent.
FAQ
What is the difference between F1 score and accuracy?
Accuracy measures the share of all predictions that are correct and can mislead when one class dominates. F1 focuses on the balance between catching the rare class (recall) and avoiding false alarms (precision).
What counts as a good F1 score?
There is no absolute threshold; it depends on the task and the data. The score is interpreted by comparing it with other models or with human performance on the same data.