Principal Component Analysis
Singular Value Decomposition (SVD)
Singular value decomposition is the key part of principal components analysis.The SVD of the matrix
has the form
.
is an N × N orthogonal matrix.
, form an orthonormal basis for the space spanned by the column vectors of
.
is an p × p orthogonal matrix.
, form an orthonormal basis for the space spanned by the row vectors of
.
is a N x p rectangular matrix with nonzero elements along the first p x p submatrix diagonal.
,
are the singular values of
with N > p.
The columns of (i.e.,
are the eigenvectors of
. They are called the principal component direction of
.
The diagonal values in (i.e.,
are the square roots of the eigenvalues of
.
The Two-Dimensional Projection
The two-dimensional plane can be shown to be spanned by
- the linear combination of the variables that have maximum sample variance,
- the linear combination that has maximum variance subject to being uncorrelated with the first linear combination.
It can be extended to the k-dimensional projection. We can take the process further, seeking additional linear combinations that maximize the variance subject to being uncorrelated with all those already selected.