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.

Choose a lesson