aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 8. Model Evaluation
Lesson 4 of 6 7 min · 110 words

F1-score

The harmonic mean of precision and recall.

The F1 score combines precision and recall into one number using their harmonic mean:

The harmonic mean is dominated by the smaller value, so F1 is only high when *both* are high. It ignores true negatives, which makes it suitable for imbalanced problems where TN is huge and uninformative.

The general weights recall times as much as precision: . favours recall; favours precision.

Formula to remember

F1-score

Harmonic mean of precision P and recall R.

Quick check · +5 XP

Precision = 0.5 and recall = 1.0 give an F1 of…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser