Optimizers - EXPLAINED!

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 136

  • @tombratfred3102
    @tombratfred3102 4 роки тому +140

    I like how you anthropomorphize optimizers. Makes me really empathize with their struggles.

    • @erich_l4644
      @erich_l4644 4 роки тому +6

      with a profile pic like that- you would

    • @metaprog46and2
      @metaprog46and2 4 роки тому +5

      @@erich_l4644 LMAO - your comment just won the internet. You'll soon receive an email by a Nigerian Prince with instructions on how to claim your winnings lol.

    • @metaprog46and2
      @metaprog46and2 4 роки тому +2

      Died laughing like thrice. Witty joke.

  • @jonass1315
    @jonass1315 2 роки тому +14

    This is how every lecture should be like. Funny but perfectly explained, and greatly visualized. Thanks!

  • @diaojun161
    @diaojun161 4 роки тому +50

    The best explaination of optimizers in DL I HAVE EVER WATCHED!

    • @CodeEmporium
      @CodeEmporium  4 роки тому +2

      Thank you! More of this to come!

  • @dude8309
    @dude8309 4 роки тому +26

    great little overview! love how you get to the point quickly yet provide all the needed intuition

    • @CodeEmporium
      @CodeEmporium  4 роки тому +4

      Thanks! That's exactly what I was going for :)

  • @1harru
    @1harru 3 роки тому +10

    Hands down.. This is the best video on Optimizers.. !!! I've been trying to understand the complex math equations for the past few days and this one literally gave me the overall intuition in 7min 🙏🙏🙏

  • @kevinelkin3943
    @kevinelkin3943 3 роки тому +7

    Such an underrated channel! Great explanations and visuals!

  • @zhengyahnis848
    @zhengyahnis848 3 роки тому +1

    Don't know why this video is under spreading, the explanation is great and the high-level summarization helps me a lot.

    • @CodeEmporium
      @CodeEmporium  3 роки тому

      Thank you! Mind fixing that by sharing this around? Would love to get more eyeballs here :)

  • @X_platform
    @X_platform 4 роки тому +25

    Loving the sound effect

  • @abhikbanerjee3719
    @abhikbanerjee3719 4 роки тому +6

    I am watching this at 2 am in the morning and that sudden effect 00:13 cracked me up!

  • @fahdciwan8709
    @fahdciwan8709 4 роки тому +1

    thanks! one of those rare videos that explain the intuition perfectly instead of hovering around the terms

  • @carebox6187
    @carebox6187 4 роки тому +16

    This video was both informative and hilarious. I absolutely loved it!

    • @CodeEmporium
      @CodeEmporium  4 роки тому +1

      That was the objective. Glad you liked it :)

  • @a.h.s.3006
    @a.h.s.3006 3 роки тому +2

    That...... was........ one EXCELLENT VIDEO!!!!!
    Thank you so much, I thought I would struggle with optimizers but now it's all clear to me

  • @shubhigautam9655
    @shubhigautam9655 3 роки тому +1

    the only video thats ever made me laugh while explaining a concept. Love it, thank you!

  • @lakshmisrinivas369
    @lakshmisrinivas369 3 роки тому +3

    Absolute way of learning with lot of fun. Thanks for such a funny and insightful video

  • @BlockDesignz
    @BlockDesignz 4 роки тому +4

    Absolutely love this iterative explanation.

    • @CodeEmporium
      @CodeEmporium  3 роки тому +2

      Thank you. I'm experimenting with different teaching styles :)

  • @shouravpaul3092
    @shouravpaul3092 4 роки тому +1

    like your video, and mostly i wanted to see the graph that most people dont show, thank you

  • @DouweMr
    @DouweMr 2 роки тому

    This is one hell of a video to refresh on this stuff! kindly appreciated!!

  • @rendevous9253
    @rendevous9253 3 роки тому

    Man you gave the best explanation which even a noob like me in machine learning can understand . Keep it up man 👍.

  • @carlavirhuez4785
    @carlavirhuez4785 4 роки тому +1

    Best video ever on optimizer. Thanks a lot.

  • @trocketflicks
    @trocketflicks 4 роки тому +1

    Man, this video is slept on. Such a good explanation!

  • @anujlahoty8022
    @anujlahoty8022 2 роки тому +1

    Very well explained and in a fun way.

  • @ahmedaj2000
    @ahmedaj2000 Рік тому

    love it! thank you! explained better than my professors. i finally get these now after so long

    • @CodeEmporium
      @CodeEmporium  Рік тому

      Words that are too kind. Thank for the kind words

  • @inteligenciamilgrau
    @inteligenciamilgrau 2 роки тому

    Best explanation ever!! Thank you so much!!!

  • @Anja5233
    @Anja5233 Рік тому

    This is my new favorite video on the internet

    • @CodeEmporium
      @CodeEmporium  Рік тому

      Thanks so much for the compliments:) I try

  • @10bokaj
    @10bokaj 3 роки тому +1

    Very clear, very well explained 10/10

  • @sb7048
    @sb7048 4 роки тому +1

    What does the alpha at the SGD momentum equation do? I mean alpha is your learning rat at the first two equations but since then you use n as the learning rate, so for what is alpha since then?

  • @GauravSharma-ui4yd
    @GauravSharma-ui4yd 4 роки тому +2

    Thanks ajay for giving this a shoot. Loved it❤️

    • @CodeEmporium
      @CodeEmporium  4 роки тому +1

      Thanks for watching Gaurav (and the suggestion). Saw your comment on the last video too. And it was also in a line of videos I wanted to do. Probably not as "mathematical" as you'd like. I wanted to just explain why certain terms appear the way they do. Hopefully this helped that understanding. I might do a more mathematical video in the future though. But for now, this will do :)

    • @GauravSharma-ui4yd
      @GauravSharma-ui4yd 4 роки тому

      @@CodeEmporium You did a pretty awesome job in just 7 minutes. Its both beginner friendly and refreshing for intermediates.

  • @ErturkKadir
    @ErturkKadir 4 роки тому

    Such a clear and simple explanation of complicated things. Great job.

  • @Hariharan-yy1fu
    @Hariharan-yy1fu 2 роки тому

    Awesome work easy to get a quick review before my interview keep going

  • @FanOfFunBuddy
    @FanOfFunBuddy 2 роки тому

    Wow most complex topic in under 7 minutes 😊 with pretty good visualizations.

  • @Fransphoenix
    @Fransphoenix Рік тому

    Great explanation and fun, too. Thank you!

  • @oskarbartosz9159
    @oskarbartosz9159 Рік тому

    m8, i was searching for channel like that for a really long time

  • @crashedbboy
    @crashedbboy 8 місяців тому

    Never thought I would spit out drink while watching machine learning video

  • @artinbogdanov7229
    @artinbogdanov7229 4 роки тому +1

    Great explanation. Thank you!

  • @MrSinalta
    @MrSinalta 7 місяців тому

    If I understood well, Acceleration should not be called 'deceleration' in this particular case ?

  • @MuhammadMujahidHaruna
    @MuhammadMujahidHaruna 28 днів тому

    😮 Am silence of how you explain everything in details

  • @ruxiz2007
    @ruxiz2007 4 роки тому

    This video is so good, and it deserves 100X more attention!

  • @r.y.y8073
    @r.y.y8073 Рік тому

    I like how you explained this!

  • @dan1ar
    @dan1ar Рік тому

    why gradient on 1:21 would be large? Isn't it just avg for every element in dataset? Same for mini-batch, but only there gradient is avg for every element in batch

  • @TawhidShahrior
    @TawhidShahrior 2 роки тому +1

    man you do great work!

  • @eyesyt7571
    @eyesyt7571 Рік тому

    The first scene is precisely what happened to my neural network 2 weeks ago.

  • @ZobeirRaisi
    @ZobeirRaisi 4 роки тому

    Your Explanation went to the deep of my brain!

  • @Simon-ed6zc
    @Simon-ed6zc 3 роки тому +2

    Hey, thank you a lot for the explanations! Do you happen to know any heuristics with which to chose a specific optimizer? Right now I have a problem where every paper uses Natural Gradient descent, but when I use it it barely ever converges, while Adam always gets it right (or at least comes close)...

    • @SirPlotsalot
      @SirPlotsalot 2 роки тому

      Your implementation might not be ideal, I'd try to use a KFAC preconditioning term maybe?

  • @igorg4129
    @igorg4129 Рік тому

    I think that a critical point missing here in the explanation:
    You have forgotten to mention that a loss surface is different for each sample so there DOES NOT EXIST any universal loss surface for a given dataset and this is a problem in stochastic gradient descent

  • @roshanid6523
    @roshanid6523 3 роки тому

    Amazing explanation

  • @YangQuanChen
    @YangQuanChen 3 роки тому

    Nicely done! Thanks!

  • @ThamizhanDaa1
    @ThamizhanDaa1 3 роки тому +1

    Nice channel! better than my professors lol

    • @CodeEmporium
      @CodeEmporium  3 роки тому +1

      Super happy this is helpful. Thanks!

  • @SujayAmberkar
    @SujayAmberkar 4 роки тому +2

    you voice is like some cool anime main character. I wished i had a voice like yours. Anyway great explanation.

  • @m.a.flores7252
    @m.a.flores7252 4 роки тому

    Please keep doing this kind of videos I’m in love with ML and with u

    • @CodeEmporium
      @CodeEmporium  4 роки тому

      Haha thank you so much for the support

  • @aafaq97in
    @aafaq97in 4 роки тому +1

    amazing vid you just earned a subscriber! looking forward to more content like this!

  • @ardhidattatreyavarma5337
    @ardhidattatreyavarma5337 Рік тому

    awesome explanation

  • @rutweeksawant6567
    @rutweeksawant6567 4 роки тому

    very nice explanation and visualization.

  • @hariharans.j5246
    @hariharans.j5246 4 роки тому +1

    do Neural ODEs and self-supervised learning techniques pls,
    great video btw

    • @CodeEmporium
      @CodeEmporium  4 роки тому +2

      Thanks. I saw your comment on another video. I'll look into this a bit

  • @sia7001
    @sia7001 4 роки тому +2

    So underrated 😭

  • @mahdijavadi2747
    @mahdijavadi2747 3 роки тому

    Thanks for the great clarification!

  • @eniolaajiboye4399
    @eniolaajiboye4399 3 роки тому

    ❤️ the videos man. They're so clear

  • @rakeshsinghrawat99
    @rakeshsinghrawat99 4 роки тому +2

    Always good

  • @mridulavijendran3062
    @mridulavijendran3062 4 роки тому +2

    Hey. Great work on the video :D It was v clear and fascinating
    What's NAG? I wonder how come Nadam isn't popular -seems like a better choice.
    How would you describe RMSProp? You seem to have really great insight into DL concepts :D
    Also why expectation in particular for Adam parameter updates?
    Sorry for the questions bombardment. Jus pretty curious

  • @yahavx
    @yahavx Рік тому

    The first part is not correct: the fact that you use a mini-batch in each step, rather than the entire dataset, does not give you a higher chance to converge to the optimum. Because even when considering the entire dataset in each step, you're still taking the average gradient, so the expected magnitude of the gradient does not change. It all depends on the step size.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Рік тому

    Well explained.

  • @kidsfree6615
    @kidsfree6615 Рік тому

    Amazing video.

  • @RichardMuenzer
    @RichardMuenzer Рік тому

    Question how does Newton play here?????

  • @zshahlaie4740
    @zshahlaie4740 Рік тому

    this video was the bestttttt

  • @sizhuanghe1361
    @sizhuanghe1361 Рік тому

    That's fun!

  • @lucha6262
    @lucha6262 4 роки тому

    really good overview

    • @CodeEmporium
      @CodeEmporium  4 роки тому

      Thanks! Making more of this stuff on the channel

  • @davisburnside9609
    @davisburnside9609 3 роки тому

    very helpful, thank you

  • @nikab1852
    @nikab1852 3 роки тому

    love this

  • @MrAdhito
    @MrAdhito 3 роки тому

    0:43 this really cracks me up HAHA!

  • @shaflyhamzah3848
    @shaflyhamzah3848 4 роки тому

    Nice explanation

  • @karamjeetsinghgulati6989
    @karamjeetsinghgulati6989 2 роки тому

    I can start laughing for intial 20 sec, I am watching in loop

  • @SeanKearney-g7d
    @SeanKearney-g7d 16 днів тому

    excellent

  • @chinmayeedongre5525
    @chinmayeedongre5525 4 роки тому

    Great Video!

  • @porimol108Tv
    @porimol108Tv 3 роки тому

    I subscribed to your channel.

  • @RohitashChandra
    @RohitashChandra 4 роки тому

    well done!

  • @youtubecommenter5122
    @youtubecommenter5122 4 роки тому

    What a good video!

  • @sumod12
    @sumod12 3 роки тому

    Awesome ❣️❣️

  • @negardeylami6039
    @negardeylami6039 2 роки тому

    LMFAO the ontro I don't know why it's so funnyyyyyy for me

  • @theoutlet9300
    @theoutlet9300 4 роки тому

    dude where did you study this. understanding the maths make the coding so much fun

  • @yahavx
    @yahavx Рік тому

    Not enough formal for me.. intuition is nice but need to be a little concrete about what is actually done

    • @CodeEmporium
      @CodeEmporium  Рік тому +1

      Fair. I did what I cold in a short video like this. Thanks for watching!

    • @yahavx
      @yahavx Рік тому

      @@CodeEmporium Thank you!

  • @aakarshrai5833
    @aakarshrai5833 4 місяці тому

    Bro could you please label you equations. It'll be helpful

  • @EdeYOlorDSZs
    @EdeYOlorDSZs Рік тому

    W explination

  • @arsalan2780
    @arsalan2780 4 роки тому

    wonderfulllllllllllllll ...........!!!!

  • @Eysh2009
    @Eysh2009 4 місяці тому

    Valeu!

    • @CodeEmporium
      @CodeEmporium  4 місяці тому

      Thanks so much for the donation! Glad you liked this content!

  • @ArsalJalib
    @ArsalJalib 4 роки тому

    Loved the start, watched 5 times.
    Also my first comment on UA-cam. =)

    • @CodeEmporium
      @CodeEmporium  3 роки тому

      Yas! Thank for this comment! Absolutely love it

  • @EngRiadAlmadani
    @EngRiadAlmadani 4 роки тому

    Good jop

  • @annarauscher8536
    @annarauscher8536 2 роки тому

    I think I watched that intro like 7 times haha

  • @stepantoman4694
    @stepantoman4694 2 роки тому

    hahahaha amazing

  • @MikeSieko17
    @MikeSieko17 7 місяців тому

    one critique, your notation is really weird and non intuative for beginners

  • @tostupidforname
    @tostupidforname 4 роки тому

    Imo you should have gone into more detail of the math of the optimizers. I did not understand how the terms relate to the behaviour the optimizers are supposed to have.

  • @mennoliefstingh5687
    @mennoliefstingh5687 4 роки тому +1

    Thanks for the great explanation!