What does PCA do, and what are its limitations?
Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Saved automatically
Model Answer & Deep-Dive Explanation
Principal component analysis creates orthogonal directions that capture decreasing amounts of variance in the fitted data. It can reduce dimensionality and correlated numeric features, often after suitable scaling. High variance is not the same as predictive usefulness, so dropping low-variance directions can remove target-relevant information. Components may be hard to interpret and ordinary PCA captures linear structure. Fit PCA only on training data, choose dimensionality through appropriate validation, and compare with a simpler baseline. Explained variance alone does not establish that downstream predictions improve.
Related Questions in Data Science & Machine Learning
How do classification and regression differ? Give an example of each.
Easy level • 2 views
Why should training, validation, and test datasets have different roles?
Easy level • 2 views
Why does feature scaling matter for some models more than others?
Medium level • 2 views
How would you handle a dataset where several rows belong to the same patient?
Medium level • 1 views
How would you compare two models without mistaking random variation for an improvement?
Medium level • 1 views