Lecture 18 Flashcards

1
Q

Reduced SVD

A

if A is not square, k = min(n,m) singular values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cost SVD, LU, matmat

A
if n=m
LU 2/3n^3
matmat n^3
SVD 2n^3
else: O(mn^2 + n^3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PCA using SVD

A
X = U@Σ@V.T
X* = X@V
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SVD rewrite (low rank approximation)

A

A = Σi=1^n σi@ui@vi.T

ui lin indep. so Σi=1^k σi@ui@vi.T of rank k if no zero singular values (full rank)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

||U||_2?

||A||_2?

A

||U||2 = max{||x||=1} ||Ux|| = max_{||x||=1} √x.T@x = max_{||x||=1} ||x||_2 = 1

||A||2 = max{||x||=1} ||U@Σ@V.T@x|| = max_{||x||=1} ||Σx|| = σ1 = σmax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Condition number and SVD

A

A square non-singular: cond_2(A) = ||A||.||A^{-1}|| and ||A^{-1}||=1/σmin so cond_2(A) = σmax/σmin
if rank deficient, σmin=0 and cond_2(A) = ∞

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Pseudo inverse of a diagonal matrix / of a matrix A

A

if Σ not invertible, Σ^+ = 1/σi if σi≠0 else 0.

A^+ = V@Σ^+@U.T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Error low rank approximation

A

||A-~A||2 = ||Σi=k+1^n σi@ui@vi.T|| = σ{k+1}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
Relative error approx rank 1 :
A=UΣV.T, Σ =
.3  0  0  0
0  2.5 0 0
0   0  6  0
0   0  0 1.2
A

||A-~A1||_2 / ||A||_2

= 2.5/6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A 77x40. How many values to store a rank 9 SVD approx? % saved?

A

9+77x9+40x9 = 1062 instead of 3080, 65% saved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly