Least Squares Formula PROOF

  Рет қаралды 9,995

Virtually Passed

Virtually Passed

Күн бұрын

Пікірлер: 52
@martinzapata7289
@martinzapata7289 2 жыл бұрын
This proof uses the minimising vector theorem, but I guess it’s fine not to explain it since the presentation is very visual. Very clear, I like it!
@JUXIX101
@JUXIX101 4 ай бұрын
Best video I've seen on this topic thus far
@virtually_passed
@virtually_passed 4 ай бұрын
Thanks 😊
@kevinnania3652
@kevinnania3652 2 жыл бұрын
Absolutely beautiful.
@jaafars.mahdawi6911
@jaafars.mahdawi6911 Жыл бұрын
Indeed we liked it. Very. Well done.
@HimuraK1
@HimuraK1 Жыл бұрын
Excellent video! Thank you!
@LQC783
@LQC783 4 ай бұрын
Perfect explanation. Thank you!
@virtually_passed
@virtually_passed 4 ай бұрын
Glad you enjoyed it!
@SamKwak-q4m
@SamKwak-q4m 9 ай бұрын
Fantastic. Keep it up!
@chadx8269
@chadx8269 Жыл бұрын
Very nice, now its stuck in my brain.
@posi0504
@posi0504 Жыл бұрын
Thank you!!!!
@ShahbazKhalilli
@ShahbazKhalilli Жыл бұрын
this was insaneeee
@noonesperfect
@noonesperfect 2 жыл бұрын
Great explanation.
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks :)
@chandraprakash934
@chandraprakash934 2 жыл бұрын
Amazing ! keep up the good work :)
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks!
@aniruddhvasishta8334
@aniruddhvasishta8334 2 жыл бұрын
Awesome! When I saw that everything was on a plane I assumed you would find the orthogonal projection of b with the projection matrix that I vaguely recall from my intro linalg class. This solution seems more elegant tho.
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks for the kind words. Using the projection vector formula is indeed another method that can work :)
@ShalevWen
@ShalevWen Жыл бұрын
Since A has only 2 columns, its rank is at most 2 and so is the rank of A^t*A, which means that if you have more than 2 data points there is no inverse
@MrRyanroberson1
@MrRyanroberson1 2 жыл бұрын
Notice (AB)^-1 = B^-+ A^-1 and matrices are associative, therefore the final result is A^-1 b after simplification, so really this can be taken as a fancy way of inverting irregular shaped matrices
@chadx8269
@chadx8269 Жыл бұрын
Assuming (transpose A) has a left inverse. Then x= (inverse A)*b. But what if (Inverse (transpose A))* (transpose A) not equal to Identity.
@SuperSeaguard
@SuperSeaguard 3 ай бұрын
I wish I had visualizations like this while learning calculus / differential equations. We humans are visual learners. Math without visualization is very difficult to learn.
@martinsanchez-hw4fi
@martinsanchez-hw4fi 2 жыл бұрын
Wonderful
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks!
@zeroheisenburg3480
@zeroheisenburg3480 2 жыл бұрын
Cool Video. May I asked what did you use to draw animation for 3d planes and coordinates system?
@virtually_passed
@virtually_passed 2 жыл бұрын
Hey I used ManimCE. It's a python library made by 3b1b
@DavidKenny64
@DavidKenny64 Жыл бұрын
How much more complicated would it be if the pins were not in the shape of a circle, but maybe the shape of a horse? A picture in a silhouette.
@virtually_passed
@virtually_passed Жыл бұрын
I think you meant to comment on my string art video? :} for the method shown in the video it's no additional hassle at all! It's the exact same method. The A matrix will just change. Fun fact: depending on which way you wrap your string around the nails, you can get a slightly different ending angle and starting angle, so you can effectively get 4x nails. This irregular spacing of nails can be stored in the A matrix
@DavidKenny64
@DavidKenny64 Жыл бұрын
@@virtually_passed You are correct. I had followed the link in your string art video to this one and then commented here. Do you plan to sell or release the calculations for people who just want to create computer art?
@tsunningwah3471
@tsunningwah3471 Ай бұрын
what does angle mean in higher dimension say a dot b = |a||b|cos theta what does theta mean if a b are like 5 dimension vectors? thanks
@virtually_passed
@virtually_passed Ай бұрын
Intuitively I can only tell you what it means up to 3 dimensions. Imagine drawing two vectors in 3 dimensions. Then draw a plane that is spanned by both of those vectors. The angle on that 2 dimensional plane between these vectors will be theta. After 3 dimensions all intuition falls apart. I can only loosely tell you that theta is a measure of how 'similar' the two vectors are.
@tsunningwah3471
@tsunningwah3471 Ай бұрын
@ thanks
@dothuong-f1e
@dothuong-f1e Жыл бұрын
Help me explain sensitivity of variable A
@nehalkalita
@nehalkalita Жыл бұрын
Which software do you use for the animations?
@virtually_passed
@virtually_passed Жыл бұрын
I used Manim. A free python library
@nehalkalita
@nehalkalita Жыл бұрын
Okay. Since the background colour is not black and the font is different unlike many other videos of Manim, I could not figure out it was an output from the same tool.
@AlokKumar-kk8pj
@AlokKumar-kk8pj 2 жыл бұрын
Sir please don't put background music. Great content
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks for the feedback!
@halmirofigliolo1637
@halmirofigliolo1637 2 жыл бұрын
@@virtually_passed I like it
@gigastein3151
@gigastein3151 2 жыл бұрын
Sir can you make a whole playlist of mechanics, I really understand you really well. Please sir
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks for the comment. It's in the pipeline!
@gigastein3151
@gigastein3151 2 жыл бұрын
@@virtually_passed Thanks sir, idk you are one of the best for mechanics, I am struggling with mechanics and your summary helped very much. I hope you will upload all of the playlist of the mechanics. Thanks for you efforts.
@gigastein3151
@gigastein3151 2 жыл бұрын
@@virtually_passed sir do you use any social media, as if I have any conceptual doubt. I will ask you.
@virtually_passed
@virtually_passed 2 жыл бұрын
@@gigastein3151 I have a Facebook page. But you can email me at virtuallypassed@gmail.com
@gigastein3151
@gigastein3151 2 жыл бұрын
@@virtually_passed oh do you use applications like discord
@juanramonvazquez3212
@juanramonvazquez3212 2 жыл бұрын
bro, change the title while not many people has seen it yet lol (typo)
@virtually_passed
@virtually_passed 2 жыл бұрын
Thanks for the warning! I've changed it. For those not knowing what this is about; I stupidly misspelled the word "squares" :x
@dariusgoh5314
@dariusgoh5314 Жыл бұрын
Doesn’t this proof only make sense for when A has 2 columns . Then the column space of A is a plane
@一個平民
@一個平民 Жыл бұрын
This video used a 3d to 2d projection for better visualization But i believe those concept used (projection, orthogonality, dot product etc) are still viable in higher dimensional spaces so the prove should be similar
@virtually_passed
@virtually_passed Жыл бұрын
Yes you're right. But this idea can be generalized to N dimensions. Usually the projection is used and not a manual dot product as I showed. I did that because that seemed more intuitive and simple to me
Fitting a Line using Least Squares #SoME2
17:06
Virtually Passed
Рет қаралды 62 М.
Linear Systems of Equations, Least Squares Regression, Pseudoinverse
11:53
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
The Mathematics of String Art
10:36
Virtually Passed
Рет қаралды 587 М.
Least Squares Approximation
8:04
MIT OpenCourseWare
Рет қаралды 63 М.
Least squares I: Matrix problems
10:00
Lorenzo Sadun
Рет қаралды 162 М.
The 7 Levels of Math Symbols
14:03
The Unqualified Tutor
Рет қаралды 73 М.
Least squares | MIT 18.02SC Multivariable Calculus, Fall 2010
9:04
MIT OpenCourseWare
Рет қаралды 283 М.
Padé Approximants
6:49
Dr. Will Wood
Рет қаралды 446 М.
Linear Least Squares to Solve Nonlinear Problems
12:27
The Math Coffeeshop
Рет қаралды 35 М.
Least squares using matrices | Lecture 26 | Matrix Algebra for Engineers
10:15
What is Least Squares?
2:43
AlphaOpt
Рет қаралды 86 М.