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