PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #165
You are developing a classification model to support predictions for your company's various products. The dataset you were given for model development has class imbalance You need to minimize false po
The correct answer is A. F1 score. F1 score is the harmonic mean of Precision and Recall: F1 = 2 × (Precision × Recall) / (Precision + Recall). Minimizing false positives requires high Precision; minimizing false negatives requires high Recall. F1 balances both simultaneously, making it the right metric when both
Question
Options
- AF1 score
- BRecall
- CAccuracy
- DPrecision
How the community answered
(22 responses)- A77% (17)
- B5% (1)
- C5% (1)
- D14% (3)
Explanation
F1 score is the harmonic mean of Precision and Recall: F1 = 2 × (Precision × Recall) / (Precision + Recall). Minimizing false positives requires high Precision; minimizing false negatives requires high Recall. F1 balances both simultaneously, making it the right metric when both error types matter and the dataset is imbalanced. Accuracy is misleading under class imbalance (predicting the majority class always yields high accuracy). Recall alone ignores false positives. Precision alone ignores false negatives. F1 is the standard choice when neither false positives nor false negatives can be deprioritized.
Topics
Community Discussion
No community discussion yet for this question.