Imagine measuring a thousand people and recording their height, weight, arm span, and leg length. Those four numbers are correlated — tall people tend to be heavy and long-limbed too. A lot of that information is redundant.
Principal Component Analysis (PCA) asks a simple question: what are the directions in this data along which points spread out the most? Those directions — the principal components — turn out to carry the bulk of the information, while the remaining directions carry mostly noise.
PCA is not a new discovery. It was introduced independently by Karl Pearson in 1901 and Harold Hotelling in 1933, long before digital computers. Today it underpins face recognition, genome analysis, financial modeling, and nearly every field that deals with high-dimensional data. The algorithm is solved and efficient: a single pass through a matrix decomposition finds all principal components in polynomial time. The challenge is not finding them — it is understanding what they mean.
The formal tool is the eigendecomposition of the covariance matrix. The eigenvectors with the largest eigenvalues are the principal components; the eigenvalues tell you how much variance each direction explains. Project your data onto the top k components and you have reduced dimensionality while preserving as much variance as possible — a provably optimal linear compression.
Comments
Loading comments...