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

The reconstruction perspective

Deriving PCA as the projection with the smallest reconstruction error.

An equivalent derivation: find the -dimensional subspace that reconstructs the data with the smallest squared error. Project each point onto the subspace and map it back: .

By Pythagoras, each point's squared length = squared length of its projection + squared reconstruction error. The total is fixed, so minimising the error equals maximising the projected variance — the same solution: the top- eigenvectors. The minimum error equals the sum of the discarded eigenvalues, .

Formula to remember

Principal directions

λ_k is the variance along v_k.

Quick check · +5 XP

Before PCA, features on very different scales should be…

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