A classification model shows poor calibration and you must improve decision thresholds under class imbalance. Which method is most appropriate for calibration-focused refinement before deployment?
Answer
Perform probability calibration on a held-out calibration set (e.g., temperature scaling or Platt scaling) and select thresholds based on desired operating point
Explanation
Calibration methods adjust predicted probabilities to match observed frequencies. Selecting thresholds after calibration supports meeting precision/recall trade-offs under imbalance.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A pipeline trains a model where labels are delayed by 30 days and missing labels are common. You need to minimize leakage while still monitoring early performance. Which approach best fits ML in AWS?
View question →
You need to choose between batch and streaming inference for an event-driven system. Events arrive continuously from Kinesis, and you need predictions to trigger downstream actions within minutes. Which choice and architecture is best?
View question →
A data scientist wants to use a stratified sampling strategy for cross-validation on an imbalanced dataset but must also preserve time ordering. Which approach is most appropriate for building folds?
View question →
An engineer uses AWS to implement an end-to-end workflow where training data uses a cutoff timestamp, and later they evaluate with “out-of-order” events. Which failure mode is most likely if they do not align features and labels by the prediction window?
View question →
During feature engineering, you consider using data from multiple sources that update at different cadences (hourly and daily). You must build a training set for a specific prediction window without using future updates. Which approach prevents leakage most effectively?
View question →
An engineer wants to implement model monitoring and drift detection. The feature distributions shift slowly over time, but target accuracy degrades. Which monitoring strategy is most aligned with robust drift and performance tracking in AWS?
View question →