How would you choose an imbalance handling strategy for a fraud detection problem end to end?

Last updated 15 November 2026

  • Start from business costs (missed fraud vs false alarm) and matching metrics like PR-AUC or recall at an alert budget, never accuracy. Evaluate with a time-based split at the natural class ratio.

  • Baseline with gradient boosting plus a tuned decision threshold, then add remedies incrementally (scale_pos_weight, undersampling with ensembles, SMOTE only if it measurably helps). Resample only inside training folds.

  • Recalibrate distorted probabilities, add an anomaly detector for novel fraud, and monitor drift and feedback loops (labels only arrive for flagged cases).

  • https://imbalanced-learn.org/stable/under_sampling.html
All Imbalanced Datasets interview questions