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

Поделиться
HTML-код
  • Опубликовано: 20 июл 2024
  • 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

Комментарии • 415

  • @saptarshisanyal6738
    @saptarshisanyal6738 2 года назад +275

    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 Год назад +8

      Every word is 💯 true. Such a great teacher he is..

    • @anonymous_4276
      @anonymous_4276 8 месяцев назад +5

      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 месяцев назад +6

      iit mai teachers private college se bhi ghatiya hai , mai khud you tube se padh rha hu

  • @akash.deblanq
    @akash.deblanq 2 года назад +63

    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 года назад +78

    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...

  • @maniaccoder2678
    @maniaccoder2678 3 года назад +36

    App jo kam kar rahe ho ye muje paid course me nahi mila sir... thank you sir

  • @jatinakad
    @jatinakad Год назад +12

    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!

  • @user-gt7fc6jt8z
    @user-gt7fc6jt8z 10 месяцев назад +8

    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

  • @akzork
    @akzork 2 года назад +16

    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.

  • @shreyasur1534
    @shreyasur1534 22 дня назад +3

    The best video on gradient descent ever Nitish Sir!

  • @amitbohra9283
    @amitbohra9283 Месяц назад +4

    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.

  • @yashshrivastava1612
    @yashshrivastava1612 Год назад +19

    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.

  • @NabidAlam360
    @NabidAlam360 4 месяца назад +2

    Never stop teaching brother! You are making this an art!!!

  • @swatibansal4045
    @swatibansal4045 2 года назад +19

    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.

  • @ZawaD.N
    @ZawaD.N 7 дней назад

    The tutorial is over, a long sigh. In this situation I could offer nothing but thanks.
    Thank You for your hard work.
    You are a GEUM in this field.

  • @harshadapatke885
    @harshadapatke885 2 года назад +11

    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.

  • @zaedgtr6910
    @zaedgtr6910 8 месяцев назад +2

    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.

  • @arun5351
    @arun5351 2 года назад +4

    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.

  • @anuragkothari8384
    @anuragkothari8384 11 дней назад

    Honestly i have't find anything better than you ML videos. Thanks

  • @abhaykumaramanofficial
    @abhaykumaramanofficial Год назад +2

    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

  • @rb4754
    @rb4754 Месяц назад +1

    You nailed it... How beautifully you explained it... with theory, graphs, codes.. this is a complete package...

  • @manyagupta6375
    @manyagupta6375 10 месяцев назад +3

    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.

  • @yogeshsariya4259
    @yogeshsariya4259 Год назад +2

    The introduction of topic, pace of teaching, concept clarification, demonstration everything is excellent.

  • @kedarshiral6391
    @kedarshiral6391 Год назад +1

    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

  • @manashjyotiborah530
    @manashjyotiborah530 11 месяцев назад +2

    This is the best video I found for understanding gradient descent. You are one of the best teachers that I have ever learned from.

  • @karthikiyer3396
    @karthikiyer3396 4 месяца назад +1

    The best explanation to the concept of Gradient Descent. Indeed the best data science concept video ever came across.

  • @nikhitatripathi7728
    @nikhitatripathi7728 2 года назад +1

    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!

  • @prableen8755
    @prableen8755 Месяц назад

    WOW, the way you explained it....this can not get any simpler. SUPER GLAD I found your playlist. Thanks a lot.

  • @arindammallik4974
    @arindammallik4974 11 месяцев назад +3

    Exceptionally clear step by step explanation.

  • @noneone6207
    @noneone6207 2 дня назад

    YOU ARE A GOD . THANK YOU FOR PROVIDING THIS QUALITY CONTENT FOR FREE

  • @MrAmarSindol
    @MrAmarSindol Год назад

    Watched it again.... excellent and extreme excellent !! sukoon milta hai kuch aisa content samajne me !!

  • @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.

  • @cybermascot
    @cybermascot Год назад +2

    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.

  • @nazneenkhan8058
    @nazneenkhan8058 11 месяцев назад +1

    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!

  • @230489shraddha
    @230489shraddha 2 года назад

    It is a brilliant tutorial on Gradient descent. Clears all the doubts. Salute to your hard work and dedication for teaching.

  • @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...!

  • @aniketdas3359
    @aniketdas3359 2 года назад +2

    Amazing Explaination
    Appreciate your hard work . This channel deserves million subscribers atleast

  • @flower88able
    @flower88able Год назад +1

    Unbelievable explanation. Never ever seen a such detailed explanation. Amazing. Keep inspiring and going. Thanks a lot.

  • @somanshkumar1325
    @somanshkumar1325 Год назад +1

    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.

  • @sameerpandey5561
    @sameerpandey5561 2 года назад +1

    The way you implement code behind the math of every algorithm makes it super easy ....

  • @alkamankar9813
    @alkamankar9813 Год назад +1

    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.

  • @ManavMSanger
    @ManavMSanger 12 дней назад

    These videos are pure gold. I cant tell you how good these videos are.

  • @raghavagrawal6263
    @raghavagrawal6263 3 года назад +2

    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.

  • @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.

  • @marselwidianto4387
    @marselwidianto4387 Год назад +1

    Sir I really want to thank you.
    Can't express in words about the impact which you have put in my life

  • @rijanpokhrel9281
    @rijanpokhrel9281 6 месяцев назад

    best teacher I have ever met in my life...too good ..no words.....Love from Nepal

  • @sanaayakurup5453
    @sanaayakurup5453 Год назад

    This video and channel needs millions of views. Thankyou, i never understoof GD but now its all clear

  • @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!!

  • @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.

  • @aameenmd6659
    @aameenmd6659 6 месяцев назад

    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

  • @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.

  • @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.

  • @AkshayRakate
    @AkshayRakate 2 года назад

    Brilliantly Explained !! Cleared all remaining concept of GD.!! Visualiation part was amazing ! Thanks you so much for this amazing content !

  • @shekharkausalye
    @shekharkausalye 2 года назад +1

    What a great explanation. It actually fit in the mind and cleared the concepts. And yes I saw this one is the longest video. Thank you for this video as it has explained very imp point in very easy language, and definitely the efforts that you have taken behind this video paid off as we understood it easily. Thanks a lot.

  • @dineshpandey7232
    @dineshpandey7232 Год назад

    One of the best videos I found here. You have a really good command on the topic. In depth knowledge

  • @bhanu0925
    @bhanu0925 2 года назад

    I will never forget gradient descent. Awesome explanation. Thank You

  • @vishnujatav6329
    @vishnujatav6329 2 года назад

    Bhut bhut bhut mast Nitish ji. Dil hi aa gya, main bnut darta tha Gradient Descent se, ab toisme mza aane lga hai

  • @SaifaliKhan-zk6sh
    @SaifaliKhan-zk6sh 8 месяцев назад

    what a depth of explanation on Gradient Descent in the whole history of RUclips,, Thanks a lot sir

  • @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.

  • @Theoratorscorner
    @Theoratorscorner Месяц назад

    bro honestly you are a gem lots of love and success

  • @rajeswarsingh256
    @rajeswarsingh256 Год назад

    one of the best videos on youtube for gradient descent.👍👍

  • @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.

  • @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.

  • @amanentertainmentstudio4854
    @amanentertainmentstudio4854 Год назад

    Amazing Amazing Amazing Explanation I've ever found on internet for Gradient Descent. Watched till the end ; enjoyed & learned every bit of the content. Thanks a ton for the video. I discovered you in RUclips through "Assumption of Linear Regressions" Video a month ago. And now this is my Go To Default channel for my Further Data Science Learning. ❤❤❤

  • @tusharshukla9361
    @tusharshukla9361 Год назад

    watched this video from start to end without getting bored, lots of love and respect Sir 💖💖🙏🙏🙏🙏

  • @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

  • @geetanshusinghnegi2672
    @geetanshusinghnegi2672 9 месяцев назад

    Superb🎉 Explanation... Longest video ever i watched on youtube

  • @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 .

  • @PR-ud4fp
    @PR-ud4fp 2 года назад

    Thank you for putting in all the effort. This is one of the best explanations of GD on YT 🙌

  • @manya5466
    @manya5466 Год назад

    Your passion to deliver the best is incredible. Lots of respect sir.

  • @suchiupadhyay4361
    @suchiupadhyay4361 Год назад

    Thank you so much Sir for making this video. Needless to say we can realise how much efforts and time given by you to make this in understandable format. Kudos to you for this job. Keep it up. Than you.

  • @KANTAMMOTGHARE
    @KANTAMMOTGHARE 9 месяцев назад

    Hats off to your Efforts Sir!
    It much have taken days to complete all those graphs!
    The graphs surely do help

  • @akshaykadam4672
    @akshaykadam4672 Год назад

    What a content, OMG, love it. Simply amazing! Such a awesome teacher.

  • @VIJAYVIJAY-mj9jy
    @VIJAYVIJAY-mj9jy 2 года назад +1

    You are awesome Sir.
    Your describing style is unique and easy to understand.
    Thankyou Sir for this !00 days ML playlist,
    thankyou from deep of my heart.
    I am enjoying a lot to learning ML.

  • @GamerBoy-ii4jc
    @GamerBoy-ii4jc 2 года назад

    Thank u so much Sir itni Struggle krny k lye.. sary concept clear kr dye apny..buhat hi acha smjhaya he shukrya Sir!

  • @dakshbhatnagar
    @dakshbhatnagar Год назад

    I actually have no words to say how good this video is. 🔥

  • @diyapatel4446
    @diyapatel4446 Год назад

    this is such an informative lecture. i am not a math functions person but i was so intrigued by this and i have understood it so well that i can even teach it to someone else. thank you so so much for all your efforts.

  • @ramanmaini1931
    @ramanmaini1931 Год назад

    Great sir. you live long. God will bless you everything. Prayer from core of my heart. This is real humanity service.

  • @maze2552
    @maze2552 28 дней назад

    what a amazing video sir! so much love from this side

  • @qadirhussain7679
    @qadirhussain7679 Месяц назад

    The best explanation of gradient descent that I've ever seen

  • @bhargavsharma2716
    @bhargavsharma2716 2 года назад +1

    Hats off to you, sir, for all the hard work you put in

  • @rishabhvyas856
    @rishabhvyas856 6 месяцев назад

    Sir this is the best explanation on gradient descent so far. It answers a lot of deep learning questions. Thank you for your hard work. We all really appreciate you. Love❤

  • @SwapanRaj-ry3mm
    @SwapanRaj-ry3mm 3 месяца назад

    really love you sir, i first saw andrew neg sir machine learning course and after watching your video i feel i wasted my time over there... one request sir please never stop providing this high level of content. many of us really need your guidance.

  • @shivoham5939
    @shivoham5939 Год назад +1

    You are trying
    to get to the lowest point of the mountain range. You can see the slope around
    you before you even take a step. You step in directions where the slope visibly goes
    downward. You take bigger steps for bigger slopes, and smaller steps for smaller
    slopes. Ultimately, you will find yourself at a low point where the slope is flat, a
    value of 0. Sounds pretty good, right? This approach with the flashlight is known as
    gradient descent, where we step in directions where the slope goes downward. superb explanation sir

  • @chaitanyalarokar5308
    @chaitanyalarokar5308 Год назад

    I think i would never forget this content. you are AMAZING!!

  • @gauravmalik3911
    @gauravmalik3911 2 года назад

    This is the best gradient descent explanation, great efforts

  • @bhupendersharma0428
    @bhupendersharma0428 Год назад

    Sir Brillient i have watched this video twice this the brillenit explanation i have share this video in my data science community hats off to sir

  • @AmirJaved565
    @AmirJaved565 6 месяцев назад

    All other GD tutorials are pathetic before this great detailed tutorial...Thanks CampusX...salute

  • @shubhamrawat5299
    @shubhamrawat5299 2 года назад

    Thank you, Sir, For This Lovely Tutorial Video. With this many graphs and Practical implementation, I will never Forget Gradient Descent.

  • @ramsagar8977
    @ramsagar8977 8 месяцев назад

    never seen such a Best explanation , Wow bro . I beacme fan of your Explaination

  • @kamalchoudhary735
    @kamalchoudhary735 3 года назад

    now i got the concept of GD clearly ,thank you so much ... you really explain well...

  • @Ravi-sl5ms
    @Ravi-sl5ms 2 года назад

    You know well how to teach. Thanks for making this concept so easy to understand

  • @sadamhussain-hf4ju
    @sadamhussain-hf4ju 2 года назад

    Hi Sir,
    This video is one of the best video on youtube as compare to all other video. This video is very helpful for me to understanding the concept of Gradient Descent.
    Thank you for this video. God bless you.

  • @priyanshugupta9192
    @priyanshugupta9192 Год назад

    best video of the playlist ... shows lot of hard work and paitence 👏👏

  • @divine_yog
    @divine_yog Год назад +1

    Awesome content & Great Teacher !

  • @_im.maddy_
    @_im.maddy_ Месяц назад

    Great Video, highly appreciated to discuss all points :)

  • @rajeshmidha4243
    @rajeshmidha4243 2 года назад +2

    Hello Sir, you are really amazing. The way you teach is outstanding. I have never seen such a teacher like you who have such in-depth knowledge. I can not explain in words. Thank you so much for your help and support. What we can do for you please let us know. A big thanks to you once again.

  • @deyslearning6198
    @deyslearning6198 Год назад

    I have never seen such a video on RUclips Thanks Sir ji

  • @habibourakash
    @habibourakash Год назад

    sir...respect to u for ur dedication to make such wow level contents...I was surfing net for 2 days for this concept & finally found all my answers here..thanks from Bangladesh,,

  • @SimranCE-
    @SimranCE- 2 года назад

    Finally found the best teacher,, really really very good content,,♥️

  • @descendantsoftheheroes_660
    @descendantsoftheheroes_660 11 месяцев назад

    analytics vidhya k blog aur aapke video ..bomb h sir ..thanks a lot sir

  • @SaadKhan-gf9ui
    @SaadKhan-gf9ui 6 месяцев назад

    Hatts off man...well explained and appreciate your hardwork❤