aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 14. Dimensionality Reduction
Lesson 6 of 10 8 min · 140 words

Principal directions

Eigenvectors of the covariance matrix.

The principal directions are the eigenvectors of the covariance matrix: . Ordered by eigenvalue , the first direction is the axis of greatest spread, the second is the greatest spread perpendicular to the first, and so on.

Each eigenvalue is the variance of the data along . The total variance is preserved: the sum of the original feature variances.

The principal components (scores) of an example are its coordinates in this new basis: . The entries of (the loadings) show how much each original feature contributes to that component.

Formula to remember

Explained variance ratio

Share of variance captured by component k.

Quick check · +5 XP

PCA is usually computed via SVD because it is…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser