What leakage occurs if PCA is fitted on the entire dataset before cross-validation splitting?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks what information leaks into cross-validation when PCA is fitted on the full dataset before the data is split into folds. Tests understanding of preprocessing leakage, how it affects cross-validation scores and model selection, and how to structure the workflow to avoid it.