In supervised learning with imbalanced classes, you want to improve minority recall without letting the model overfit the minority noise. Which combination is most defensible?
Answer
A) Use class weights and tune the decision threshold using a validation set
Explanation
Class weighting changes the loss to emphasize minority errors, while threshold tuning aligns the operating point with the chosen metric (e.g., recall/precision tradeoff) on validation data. This balances sensitivity and generalization.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Based on the workflow described, which interpretation is most accurate regarding how “stability” of results is assessed?
View question →
In exploratory analysis, you suspect that the relationship between a predictor and the response changes across regions of the feature space. Which method most directly tests for or models piecewise behavior?
View question →
A frequentist linear model’s residuals show non-constant variance and mild autocorrelation. Which remedy best addresses heteroscedasticity and invalid standard errors?
View question →
A data pipeline includes feature engineering and then a model is trained. The model’s calibration is poor: predicted probabilities are systematically too confident. What is the most appropriate post-model adjustment?
View question →
You are asked to detect multicollinearity before fitting a model with correlated numeric predictors. Which diagnostic is most directly aligned with identifying redundancy among features?
View question →
You must choose between a decision tree and gradient-boosted trees for tabular data with nonlinear interactions. Which statement best reflects the deep analytical rationale behind the choice?
View question →