PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #161
You are working on a binary classification ML algorithm that detects whether an image of a classified scanned document contains a company's logo. In the dataset, 96% of examples don't have the logo, s
The correct answer is D. F1 score. With 96% negative examples, a naive model that always predicts 'no logo' achieves 96% accuracy, making accuracy useless. Precision alone (answer A) measures how often positive predictions are correct but ignores missed detections. Recall alone (answer B) measures coverage of actu
Question
Options
- APrecision
- BRecall
- CRMSE
- DF1 score
How the community answered
(47 responses)- A21% (10)
- B6% (3)
- C9% (4)
- D64% (30)
Explanation
With 96% negative examples, a naive model that always predicts 'no logo' achieves 96% accuracy, making accuracy useless. Precision alone (answer A) measures how often positive predictions are correct but ignores missed detections. Recall alone (answer B) measures coverage of actual positives but ignores false alarms. RMSE (answer C) is a regression metric and does not apply here. The F1 score (answer D) is the harmonic mean of precision and recall, penalizing models that sacrifice one for the other. It is the standard metric for imbalanced binary classification because it forces the model to perform well on both dimensions simultaneously.
Topics
Community Discussion
No community discussion yet for this question.