A dataset is highly imbalanced. The team wants improved performance on rare classes without causing calibration drift. Which training/evaluation combination is most aligned with advanced foundational AI practitioner guidance?
Answer
Use class-weighted loss or controlled resampling, evaluate with metrics that reflect imbalance (e.g., PR-AUC/F1), and validate calibration (e.g., reliability curves) on a representative holdout
Explanation
Class weighting or controlled resampling improves learning for rare classes while reducing calibration harm. Using imbalance-aware metrics and calibration validation helps ensure reliable decision thresholds.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Read the passage and determine the most appropriate evaluation focus.
View question →
An evaluation pipeline shows that a generative model is accurate overall but fails disproportionately for a minority customer segment. Which concept should you apply first to identify whether the failure is systemic and actionable?
View question →
You are designing a multi-model fallback strategy: if a primary model returns a low-confidence answer, you must route to a secondary model and log the reason. Which method best supports deterministic routing with measurable quality?
View question →
A model’s output must be auditable for regulatory review. You must capture the exact inputs that influenced each generation without storing sensitive fields in plaintext. Which approach is best?
View question →
A company plans to implement Retrieval-Augmented Generation over a knowledge base stored in S3. They must ensure that only documents with appropriate licensing are retrievable at runtime. Which architecture most directly enforces that requirement?
View question →
You need to select between Amazon SageMaker JumpStart, Amazon Bedrock foundation models, and custom training for a customer service use case. The goal is: low operational overhead, controlled latency, and the ability to continuously improve with new labeled data. Which strategy is most appropriate?
View question →