Which preprocessing step is required to prevent data leakage when using cross-validation?
Key points
- Prevent information leakage from test sets
- Fit transformers only on training data
- Use Pipelines to automate fold-specific scaling
Ready to go further?
