📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

When is the F1-score especially useful?

A. When there are no positive examples
B. Only for regression
C. When accuracy is already 100%
D. When classes are imbalanced and both false positives and false negatives matter ✅

Correct Answer: D. When classes are imbalanced and both false positives and false negatives matter

Explanation

F1 balances precision and recall, so it is more informative than accuracy on imbalanced data.