Cookmath

Principal component analysis by the SVD

PCA centers each feature and uses the leading right singular vectors of the centered data matrix as principal directions. Projecting onto the first few directions gives a lower-dimensional summary.

What you will learn

A principal direction that is not a coordinate axis

Objective 1: Center features and find the leading direction

Objective 2: Calculate principal-component scores

Objective 3: Explain variance ratios and reconstruction

A common mistake

State the assumptions before using the formula.

Review first

Continue learning

Principal component analysis by the SVD

Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.