Why should oversampling techniques like SMOTE be applied only within training folds during cross-validation?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why SMOTE and other oversampling methods belong inside the training folds of cross-validation and what goes wrong when they run on the full dataset. Tests understanding of data leakage, imbalanced-class evaluation metrics and correct resampling pipelines.