SMOTE model with high cross-validated recall but poor production precision: what went wrong?

Quick Overview

Asks why a model trained with SMOTE can show strong cross-validated recall yet poor precision in production. Tests understanding of resampling leakage across CV folds, the effect of class prevalence on precision, probability calibration and threshold tuning on imbalanced data.

SMOTE model with high cross-validated recall but poor production precision: what went wrong?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Your model trained with SMOTE showed excellent cross-validated recall but poor precision in production. What would you suspect went wrong? ```hint Where SMOTE ran Check at which step the synthetic samples were generated relative to the cross-validation split. ``` ```hint Class ratio Precision depends on the class ratio of the data it is measured on. Compare the ratio in the validation folds with the ratio in production. ``` ### What a Strong Answer Covers - Where in the CV workflow resampling happened and what that does to validation recall - How precision changes between balanced evaluation folds and the real production prevalence - What oversampling does to probability calibration and to a default 0.5 threshold - When SMOTE's interpolation itself hurts (overlapping classes, label noise, high dimensions) and other gaps between CV and production - A concrete plan to confirm the cause and fix it ### Follow-up Questions - How would you recalibrate scores from a model trained on SMOTE-resampled data, and which data would you calibrate on? - When would you choose class weights or no resampling at all over SMOTE? - The business needs precision of at least 80%. How would you pick the operating threshold? - If the data is time-ordered, how would you set up validation so it reflects production?

Overview: Asks why a model trained with SMOTE can show strong cross-validated recall yet poor precision in production. Tests understanding of resampling leakage across CV folds, the effect of class prevalence on precision, probability calibration and threshold tuning on imbalanced data.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

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

What a Strong Answer Covers Guidance

  • Where in the CV workflow resampling happened and what that does to validation recall
  • How precision changes between balanced evaluation folds and the real production prevalence
  • What oversampling does to probability calibration and to a default 0.5 threshold
  • When SMOTE's interpolation itself hurts (overlapping classes, label noise, high dimensions) and other gaps between CV and production
  • A concrete plan to confirm the cause and fix it

Follow-up Questions Guidance

  • How would you recalibrate scores from a model trained on SMOTE-resampled data, and which data would you calibrate on?
  • When would you choose class weights or no resampling at all over SMOTE?
  • The business needs precision of at least 80%. How would you pick the operating threshold?
  • If the data is time-ordered, how would you set up validation so it reflects production?