How QR decomposition solves the problem of expensive SVD? #7
prgyn8
started this conversation in
Math Terminologies
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Economical SVD using QR Decomposition
The typical SVD follows the basic principle:
where$m \gg n$ , making the matrix look tall & skinny.
For larger datasets, this process becomes expensive to run in systems (even linear algebra feels like looping in some cases).
To make this process efficient, QR factorization brings a little change to the equation:
QR factorization of$X$ :
where
Now, compute the SVD of the smaller$R$ :
Putting it back into the factorization:
Here, the economical SVD is obtained with:
👉 In this way, QR helps avoid dealing with the large$m \times m$ case of the full SVD, by reducing the problem to an $n \times n$ decomposition.
Here,
is an upper triangular matrix, where the lower values are zero. And, also we're not dealing with $m in the process like we had in full SVD.
Beta Was this translation helpful? Give feedback.
All reactions