369 points · by vimalvnair · 8y ago · 86 comments
https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2x...
In one of the last videos in the (relatively short) series, he discusses eigen-*:
~'eigen-stuffs are straight-forward but only make sense if you have a solid visual understanding of the pre-requisites (linear transformations, determinants, linear systems of equations, change of basis, etc.). Confusion about eigen-stuffs usually has more to do with a shaky foundation than the eigen-things themselves'
All of the videos in the series, including this later one on eigen-things, focus on animations to show what the number crunching is doing to the coordinate system.
He's the creator I support the most on Patreon: https://www.patreon.com/3blue1brown
http://setosa.io/ev/principal-component-analysis/
(edit: ugh, contains an ad for MacKeeper)
Any recommendations? I would love to look into channels that you think are like 3Blue1Brown but in other subjects (natural sciences, history, art etc.).
PBS Space Time and Eons are both awesome:
* PBS Space Time, covers cosmology and quantum physics:
https://www.youtube.com/channel/UC7_gcs09iThXybpVgjHZ_7g
* PBS Eons, for geology and paleontology:
https://www.youtube.com/channel/UCzR-rom72PHN9Zg7RML9EbA
* Smarter Every Day, Destin's enthusiasm is contagious:
https://www.youtube.com/user/destinws2
* Extra Credits various topics (video game design, History, and recently history of Sci-Fi) are great:
https://www.youtube.com/user/ExtraCreditz
* Today I Found Out is just on this side of clickbaity, and is this age's "Ripley's Believe It Or Not", but still interesting and more importantly well researched:
https://www.youtube.com/user/TodayIFoundOut
* Crash Course, of course:
https://www.youtube.com/channel/UCX6b17PVsYBQ0ip5gyeme-Q
* Gaming Historian, for some insight into the making of systems that formed my (and earlier) childhood:
https://www.youtube.com/channel/UCnbvPS_rXp4PC21PG2k1UVg
* Minute Physics, whose latest few videos made Special Relativity understandable to this peon:
https://www.youtube.com/user/minutephysics/videos
* Practical Engineering, for some insight into civil engineering topics that we take for granted:
https://www.youtube.com/channel/UCMOqf8ab-42UUQIdVoKwjlQ
* Real Engineering, for insight into various other mechanical engineering topics:
https://www.youtube.com/channel/UCR1IuLEqb6UEA_zQ81kwXfg
* Standup Maths, host Matt Parker was the first to make maths approachable for me again (before 3Blue1Brown took the lead):
https://www.youtube.com/channel/UCSju5G2aFaWMqn-_0YBtq5A
* Steve Mould, who covers various topics both mathematical and physical. You may have seen that gif of him demonstrating the "levitating" siphoning "pearl necklace" (also a friend of Matt Parker, above):
https://www.youtube.com/channel/UCEIwxahdLz7bap-VDs9h35A
* The 8-Bit Guy, for some history of early home computer systems:
https://www.youtube.com/channel/UC8uT9cgJorJPWu7ITLGo9Ww
* Numberphile, the second-greatest math channel (after 3Blue1Brown), whose recent video finally made me take the Golden Ratio seriously, rather than an architectural gimmick/conspiracy theory:
https://www.youtube.com/user/numberphile
* Mathologer, another good math channel (but I must sheepishly admit I prefer 3Blue1Brown... sensing a pattern here?):
https://www.youtube.com/channel/UC1_uAIS3r8Vu6JjXWvastJg
* Periodic Videos, for chemistry and physics, often featuring the iconic Dr Martyn Poliakoff:
https://www.youtube.com/channel/UCtESv1e7ntJaLJYKIO1FoYw
* NileRed, for some homegrown chemistry, I particularly appreciate the candor of the approach and results:
https://www.youtube.com/user/TheRedNile
Not quite as much "educational", but still very very good:
* Every Frame A Painting, now finished, but a great explanation of what makes good cinematography:
https://www.youtube.com/channel/UCjFqcJQXGZ6T6sxyFB-5i6A
* NoClip, long-form documentaries about the making-of video games. Danny O'Dwyer is a treasure:
https://www.youtube.com/channel/UC0fDG3byEcMtbOqPMymDNbw
Apologies for the link spam, this list turned out longer than I expected as I went down my subscriptions, and I've probably missed a few worthy ones!
Edit the final: I discovered many of these channels through referrals from others I was watching, including from the twitter feeds of the authors. Turns out the educational landscape on YouTube is a well-connected graph!
Neither of those subjects really clicked with me until I could visualize it in a 2D / 3D representation
I’ve written a bunch of scientific data analysis code. I have a science PhD. Written large image analysis pipelines that worked as well as the state of the art... been published etc.
For the most part I’ve found basic math and heuristics to be good enough. Every so often I go relearn calculus. But honestly, none of this stuff ever seems to come in handy. Maybe it’s because most of what I encounter is novel datasets where there’s no established method?
I reasonably regularly pick up new discrete methods, but the numerical stuff never seems super useful...
I don’t know, just a confession I guess... it never comes up on interviews either for what it’s worth.
First, linear transforms map spheres to ellipsoids. The axes of the ellipsoid are the eigenvectors.
Second, linear transforms map (hyper) cubes to parallelpipeds. If you start with a unit cube, the volume of the parallelpiped is the determinant of the transform.
That more or less covers covariances, PCA, and change of variables. Whenever I try to understand or re-derive a fact in probability, I almost always end up back at one or the other fact.
They're also useful in multivariate calculus, which is really just stitched-together linear algebra.
The symmetric case is by far the most relevant for probability theory though.
(1, 0, 0)
(0, 1, 0)
(0, 0, 1)
To find out where those axes are after a 3x3 matrix transform, you just read off the first, second, and third columns of the matrix respectively. Then you can mentally visualize another unit cube in the new coordinate system using those three vectors as the edges of the cube.
Really basic change-of-basis stuff but academic lectures don't emphasize how useful it is to be able to look at a matrix of numbers immediately know what it does.
They're in the same class as logarithms and Fourier transforms IMHO. You won't need to calculate them by hand, but you should know what they do and why they're important.
If you just want to be a statistical script kiddie you do you. :)
My feeling is having a basic knowledge of testing/caching/memory management is way more useful when you're doing large image analysis.
I really would like to find an application in my work, because without that I find new techniques don’t really stick and after a few months I forget them...
Forgetting stuff you don't use is pretty normal, the important thing is to be able to recognize when a technique you don't remember the details of might be applicable, and to know where to look to refresh your memory.
Usually I go through the code and ask "what am I trying to do here" and "can I do this a better way". A lot of the aforementioned speedups have come because the previous developer was obviously trying to do something, like create a linear projector, but were following some sort of math formula, so made a bunch of extraneous matrices that were huge.
It's a simple fix, but adds up when you're dealing with massive datasets.
Just from the top of my head, you could have encountered eigenvectors/eigenvalues:
- if you ever used spectral graph algorithms
- if you ever done dimensionality reduction via principal component analysis
- if you ever calculated the steady state distribution of a Markov chain
A fun book on this is https://openlibrary.org/books/OL2398351M/The_algebraic_eigen...
That's a bit uncharitable. A fourier decomposition can absolutely be understood as an explicit bag of calculus tricks, with no loss of precision or generality. And an awful lot can be done with just those tools -- you don't need to explain JPEG compression or VLBI astronomy in terms of eigenvectors, for example.
Obviously (heh, "obviously") it's true that the space of decomposed functions form an orthogonal basis, so technically we're "really" operating in a linear space and that has expressive power too. But there are lots of ways of looking at problems.
To wit, you're not wrong. You're just... Well, you know.
So... yes I guess I’ve just not seen anywhere in my work where this stuff has proved useful...
Maybe one day vicapow and I will make a triumphant return to the explorables space, but life has a way of getting in the way as you get older.
Multivariable function extrema? Just look at the eigenvalues of the hessian. Jacobi method convergence? Eigenvalues of the update matrix. RNN gradient explosion? Of course, eigenvalues.
[0] https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2x...
https://www.rose-hulman.edu/~bryan/googleFinalVersionFixed.p...
To imagine finding the eigenset, just ask, could I draw a line through 0,0 such that any point I put on it would stay on it after the matrix acted?
Maybe I'm being pedantic, but rotation matrices have eigenvectors and eigenvalues, but the eigenvalues are imaginary because imaginary numbers are rotations in the complex plane.
It's exactly like saying x^2 = -1 has no solutions: It has two solutions, like any other quadratic, but neither of them are real.
In three dimensions, rotation matrices have three eigenvalues, one of them being 1, and the eigenvector corresponding to that eigenvalue is, naturally, the rotation axis.
Rotations have eigenvectors: a 2D rotation has two complex eigenvectors, a 3D rotation has one real and two complex eigenvectors, ...