A dataset contains highly imbalanced classes and the cost of false negatives is much higher than false positives. You need to set up training and thresholding so the deployed system meets business constraints. Which approach is most appropriate?

Answer

Apply class-weighting or cost-sensitive training and select an operating threshold using a metric aligned to business risk (e.g., recall for the positive class or expected cost)

Explanation

Class-weighting/cost-sensitive objectives help train for asymmetric errors. Threshold tuning on the aligned metric ensures the business constraint is reflected at inference time.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list