Principal Component Analysis

Several measurements may vary together, so storing all of them can repeat much of the same information. Principal component analysis looks for directions that preserve the most variation with fewer coordinates.

24 sections · 15 questions · 4 coding challenges

1 / 24

Could We Describe the Same Cloud with Fewer Measurements?

BOTIE

Imagine measuring several aspects of the same objects. If two measurements tend to increase together, listing both may repeat much of the same information. We would like a shorter description that still distinguishes the observations reasonably well.

Pearson's 1901 paper asked how to fit a line or a plane to a collection of points in space. Unlike ordinary regression, where one variable is singled out as the answer, the question concerned the geometry of the collection itself. Which lower-dimensional surface lies closest to the observations?

Picture a long, narrow cloud of points. A line along its length preserves much more of its shape than a line across its width. Principal component analysis finds successive directions of greatest variation and lets us retain a few of them. That is useful compression when the retained variation matters, but a direction with large variation is not automatically the direction that best predicts a particular label.

Sources for this history