Gradient Descent From Scratch | End to End Gradient Descent | Gradient Descent Animation

  Рет қаралды 134,158

CampusX

CampusX

Күн бұрын

This is a comprehensive guide to understanding Gradient Descent. We'll cover the entire process from scratch, providing an end-to-end view. Plus, witness a visual representation with a Gradient Descent animation.
Code used: github.com/campusx-official/1...
Google Tool used: developers.google.com/machine...
============================
Do you want to learn from me?
Check my affordable mentorship program at : learnwith.campusx.in/s/store
============================
📱 Grow with us:
CampusX' LinkedIn: / campusx-official
CampusX on Instagram for daily tips: / campusx.official
My LinkedIn: / nitish-singh-03412789
Discord: / discord
E-mail us at support@campusx.in
⌚Time Stamps⌚
00:00 - Intro
01:15 - Summary of Gradient Descent
04:10 - What is gradient descent?
05:22 - Plan of attack
07:25 - Intuition for GD
28:45 - Mathematical Formulation of Gradient Descent
36:11 - Code Demo
47:41 - Creating our own class and methods
57:16 - Vizualizing our class
01:05:05 - Effect of Learning Rate
01:07:33 - Universality of GD
01:10:23 - Performing Gradient Descent by adding 'm'
01:14:15 - Vizualisation
01:23:48 - Code Demo and Vizualization
01:44:35 - Effect of Learning rate
01:49:25 - Effects of Loss Function
01:55:12 - Effect of Data

Пікірлер: 409
@saptarshisanyal6738
@saptarshisanyal6738 Жыл бұрын
It is really shocking how pathetic are NPTEL Professor explaining this same topic. They are from IITs but all the time keep notes in their hand and explain the stuffs arbitrarily, and here is this guy - cool,calm, composed and confident. I am 42, and I guess I am atleast 12 years older than him but still I respect him like anything as a teacher.
@Ram_jagat
@Ram_jagat Жыл бұрын
Every word is 💯 true. Such a great teacher he is..
@anonymous_4276
@anonymous_4276 8 ай бұрын
I really enjoyed the explanation of a few IIT professors like Mitesh Khapra. I think the issue is that a strong grasp of mathematics is a prerequisite for those lectures.
@sciencewallah1306
@sciencewallah1306 8 ай бұрын
You are Great
@Anomly300
@Anomly300 7 ай бұрын
@@anonymous_4276 SAME HERE ONLY POINT TO ADD THAT FOR ML NPTEL NOBODY TOUGHT IN SAME WAY
@kindaeasy9797
@kindaeasy9797 6 ай бұрын
iit mai teachers private college se bhi ghatiya hai , mai khud you tube se padh rha hu
@akash.deblanq
@akash.deblanq 2 жыл бұрын
I really liked the last philosophy wala quote. I am really in a place in my employment journey that I don't personally like. I really want to get into ML and DS and trying my best to learn. Hopefully I'll reach the global minima soon. Thanks a ton for sacrificing so much for making these videos. I'll never forget you. Whoever asks me about starting ml and is Indian, the only playlist I suggest is yours.
@vaishnokmr
@vaishnokmr 2 жыл бұрын
I'm just wandering here and there for clearing what is an actual gradient descent ..Wow explanation...I'm not bored a single minute. it's an addictive explanation...
@amitbohra9283
@amitbohra9283 28 күн бұрын
Bhai mai generally comment karta nahi, but Sir ki ek baat mujhe sabse jyada passand hai, wo hai Sir kabhi ghaans nahi kaat te, aise nahi ki 99 pe chod diya, 100 poora karke hi padhayenge, example bola hai to example poora deke hi samjhayenge, code karke hi batayenge. Hats Off sir. Bohot late discover kiya aapko, but thank you for you effort.
@user-gt7fc6jt8z
@user-gt7fc6jt8z 10 ай бұрын
Nitish Sir's CampusX channel is no less than a binge web series. The way he hooked up me with all his videos in 100 days of ML, no one else would have done that, and I know, lot of people with me are drawing inspirations from you and learning positively. Thanks a lot
@maniaccoder2678
@maniaccoder2678 3 жыл бұрын
App jo kam kar rahe ho ye muje paid course me nahi mila sir... thank you sir
@sonu_1911
@sonu_1911 2 жыл бұрын
same
@jatinakad
@jatinakad Жыл бұрын
This channel is still underrated. Keep doing your excellent work Nitish and please don't let any big organisation buy you. Please try to make your courses accessible or affordable always. We need more teachers like you. Good Luck!
@akzork
@akzork 2 жыл бұрын
Just finished the video. I have no words. I learned python through your " 100 days of python" playlist. I am in the middle of the "100 days of ML" playlist. I think this video without a doubt is your best work to date. What a beast of a teacher you are.
@yashshrivastava1612
@yashshrivastava1612 Жыл бұрын
It is just awesome how not even paid courses could make me understand gradient descent in such easy manner, I'm Just flabbergasted by the way you teach because you've been in our shoes and you understand all the problems that we might face while understanding such topics. I can't Thank You enough Nitish. Can only pray that you achieve more than what you aspire for.
@shreyasur1534
@shreyasur1534 12 күн бұрын
The best video on gradient descent ever Nitish Sir!
@NabidAlam360
@NabidAlam360 4 ай бұрын
Never stop teaching brother! You are making this an art!!!
@anuragkothari8384
@anuragkothari8384 Күн бұрын
Honestly i have't find anything better than you ML videos. Thanks
@arindammallik4974
@arindammallik4974 11 ай бұрын
Exceptionally clear step by step explanation.
@prableen8755
@prableen8755 Ай бұрын
WOW, the way you explained it....this can not get any simpler. SUPER GLAD I found your playlist. Thanks a lot.
@zaedgtr6910
@zaedgtr6910 7 ай бұрын
God giifted teacher of Data SCience.....appreciate your efforts.....there is no one as good as you in whole youtube platform who explain these things from the very basic...I am a commerce student and still able to understand the mathematical part just because of you. Thank you so much.
@bhanu0925
@bhanu0925 2 жыл бұрын
I will never forget gradient descent. Awesome explanation. Thank You
@MrAmarSindol
@MrAmarSindol Жыл бұрын
Watched it again.... excellent and extreme excellent !! sukoon milta hai kuch aisa content samajne me !!
@ManavMSanger
@ManavMSanger 2 күн бұрын
These videos are pure gold. I cant tell you how good these videos are.
@manyagupta6375
@manyagupta6375 10 ай бұрын
In everyone's life, there is atleast one teacher who changes the meaning of learning for them and you're just that for me. I feel so grateful for having come across your channel. Thabk you so much sir!! After so many months and tutorials, I am finally having fun learning ML.
@abhaykumaramanofficial
@abhaykumaramanofficial Жыл бұрын
I have never seen such a teacher like you...I spent a long time to complete this video...and finally finished...thank you for providing such a great content
@virajkaralay8844
@virajkaralay8844 8 ай бұрын
Words are not enough for the efforts you have taken to make this explanation so seamless and at the same time so comprehensive. Thank you Nitish Sir.
@rb4754
@rb4754 Ай бұрын
You nailed it... How beautifully you explained it... with theory, graphs, codes.. this is a complete package...
@swatibansal4045
@swatibansal4045 2 жыл бұрын
One of the best Gradient descent videos that I have seen on the internet. Amazing visualization, amazing code. Thank you once again for sharing such deep knowledge with your subscribers.
@sameerpandey5561
@sameerpandey5561 2 жыл бұрын
The way you implement code behind the math of every algorithm makes it super easy ....
@harshadapatke885
@harshadapatke885 2 жыл бұрын
Best Explanation of Gradient Descent I ever have, I will never forgot. Thank you so much for making this easy for us! Waiting for you Deep Learning Playlist.
@Theoratorscorner
@Theoratorscorner Ай бұрын
bro honestly you are a gem lots of love and success
@kedarshiral6391
@kedarshiral6391 Жыл бұрын
I have watched it 5 times... trust me it is a really addictive and nostalgic explanation that I have seen never before... you are amazing man ... hats off
@marselwidianto4387
@marselwidianto4387 Жыл бұрын
Sir I really want to thank you. Can't express in words about the impact which you have put in my life
@nazneenkhan8058
@nazneenkhan8058 11 ай бұрын
I am a complete beginner to this field.. transitioning from my current job in construction to tech and I’ve been have a horrible time understanding from my “professional bootcamp” .. I was feeling completely lost before you and considered quitting .. I honestly cannot thank you enough for everything!
@arun5351
@arun5351 2 жыл бұрын
Loved the philosophical angle you've given to Gradient Descent Nitish! :) One might be quite afar from his/her goal or the rightful place in life but even smallest consistent steps in the right direction will eventually takes us there.
@230489shraddha
@230489shraddha 2 жыл бұрын
It is a brilliant tutorial on Gradient descent. Clears all the doubts. Salute to your hard work and dedication for teaching.
@rijanpokhrel9281
@rijanpokhrel9281 6 ай бұрын
best teacher I have ever met in my life...too good ..no words.....Love from Nepal
@yogeshsariya4259
@yogeshsariya4259 Жыл бұрын
The introduction of topic, pace of teaching, concept clarification, demonstration everything is excellent.
@chaitanyalarokar5308
@chaitanyalarokar5308 Жыл бұрын
I think i would never forget this content. you are AMAZING!!
@karthikiyer3396
@karthikiyer3396 3 ай бұрын
The best explanation to the concept of Gradient Descent. Indeed the best data science concept video ever came across.
@_im.maddy_
@_im.maddy_ Ай бұрын
Great Video, highly appreciated to discuss all points :)
@MuhammadAfzal-xl7wd
@MuhammadAfzal-xl7wd 3 ай бұрын
thank u so much for this amazing information. and making it so simple to understand.
@kumarmanishpradhan
@kumarmanishpradhan Ай бұрын
One of the best videos in Machine Learning and the important concept like Gradient Descent. It's been a few days I was searching here and there but not found any profound understanding like this. Love you sir. You owe a lot of love and respect.
@qadirhussain7679
@qadirhussain7679 25 күн бұрын
The best explanation of gradient descent that I've ever seen
@manashjyotiborah530
@manashjyotiborah530 11 ай бұрын
This is the best video I found for understanding gradient descent. You are one of the best teachers that I have ever learned from.
@flower88able
@flower88able Жыл бұрын
Unbelievable explanation. Never ever seen a such detailed explanation. Amazing. Keep inspiring and going. Thanks a lot.
@editor_india_2024
@editor_india_2024 2 жыл бұрын
The best explanation of gradient descent using python ever I found. Thank you sir for making such a great videos!!
@ketanpande2297
@ketanpande2297 Жыл бұрын
thank you for the line you said last ... very help full video ...
@maze2552
@maze2552 19 күн бұрын
what a amazing video sir! so much love from this side
@ShivankMishra-j6j
@ShivankMishra-j6j 14 күн бұрын
this is the best without a doubt, thank u sir!!
@geetanshusinghnegi2672
@geetanshusinghnegi2672 9 ай бұрын
Superb🎉 Explanation... Longest video ever i watched on youtube
@hammadfaheem5979
@hammadfaheem5979 Жыл бұрын
I have been teaching Python Data Analytics and Machine Learning related subjects Internationally. I have been using your course work and following your way of teaching to them and students were like WOOWW how do learn that and appreciating my explanation. This all belongs to you, you are like live saver. So much respect from Pakistan Thank you.
@akshaykadam4672
@akshaykadam4672 Жыл бұрын
What a content, OMG, love it. Simply amazing! Such a awesome teacher.
@pavantripathi1890
@pavantripathi1890 Ай бұрын
Thanks a lot for the wonderful video!
@rajeswarsingh256
@rajeswarsingh256 Жыл бұрын
one of the best videos on youtube for gradient descent.👍👍
@SaifaliKhan-zk6sh
@SaifaliKhan-zk6sh 8 ай бұрын
what a depth of explanation on Gradient Descent in the whole history of KZbin,, Thanks a lot sir
@user-xb8mk4ju4z
@user-xb8mk4ju4z 8 ай бұрын
Its Awesome the way you've explained. Really loved it.
@sanaayakurup5453
@sanaayakurup5453 Жыл бұрын
This video and channel needs millions of views. Thankyou, i never understoof GD but now its all clear
@nikhitatripathi7728
@nikhitatripathi7728 2 жыл бұрын
This was such an amazing explanation, I'm not from a Maths/Engineering background but I could pretty much follow everything because it was done so seamlessly. Looking forward to watching more videos, Kudos!
@dineshpandey7232
@dineshpandey7232 Жыл бұрын
One of the best videos I found here. You have a really good command on the topic. In depth knowledge
@manaswinim7775
@manaswinim7775 Жыл бұрын
Oh my God ! can anyone else make us understand such a difficult concept soooo simplified manner ?! Kudos and Respect to Nitish Sir . May God bless you.
@ramanmaini1931
@ramanmaini1931 Жыл бұрын
Great sir. you live long. God will bless you everything. Prayer from core of my heart. This is real humanity service.
@cybermascot
@cybermascot 11 ай бұрын
You are a brilliant teacher. you just nailed the concept, I was searching step by step math behind GD and you elaborated every single step with such a fine detail. Earlier i was a bit confused but now i can nail it. Thanks a lot Guru.
@alkamankar9813
@alkamankar9813 Жыл бұрын
when I read Gradient Descent first time it was horror for me , but when I saw this video , I came to know it is not so difficult as I thought. Sir, You are very great teacher.Hats off to your hardwork. God bless you. When I found this channel, subscribed it immediately & also shared it with my friends. Lot of thanks from newcomers like us to this field.
@tusharshukla9361
@tusharshukla9361 Жыл бұрын
watched this video from start to end without getting bored, lots of love and respect Sir 💖💖🙏🙏🙏🙏
@aameenmd6659
@aameenmd6659 5 ай бұрын
great work sir, still after 2 years your videos are the most relevant for DS and im in my training period of my ML engineer job and i think this will help me boost my career by far. love from delhi
@deyslearning6198
@deyslearning6198 Жыл бұрын
I have never seen such a video on KZbin Thanks Sir ji
@shubhamrawat5299
@shubhamrawat5299 2 жыл бұрын
Thank you, Sir, For This Lovely Tutorial Video. With this many graphs and Practical implementation, I will never Forget Gradient Descent.
@somanshkumar1325
@somanshkumar1325 Жыл бұрын
I really can't thank you enough for this amazing explanation. Hats off to you for putting so much effort in creating such a high-value content.
@dakshbhatnagar
@dakshbhatnagar Жыл бұрын
I actually have no words to say how good this video is. 🔥
@karangupta3491
@karangupta3491 Жыл бұрын
sir watching you is REALLYY worth it *IN TRUE SENSE*
@utsavtank559
@utsavtank559 Жыл бұрын
Great Video!!! Thankful and Greatful.
@minhazuddin722
@minhazuddin722 2 жыл бұрын
Damn perfect as it was from every aspects.
@imusama
@imusama Жыл бұрын
That was the best video I've ever watched on gradient descent. I was searching for just one video that could teach me what GD is, and I couldn't find any. Thank you for this thorough explanation, sir. If you were in front of me, I would have kissed your hands.
@UnpluggedSalman
@UnpluggedSalman 2 ай бұрын
A heart ❤ for your hard work on the gradient descent video sir... Your explanation was the finest explanation i have got on this topic. .. Loved it sir
@bhawna4766
@bhawna4766 Жыл бұрын
Amazing video. Understood every single point just by watching it once. Really appreciate your efforts on doing so much research and making it so simple for beginners.
@NehaSingh-fb8kj
@NehaSingh-fb8kj 6 ай бұрын
Thank you for making such quality videos. Really helped.
@rahultekade6446
@rahultekade6446 2 жыл бұрын
Hats off Thanks for your guidance 💐
@SaadKhan-gf9ui
@SaadKhan-gf9ui 6 ай бұрын
Hatts off man...well explained and appreciate your hardwork❤
@kamalchoudhary735
@kamalchoudhary735 3 жыл бұрын
now i got the concept of GD clearly ,thank you so much ... you really explain well...
@user-xw6os9qp6h
@user-xw6os9qp6h 12 күн бұрын
thank you sir , for such a wonderful video 🙏
@Ravi-sl5ms
@Ravi-sl5ms 2 жыл бұрын
You know well how to teach. Thanks for making this concept so easy to understand
@AkshayRakate
@AkshayRakate 2 жыл бұрын
Brilliantly Explained !! Cleared all remaining concept of GD.!! Visualiation part was amazing ! Thanks you so much for this amazing content !
@bhargavsharma2716
@bhargavsharma2716 2 жыл бұрын
Hats off to you, sir, for all the hard work you put in
@manya5466
@manya5466 11 ай бұрын
Your passion to deliver the best is incredible. Lots of respect sir.
@sunny739
@sunny739 Жыл бұрын
what an amazing life lesson ! last two minutes. Loved the way explained GD.. thank you so much sir , for such an extra ordinary explanation .
@siyays1868
@siyays1868 Жыл бұрын
Truely Brilliant Animation of Gradient Descent!👏👏🙏🙏👍. Even paid classes also not able to give this quality content ; i said it bcz i did paid classes but after coming to this channel , concepts r really got cleared. I m truly & always be very greatful to u & ur No. 1 i n India ' Campus X ' channel. Thanku very very much...!
@user-gl6gs8cm4b
@user-gl6gs8cm4b 7 ай бұрын
This was really informative, thank you!!
@divine_yog
@divine_yog Жыл бұрын
Awesome content & Great Teacher !
@tusharsalunkhe7916
@tusharsalunkhe7916 Жыл бұрын
Thanks for all your efforts, really helped alot🙏
@Chandrashekhar-bf2rs
@Chandrashekhar-bf2rs Жыл бұрын
What a lovely video❤❤...really enjoyed it!
@ramsagar8977
@ramsagar8977 7 ай бұрын
never seen such a Best explanation , Wow bro . I beacme fan of your Explaination
@TheTiwary
@TheTiwary 2 жыл бұрын
Highly appreciate your hardwork ....
@priyanshugupta9192
@priyanshugupta9192 Жыл бұрын
best video of the playlist ... shows lot of hard work and paitence 👏👏
@aniketdas3359
@aniketdas3359 2 жыл бұрын
Amazing Explaination Appreciate your hard work . This channel deserves million subscribers atleast
@beenudhupar953
@beenudhupar953 Жыл бұрын
Best content ever 👍. This channel is worth studying complex ML algorithms and associated concepts. Thank you for putting in so much hard work.
@muditgupta4563
@muditgupta4563 Ай бұрын
Thanks a lot sir for such extreme hardwork for us
@KANTAMMOTGHARE
@KANTAMMOTGHARE 9 ай бұрын
Hats off to your Efforts Sir! It much have taken days to complete all those graphs! The graphs surely do help
@pushpendrakushwaha604
@pushpendrakushwaha604 Жыл бұрын
Best video on gradient-descent
@raghavagrawal6263
@raghavagrawal6263 3 жыл бұрын
Best video And so much thanks from the bottom of my heart to cover this topic, sir. Now after watching this lecture I am seeming we are going to get the next Krish sir to teach in Hindi. Thank you, sir.
@user-dl4fj6hy2f
@user-dl4fj6hy2f 4 ай бұрын
Great Explanation as always : ) Respect Sir Thanks
@gauravmalik3911
@gauravmalik3911 2 жыл бұрын
This is the best gradient descent explanation, great efforts
@AmirJaved565
@AmirJaved565 5 ай бұрын
All other GD tutorials are pathetic before this great detailed tutorial...Thanks CampusX...salute
@bishalroy1186
@bishalroy1186 Жыл бұрын
I don't know how to repay your deeds, the satisfaction it gave cannot be compared to anything, we are blessed to have you around us ❤️ Thank You Very much for this video, it is actually more than a video for someone who is struggling with this concept. Just remember whatever i said is less, i feel there is no word that can be expressed to thank you enough.
@the_pirate
@the_pirate 9 ай бұрын
This is absolutely amazing! Thanks for these beautiful explanations. :D
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 53 МЛН
Backpropagation in Deep Learning | Part 1 | The What?
54:19
Gradient Descent, Step-by-Step
23:54
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
Intro to Gradient Descent || Optimizing High-Dimensional Equations
11:04
Dr. Trefor Bazett
Рет қаралды 62 М.
Gradient Descent Explained
7:05
IBM Technology
Рет қаралды 60 М.
Polynomial Regression | Machine Learning
26:46
CampusX
Рет қаралды 50 М.
Gradient Descent From Scratch in Python - Visual Explanation
28:44
Gradient Descent in 3 minutes
3:06
Visually Explained
Рет қаралды 167 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН