Target
PCA tries to get a projection panel by minimizing the projection error (not error in linear regression)
How to implement
- Calculate Sigma by $\Sigma = \frac{1}{m}X^TX$
- Get projection panel (along with error ) by singular value decomposition of
- Get new data set by
- Recover original data (approximated) by