
Answer-first summary for fast verification
Answer: When classes are imbalanced, and there is a need to reduce false negatives.
The F1 score is especially useful in scenarios with imbalanced classes where there's a significant cost associated with false negatives. It balances precision and recall, making it ideal for situations requiring consideration of both false positives and negatives, such as in medical diagnosis or fraud detection. Accuracy may not be reliable in imbalanced datasets as it can be skewed by the majority class.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When is the F1 score considered a more useful metric than accuracy, and why?
A
When classes are balanced and precision is the primary concern.
B
When classes are imbalanced, and there is a need to reduce false negatives.
C
When accuracy is the sole focus, regardless of class distribution.
D
When classes are imbalanced, and there is a need to reduce false positives.
No comments yet.