hard20 pts · first answer countsclass-imbalancedata-leakage
Oversampling before cross-validation
A colleague applies SMOTE to the whole dataset and then runs 5-fold cross-validation, getting excellent recall. What is wrong?
Discussion 0
Join free to post in the discussion.
Related questions
- High accuracy on rare eventsData Scientist
- Suspiciously strong churn featureData Scientist
- Using a model on rare positivesData Scientist
- Target encoding without leakageData Scientist
- Great backtest, poor live forecastData Scientist
- Scaling before splittingMachine Learning Engineer
- Target encoding without leakageMachine Learning Engineer
- Several scans per patientMachine Learning Engineer