You must train within a fixed budget while retaining most predictive signal. Which strategy is most appropriate when using dimensionality reduction?

Answer

Fit PCA using only training data; tune the number of components based on validation metrics

Explanation

Training-only fitting avoids leakage and tuning component count balances bias/variance against compute. Other options either leak information or create misaligned transformations.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list