Overview
Principal Component Analysis centers data and finds orthogonal axes ordered by explained variance. Keeping the leading components gives a lower-dimensional representation that preserves the strongest linear variation.
Projects data onto orthogonal directions that capture the largest variance.
Compact metadata for implementation and discovery.
Principal Component Analysis centers data and finds orthogonal axes ordered by explained variance. Keeping the leading components gives a lower-dimensional representation that preserves the strongest linear variation.
Quick facts
Runtime and memory behavior at a glance.
Best
O(nd^2)
Average
O(nd^2 + d^3)
Worst
O(nd^2 + d^3)
Space
O(d^2)
C = (X_centered^T * X_centered) / (n - 1)Summarizes how centered features vary together before extracting principal directions.
Show points projected onto the strongest variance direction.
PCA is unsupervised; it can discard low-variance features that still matter for prediction.
What each reference supports for this entry.
Statistical learning reference for the model family and tradeoffs of Principal Component Analysis.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Core
PCA is commonly computed through SVD.
Compare with thisMachine Learning · Foundation
PCA is often used for visualization or preprocessing before clustering.
Compare with thisMachine Learning · Core
Both learn compressed representations of data.
Compare with thisMachine Learning · Core
Both represent data through lower-dimensional linear factors.
Compare with thisBoth represent data through lower-dimensional linear factors.
PCA is often used for visualization or preprocessing before clustering.