Your model trained with SMOTE showed excellent cross-validated recall but poor precision in production. What would you suspect went wrong?

Last updated 15 November 2026

  • Likely leakage: SMOTE applied before the CV split puts synthetic copies of validation-fold neighbors into training, inflating recall.

  • Precision was likely measured on balanced folds and uncalibrated scores with a 0.5 cutoff. At real prevalence the false positives swamp true positives, and SMOTE may also have spread minority points into majority regions.

  • Fix: redo CV with SMOTE inside an imblearn Pipeline (time-based split if relevant), evaluate on an untouched real-prevalence holdout, then recalibrate and tune the threshold.

  • https://yijiew.medium.com/avoiding-leakage-in-cross-validation-when-using-smote-b63fdd3d159d
  • https://pub.towardsai.net/handling-imbalanced-datasets-in-machine-learning-smote-oversampling-undersampling-explained-6a86116c1f41
  • https://lensaml.com/explainers/class-imbalance
All Imbalanced Datasets interview questions