Which action most directly helps reduce data leakage when performing feature engineering and splitting data for model training?

Answer

Perform train/validation/test splitting first, then fit feature transformations only on the training set

Explanation

Fitting preprocessing only on the training set prevents information from leaking from validation/test data into training.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list