Singular Value Decomposition | Linear algebra episode 9

Ғылым және технология

#vectors #linearalgebra #matrices
The Singular Value Decomposition is one of the most important algorithms in linear algebra. It looks for the ellipse that is hidden in all linear transformations. The ellipse reveals the most important "directions" of the transformation, so that we can extract the most meaningful concepts from a huge data set. We show how this works for the classification of human faces and for movie review prediction. Welcome to the world of artificial intelligence.
Small correction at 21:12: Some of the columns do have non-zero coordinates in common of course, but they happen to cancel each other out, so the dot product is still zero.
To watch exclusive content, and to get access to new videos many months before they appear on KZread, consider supporting us on Patreon: www.patreon.com/user?u=86649007
If you want to dig deeper into the singular value decomposition, here's a long list of interesting links for you to explore:
[SERR 1] • Singular Value Decompo...
One of the best introductions to the SVD. It clearly shows the rotation, scaling, and second rotation. Also shows how we can compress a matrix by ignoring small singular values. And then he applies the SVD to image compression, by removing the least impactful singular values. Very cool!
[SERR 2] • Principal Component An...
Principal component analysis.
[SERR 3] • The covariance matrix
The covariance matrix.
[STO 1] • What is the Singular V...
Explains the SVD from a different angle. Instead of trying to map a circle to an ellipse, we ask: how do we maintain orthogonality? The result is again the SVD.
[AIO 1] • Lecture 47 - Singular ...
[AIO 2] • Lecture 50 - SVD Examp...
Using the SVD to discover movie genres from review data, and to predict whether or not a specific user will like a specific movie.
[AIO 3] • Lecture 48 - Dimension...
These SVD techniques allow you to compress your data to much smaller sizes, and to reduce its number of dimensions to make it easier to analyze.
[SB 1] • Singular Value Decompo...
This is a very good series about the SVD. It's explained very clearly, and it shows many concrete examples with actual Python code.
[SB 2] • SVD: Image Compression...
Steve Brunton shows actual Python code for compressing an image of his dog. He also plots the size of the singular values so that you can gauge how many of them are small enough to ignore.
[MIT 1] • 25. Symmetric Matrices...
Proves that a symmetric matrix always has real eigenvalues and orthogonal eigenvectors.
[BN 1] • Matrix Transpose and t...
This video is a bit more theoretical and deep, but it draws some interesting connections. It uses the SVD to look at 4 fundamental spaces for a matrix, which gives us an alternative intuition about the [/transpose].
0:00 Introduction
2:59 Decomposing a matrix into 3 parts
5:44 The covariance matrix
11:55 PCA in higher dimensions
13:55 Human faces
17:59 Movie reviews
23:25 How to calculate the SVD
28:39 Please support our channel
29:04 Comparison between eigenstuff and SVD
This video is published under a CC Attribution license
( creativecommons.org/licenses/... )

Пікірлер: 21

  • @williammartin4416
    @williammartin4416Ай бұрын

    Fantastic lecture

  • @tdchayes
    @tdchayesАй бұрын

    This is a very nice presentation. I like the tie-in to data science and the covariance matrix. One small thing: at 27:22 you say you can compute V similarly to U. But there is a hazard: the eigenvectors of V are dependent on the choices made for U (even Gil Strang ran into this issue). It's best to substitute U back into the original decomposition definition and solve for V (the remaining unknown). I'm enjoying this series.

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    Thanks for pointing that out!

  • @desmondcampbell9358
    @desmondcampbell9358Ай бұрын

    Fantastic exposition. Thanks very much for your great work and insights.

  • @gfbtfbtfilyfxbtyewqqef
    @gfbtfbtfilyfxbtyewqqefАй бұрын

    Aw man if only this was uploaded before my linear algebra exam then I would've had a better understanding

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    The video was already available on Patreon for several months. I hope your exam went well!

  • @shahulrahman2516
    @shahulrahman2516Ай бұрын

    Keep doing such lectures. Kudos

  • @ngruhn
    @ngruhnАй бұрын

    18:24 subtly bashing the Last Jedi 👍

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    Not even very subtle to be honest. It was just the perfect example for showing what happens to a column with all zeroes 😆

  • @rylieweaver1516
    @rylieweaver1516Ай бұрын

    Love your vids as always 🙌🏻

  • @mph8759
    @mph8759Ай бұрын

    Thank you for the well explained video. I wonder how this could be applied to financial modelling and risk analysis - my first thought is to run a Monte Carlo analysis with as many variables as possible and record all variable values with the output (for example profit or IRR). Then “just” do the “elipse thing” to figure out what variables are the most impactful?

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    Sounds like an amazing application. Ambitious, but it can be done.

  • @mph8759

    @mph8759

    Ай бұрын

    @@AllAnglesMath unfortunately I’m not advanced enough at math.. really enjoyed the video though

  • @oxbmaths
    @oxbmathsАй бұрын

    Very nice video. At 10:00 should the green and purple lines correspond to the respective lengths of the major and minor axes instead?

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    Yes, they probably should. That's a subtlety that escaped me. Thanks for sharing!

  • @oxbmaths

    @oxbmaths

    Ай бұрын

    @@AllAnglesMath 😊 Thanks. Keep up the good work!

  • @05degrees
    @05degreesАй бұрын

    👏👍

  • @APaleDot
    @APaleDotАй бұрын

    tfw The Last Jedi was the only good movie in the final trilogy 😔

  • @AllAnglesMath

    @AllAnglesMath

    Ай бұрын

    Well that's saying something ...

  • @hellfishii
    @hellfishiiАй бұрын

    If you are brave enough read Linear Algebra Done Right, this shit is not PG

Келесі