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
Related questions
Given high-cardinality categoricals causing sparse training, which encoding choice best fits the described constraints and reduces overfitting risk?
View question →
A model trained with the pipeline must be re-trained periodically as sensor distributions shift. Which AWS-centric approach most effectively supports reproducible training and consistent preprocessing across retrains?
View question →
To address the pipeline risks in the text, which approach best prevents target leakage from the timestamp-derived feature?
View question →
Suppose the team removes the leakage-prone timestamp-derived feature but keeps the rest of the pipeline. Which outcome is most likely if they previously overfit to leaked signal?
View question →
In the described scenario, which action most directly reduces information loss while keeping compute costs manageable?
View question →
For monitoring, you need to distinguish concept drift (relationship changes) from data drift (feature distribution changes). Which metric choice most directly helps make that distinction?
View question →