singular value decomposition
subject:: Matrix Analysis
parent:: Chapter 7
theme:: math notes
[[dg-publish]]
Definitions
Theorem (Matrix Analysis 1)
Let
WLOG, we assume the diagonal elements of
Note that
Say each of the elements in
Say
For
For
For rows
Note that if
Theorem (Matrix Analysis 2)
For any
Further, if
(we take "diagonal" to mean that the only entries that can be nonzero have the same row and column index)
- We can think of this as a generalization of diagonalization/spectral decomposition, but where the loss is that
and are distinct. - if
is positive semidefinite, then the diagonalization is the singular value decomposition since we have that for some unitary and nonnegative all real.
If
If
Another Definition (Data Science)
The Singular Value Decomposition of a matrix
Where
- the columns of
are the same "shape" as the columns of . They give me a basis where I can represent the columns of my data matrix
- This means that the columns of
can be reshaped into "eigen"representations of instances of the data - The columns of
are the "mixtures" of the columns of that we need in order to reproduce each of the instances of the dataset
Say
- easy to see from (1) - easy to see from (1) - For any
, we have
To see (5) and (6) , recall that
To see (7), note that
- Note
is by Rayleigh-Ritz that this equals the largest eigenvalue of . - Then
is by the fact that the eigenvalues of - ie the eigenvalues are the squared singular values of .