Gradient Descent in 3 minutes

  Рет қаралды 221,308

Visually Explained

Visually Explained

Күн бұрын

Пікірлер: 88
@user-sb6os
@user-sb6os 3 жыл бұрын
This animation is really great for a small channel like this
@prakhargupta1745
@prakhargupta1745 Жыл бұрын
just a correction, 2:30 is mini-batch stochastic gradient descent since we are iterating over batches
@kitzelnsiebert
@kitzelnsiebert 3 жыл бұрын
Great job! I like that you were even able to talk about some of the different types of gradient decent algorithms, tall task for 3 minutes.
@byronwilliams7977
@byronwilliams7977 2 жыл бұрын
Same here. i studied Applied mathematics, so I have to get up to speed on this rather quickly, I find these videos to be excellent.
@myelinsheathxd
@myelinsheathxd 3 жыл бұрын
That's appealing to see these visual explanations after learning the the concept !
@vivekpujaravp
@vivekpujaravp Жыл бұрын
Best explanation and visualization I've seen. You have incredible talent. Please keep making more.
@billyin4771
@billyin4771 2 жыл бұрын
Very comprehensive and short, love it! Quick and concise!
@VisuallyExplained
@VisuallyExplained 2 жыл бұрын
Thanks so much!
@hrishikeshsrivatsa
@hrishikeshsrivatsa 2 жыл бұрын
First video, where I got clear and precise understanding of the topic
@Leo-vv3jd
@Leo-vv3jd 6 ай бұрын
I really liked the video and the visuals, but I think it would be better without the "generic music" in the background.
@VisuallyExplained
@VisuallyExplained 6 ай бұрын
Thank you for taking the time to post your feedback, this is very useful for the growth of this channel!
@209_Violate
@209_Violate 9 ай бұрын
wow. you have such a talent for explaining things so well compared to the rest of the youtube sphere. i hope you will continue to bless us with your talents.
@snowcamo
@snowcamo 7 ай бұрын
Honestly didn't really help with my questions, but I didn't expect a 3 minute video to answer them. This was very well done, the visualization was great, and everything it touched on (while brief) was concise and accurate. Subbed.
@ah-rdk
@ah-rdk 8 ай бұрын
Hello. Thanks for this great video. Just I believe at 2:20, this variant of Gradient Descent that you explained is called the Mini-Batch Gradient Descent which uses a random subset of the training dataset. Stochastic Gradient Descent is the one that uses just one training record in each iteration.
@khabib8568
@khabib8568 4 ай бұрын
Yeah i have the same doubt
@0N3_01
@0N3_01 9 ай бұрын
Thank you for the clear explanation
@A0G7
@A0G7 4 ай бұрын
i looooooooooove when the background music stops. it tells you to open your eye and focus your ear, a really important revelation is coming ....
@AK56fire
@AK56fire 3 жыл бұрын
Could you please make a video explaining how you made this video.. That would be very VERY helpful.. I've always wanted to use blender to make such animations as you've made, but couldn't make head or tails of it in blender. Most tutorials(and I've seen more than 100 videos) on blender showcase heavyduty animations which have nothing to do with mathematical explanations, as in how to make animations for maths related videos.. Your's is the first video in which I've seen such a thing. Please consider my request and kindly make a video tutorial about it(for the Blender part).
@VisuallyExplained
@VisuallyExplained 3 жыл бұрын
Hey Amit, I am definitely planning to make a video about my workflow, and in particular, how I make the animations. So stay tuned for that! :)
@AK56fire
@AK56fire 3 жыл бұрын
@@VisuallyExplained Will definitely wait for it.. Thanks for considering it. I appreciate it a lot.
@photogyulai
@photogyulai 8 ай бұрын
Huge thanks, it would be fantastic (fellow teacher here:-)
@olivier306
@olivier306 2 жыл бұрын
Literal gift from god this channel
@juanete69
@juanete69 2 жыл бұрын
It mixes very well the theory and a practical example.
@unplandsitch
@unplandsitch Жыл бұрын
Wow this is so well, intuitivly explained
@bilalb95
@bilalb95 Жыл бұрын
Thanks for the amazing explanation and visualization
@dannyk123
@dannyk123 Жыл бұрын
Great video, was wondering how this works if there are multiple minimum points where the data has high dimensionality?
@herronproductions829
@herronproductions829 Жыл бұрын
It works just fine with multiple minimum points in a high dimension. As long as you configure your hyperparameters (learning rate, batch size, etc) correctly, you should have no problem converging to a "decent" minimum.
@World_Admiror
@World_Admiror 10 ай бұрын
Keep up the good work! This viedeo and the whole chanel are amazing! Bravo 👏🏻
@na50r24
@na50r24 7 күн бұрын
For Vanilla GD, are you not supposed to divide by the number of samples in data before performing the update? Or do you just take the sum of this 'accumulated gradient'?
@hariraj4184
@hariraj4184 3 жыл бұрын
Brilliant work 👍
@brainxyz
@brainxyz 3 жыл бұрын
Great Job! well done
@VisuallyExplained
@VisuallyExplained 3 жыл бұрын
Thanks a lot!
@pdebuck1
@pdebuck1 3 жыл бұрын
My professor said “there is no excuse for gradient descent” when conjugate gradient is so easy to implement
@MARCELSOCORÓGARRIGOSA-l6h
@MARCELSOCORÓGARRIGOSA-l6h Жыл бұрын
I have only seen one video and it is helping me a lot! Keep going!
@MrWater2
@MrWater2 11 ай бұрын
funcking incredible explanation in just 3 minutes..wow!
@user-rw6iw8jg2t
@user-rw6iw8jg2t 9 күн бұрын
Isn't it awesome in a simplified way, I was juz implementing OLS for Vanilla linear regression to train the neural networks with some weights and bias and this video popped up was doing some stuff with thje matrix and dot product , I luv Mathematics !!! one thing when we have OLS algo directly why we need to implement OLS with GDA again then wts the use of having OLS algo seperately is it coz of Volume of the data points ?
@eumatheus
@eumatheus Жыл бұрын
Thanks for this, the visualization helps a lot!
@sayyidj6406
@sayyidj6406 9 ай бұрын
excellent vid. do you have a video about PPO in RL?
@ranjanpal7217
@ranjanpal7217 Жыл бұрын
Amazing explanation and visualization
@alanmdl
@alanmdl Жыл бұрын
great video but at around 1:30 my heart dropped it felt like a scary movie since it was all dark lol
@Hateusernamearentu
@Hateusernamearentu 4 ай бұрын
very smart. But I still need another video presenting differential to help understand the slope, opposite direction thing in 2D. But this is clear. Also I like the small step demonstration.
@error-my9ut
@error-my9ut Жыл бұрын
thanks for visualization it really helped .
@thebrucecyou
@thebrucecyou 3 жыл бұрын
Excellent video!
@Darkev77
@Darkev77 3 жыл бұрын
Proximal GD next please!
@Urammar
@Urammar 9 ай бұрын
How does this actually apply in reverse, though? How do you apply this
@AK56fire
@AK56fire 3 жыл бұрын
Which software did you use to make those animations.
@VisuallyExplained
@VisuallyExplained 3 жыл бұрын
I used Blender3D (with python) for all 3d scenes. The rest is a combination of After Effects and the python library manim
@abdulghanialmasri5550
@abdulghanialmasri5550 3 жыл бұрын
Great video, would you consider some topics in numerical analysis, like gaussian quadrature???
@rasmil77
@rasmil77 4 ай бұрын
Helpful for revising the topic :)
@fabricetshinangi5042
@fabricetshinangi5042 3 жыл бұрын
Can you please post a link or titles of materials(books) on this topic tsht one can go through . I really need to learn this topic. Thank you
@VisuallyExplained
@VisuallyExplained 3 жыл бұрын
Great idea! Boyd's book is a good starting point (page 463 of web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf). I will try to add more references to the video description in the future.
@fabricetshinangi5042
@fabricetshinangi5042 3 жыл бұрын
Thank you
@alirezaakhavi9943
@alirezaakhavi9943 10 ай бұрын
really nice animation, explanation and content than you very much for sharing! :)
@TimCrinion-j2r
@TimCrinion-j2r 9 ай бұрын
Is this the same as Newton's method, or the Newton-Raphson method?
@jayp9158
@jayp9158 Жыл бұрын
My fav video about this
@JuanCarlosAraujoCabarcas
@JuanCarlosAraujoCabarcas 2 жыл бұрын
Interesting topic and comparison. Since you are using information from past iterations, it would be very illustrative to include a quasi-newton in your comparison. For example the BFGS.
@VisuallyExplained
@VisuallyExplained 2 жыл бұрын
Thanks, and great suggestion!!!
@md.sarowarhossainrana4787
@md.sarowarhossainrana4787 3 ай бұрын
what is the ita?
@tarekbenzyad6766
@tarekbenzyad6766 Ай бұрын
i was about to ask the same thing , he suddenly introduced it into the cost function as a paramter then never talked about what it meant
@tsunningwah3471
@tsunningwah3471 Жыл бұрын
simplex method please
@incrediblekullu7932
@incrediblekullu7932 2 ай бұрын
how you make these videos ? manim ??
@zzzzzz-zzz-789
@zzzzzz-zzz-789 Жыл бұрын
great video, thanks!
@Zethuzzz
@Zethuzzz 9 ай бұрын
Adam usually works quite good
@John-wx3zn
@John-wx3zn 8 ай бұрын
What is gradient descent trying to find?
@at1with0
@at1with0 8 ай бұрын
To minimize cost/error of a learning model
@charlesyang7233
@charlesyang7233 2 жыл бұрын
This is amazing
@AK56fire
@AK56fire 3 жыл бұрын
Great Animation buddy.. Cool..
@VisuallyExplained
@VisuallyExplained 3 жыл бұрын
Thank you! Cheers!
@wearedoingsomething
@wearedoingsomething 2 жыл бұрын
Huge thank you!
@viddeshk8020
@viddeshk8020 2 жыл бұрын
Wow, 😊❤️ love it
@VisuallyExplained
@VisuallyExplained 2 жыл бұрын
Thank you! Cheers!!!
@arnaupinto5890
@arnaupinto5890 3 жыл бұрын
awesome
@emirhandemir3872
@emirhandemir3872 11 ай бұрын
Amazing !!!
@cedricmanouan2333
@cedricmanouan2333 Жыл бұрын
magnificent 🔥😧
@guillecobo_
@guillecobo_ 2 жыл бұрын
great video
@VisuallyExplained
@VisuallyExplained 2 жыл бұрын
Great comment, thanks!
@andrewt15
@andrewt15 3 жыл бұрын
dope
@Hans_Magnusson
@Hans_Magnusson Жыл бұрын
As you might know I studied this topic in London… I obviously aced it.😂
@FaberLSH
@FaberLSH 5 ай бұрын
Good!
@yassinom2466
@yassinom2466 Жыл бұрын
veeeeery nice
@fulljsu3glitches
@fulljsu3glitches Ай бұрын
And how the fuck i get the n ??
@marinamaged962
@marinamaged962 2 ай бұрын
i dont get it lol
@-leaflet
@-leaflet Жыл бұрын
Wow
@Christoo228
@Christoo228 7 ай бұрын
sagapo
@tsunningwah3471
@tsunningwah3471 4 ай бұрын
房山
@mohammadnasser9951
@mohammadnasser9951 2 жыл бұрын
Damn calculus. I understand nothing.
Gradient Descent, Step-by-Step
23:54
StatQuest with Josh Starmer
Рет қаралды 1,4 МЛН
Gradient descent, how neural networks learn | DL2
20:33
3Blue1Brown
Рет қаралды 7 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
gradient descent & loss functions
4:28
pranav
Рет қаралды 741
Why Neural Networks can learn (almost) anything
10:30
Emergent Garden
Рет қаралды 1,2 МЛН
Accelerate Gradient Descent with Momentum (in 3 minutes)
3:18
Visually Explained
Рет қаралды 38 М.
The Most Important Algorithm in Machine Learning
40:08
Artem Kirsanov
Рет қаралды 546 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,1 МЛН
Intro to Gradient Descent || Optimizing High-Dimensional Equations
11:04
Dr. Trefor Bazett
Рет қаралды 77 М.
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 259 М.
Building the Gradient Descent Algorithm in 15 Minutes | Coding Challenge
22:29
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН