Technical interview guideNew
Principal Component Analysis (PCA)
Linear dimensionality reduction that rotates features onto orthogonal directions of maximum variance, so a few components keep most of the information. Interviews probe the covariance and SVD derivation, scaling and leakage discipline, and what PCA cannot do.
- Read
- 14 min
- Practice MCQs
- 25
- Interview Q&A
- 25
- Edition
- v1
- Editorial status
- Reviewed
Scope: Mathematics is version-independent. Code examples target scikit-learn 1.5 or later (sklearn.decomposition.PCA with svd_solver auto, full, arpack, randomized and covariance_eigen; whiten and n_components as documented). Default behaviour: centres features, does not scale them, and fits on the data passed to fit..
Curated: · Written: · Reviewed: