How are PCA and SVD related?
intoli.com
intoli.com
And here is another interesting connection between PCA and ridge regression: https://stats.stackexchange.com/questions/81395/relationship...
PCA is the SVD of A'A
It is closely related to the SVD of A: (USV')'USV' = VSU'USV' = VS^2V'.
SVD is a matrix decomposition. It generalizes the idea of representing a linear transformation (with same dimensions in domain and codomain) in the basis of its eigenvalues, which gives a diagonal matrix representation and a formula like A = V'DV.
SVD is like this, but for rectangular matrices. So you have two matrices to diagonalize: A = U'DV.
That SVD even performs PCA as noted in the algorithms is a theorem, albeit simple one usually given as an exercise. But hey, even OLS regression can be programmed with SVD if you want to.
This article was well-written, exactly precise enough, and cleared up the confusion. Thanks for sharing!
PCA is the analysis of a set of eigenvectors. Eigenvectors can come from SVD components or a covariance matrix.