Homepage › Solution manuals › Yaser Abu-Mostafa › Learning from Data › Exercise 9.10
Exercise 9.10
Answers
If all the singular values of are distinct, then the eigenvalues of are all distinct and positive or zero.
- (a)
- Let
has a dimension of ,
and with SVD, let
where
has a dimension of
and
has a dimension of ,
so we have
and .
Also let ,
where
are the
column vector and they are orthonormal (basis).
is the diagonal matrix of the singular values of ,
and by construction it’s ordered, i.e. .
Consider any direction , it should have .
So the variance is highest when the principal direction is , the top right singular vector of .
- (b)
- Follow the proof in problem (a), we see that the top-1 principal direction is , next, if we select the next direction that is orthogonal to , it’s clear that . It’s easy to see that the principal direction with the highest variance is . Continue this, we see that the top-k principal directions are .
- (c)
- If we don’t have the data matrix ,
but knows ,
since
is symmetric, we can do eigen-decomposition, the principal directions are the top-k eigenvectors of .