A model is trained on a dataset with class imbalance and you observe that maximizing accuracy selects a threshold that yields very low recall for the minority class. What is the most direct remedy?
Answer
Tune the decision threshold to optimize a metric aligned to business needs (e.g., recall, Fβ, PR-AUC) on a validation set
Explanation
Accuracy is insensitive to imbalance; threshold tuning guided by the target metric aligns decisions with desired minority-class performance.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In BigQuery ML, which scenario most directly requires using a time-series-specific approach rather than a standard regression model?
View question →
You run a BigQuery ML model with cross-validation settings and see large variance across folds. Which interpretation is most appropriate?
View question →
A dataset has 40% missing values in a numeric feature that correlates strongly with the target. Which imputation strategy is most defensible for building a predictive model with minimal bias?
View question →
When interpreting feature attribution results (e.g., SHAP) from a BigQuery ML model, which statement is most accurate?
View question →
For entity-level analytics, you need robust aggregation across events where the event timestamp can arrive late. Which design best prevents double-counting and late-arrival issues?
View question →
An analyst created a feature that represents the rolling 7-day average of a metric. During evaluation, the model’s performance improves when the window is shortened to 3 days. What is the most likely technical explanation?
View question →