Multi-Armed Bandit : Data Science Concepts

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

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

  • @jc_777
    @jc_777 2 года назад +8

    enough exploration for good youtube lecture on ml. i should keep exploit this guy. 0 regret guaranteed :)

  • @Sad-mm8tm
    @Sad-mm8tm 4 года назад +106

    I hope you will continue making videos forever. Your explanations are the best I've ever seen anywhere + the wide choice of topics gives me food for thought when dealing with my own optimization problems.

    • @ritvikmath
      @ritvikmath  4 года назад +4

      Thank you :) I'm happy to help

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

      If he makes videos forever, we'll get zero regrets.

    • @Xaka-waka
      @Xaka-waka 7 месяцев назад

      ​@@ritvikmathdon't let this channel die man

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

    Your explanations, didactics, and dynamism are amazing, way better than several university professors. Well done!

  • @abdulsami5843
    @abdulsami5843 2 года назад +10

    A thing I absolutely like is how palatable you make these concepts, not too mathematical/theoratical and not overly simplified, just the right balance ( € - greedy is set right 😉)

  • @faadi4536
    @faadi4536 2 года назад +10

    What an amazing explanation. I am taking a Machine Learning Course and he tried to explain the concept using Bandits but couldn't quite really grasp it in detail. I understood what we are trying to figure out but wasn't quite their yet. You have made it so much easier. Kudos to You Brother.

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

    Bro I completed my CS degree with your help and now I got accepted for master and you are still here to help. You are a true man, thx mate

  • @savasozturk00
    @savasozturk00 3 месяца назад

    After watching 5 videos, finally I found the best lecture teller for this topic. The examples are great, Thanks.

  • @softerseltzer
    @softerseltzer 4 года назад +21

    Love your videos, the quality just keeps going up!
    PS. the name of the slot machine is "One-armed bandit", because of the long arm-like lever that you pull to play.

    • @irishryano
      @irishryano 3 года назад +3

      ....And the bandit bc it’s the WORST odds in every casino

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

      i guess the slot machine is a bandit cause it keeps robbing money from the players.

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

    It would be great if you made a whole playlist where you explain the statistics for machine learning by explaining the formulas in an intuitive way like you do (you make me understand them all). For example, explain the various distributions and their meaning, statistical tests (p-value), etc. Thank you so much for the work you do and the knowledge you share!

  • @111dogger
    @111dogger 3 года назад +2

    This is the best explanation I have come across so far for the Upper Bound Confidence concept. Thank you!

  • @SURBHIGUPTA-o4w
    @SURBHIGUPTA-o4w 2 месяца назад

    Thanks Ritvik! this is the best explanation I have come across so far!

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

    Perfect Explanation!

  •  14 дней назад

    Awesome! Thank you! You helped me a lot!

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

    we need to a person like you to democratize these important concepts cannot express how grateful i am to understand these important concepts which i have struggled in the past.

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

    What a great and easy to understand explanation of MAB - thank you for this!!!!

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

    Your teaching method is highly appreciated. Please make lectures on statistics and machine learning algorithms

  • @Dr.RegulaSrilakshmi
    @Dr.RegulaSrilakshmi 4 месяца назад

    U r just awesome ,any person who doesn't have any knowledge of Reinforcement learning can understand,Keep up the spirit...cheers

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

    I just realized that I need to explore more to maximize my happiness. Thank you Multi-Amed Bandit :)

  • @adanulabidin
    @adanulabidin 4 месяца назад

    What an amazing explanation! Thank you so much. Keep making such videos.

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

    Great video, and it's really nice listening to you! Thank you :)

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

    Love your videos. To understand the average regret value for exploitation, which extra material should we refer to? Why not 604?

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

    Thank you so much, I passed my exam thanks to your explanation :)

  • @michaelvogt7787
    @michaelvogt7787 2 месяца назад

    multi-armed bandit is a misnomer really... it should be multi-one-armed-bandit problem. slot machines were called one-armed bandits because they have a single arm that is pulled, and the odds of winning are stacked against the player making them bandits. the goal is not so much about finding out which to play, which would become more apparent given enough plays, but instead to determine which mix of N plays to spread out across the group, settling in on the best mix to achieve exploration in balance against exploiting the best returning bandit. i am a career research scientist pioneering in this field for 40 years... i am always reviewing videos to back-share with students and learners and YOURS have Returned the greatest value for my Exploration, and I will be Exploiting YOURs by sharing them the most with my students. its the best compliment i can think of. cheers. dr vogt ;- )

  • @michaelvogt7787
    @michaelvogt7787 2 месяца назад

    Nicely done.

  • @anaydongre1226
    @anaydongre1226 3 года назад +1

    Thanks so much for explaining this in detail !!

  • @llescarini
    @llescarini 3 года назад +1

    Subscribed since few days, your videos are more than excellent! Amazing skill for teaching, thanks a lot.

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

    This is more than enough for me

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

    Thanks!

  • @user-bt5il9zq8p
    @user-bt5il9zq8p Год назад

    Best example ever!!!

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

    Well said, needed a refresher after not seeing this for a while and this nailed it. Hopefully you've gone into more advanced topics like MAB reinforcement learning

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

    I have explored and finally decided that I am going to exploit you!
    *Subscribed*

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

    I am new to your channel. You have a talent in teaching my friend. I enjoy your content a lot. Thanks.

  • @stanislavezhevski2877
    @stanislavezhevski2877 4 года назад +11

    Great explanation, can you leave a link to the code, which you used in simulations ?

    • @ritvikmath
      @ritvikmath  4 года назад +5

      Thanks! I have a follow up video on Multi-Armed Bandit coming out next week and the code will be linked in the description of that video. Stay tuned!

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

    I'm grateful to you because of this great tutorial.

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

    This is so cool! Thanks for your clear explanation.

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

    The way you explain is stunning, what a awesome lesson.

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

    This is amazing !

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

    Perfectly explained. Genius.

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

    This was a useful supplement to my read of Reinforcement Learning by Sutton & Barto. Thanks.

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

    i cannot thank you enough for makin this excellent vid!

  • @A.n.a.n.d.k.r.
    @A.n.a.n.d.k.r. 11 месяцев назад

    Awesome cool technique just got hooked to this

  • @jinpark9871
    @jinpark9871 3 года назад +1

    Thanks, your work is really awesome.

  • @fridmamedov270
    @fridmamedov270 7 месяцев назад

    Simple and accurate. That is it. Thanks!!!

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

    Why 330 is the response in the explotation example? Should t be;
    3000-2396=604??

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

    Thanks, it was quite useful, heading to your Thompson Sampling video :)

  • @NoNTr1v1aL
    @NoNTr1v1aL 3 года назад +1

    Amazing video!

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

    Well explained!

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

    Thanks a lot. Very insightful!

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

    Nice explanation!

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

    Thank you for a great explanation!!

  • @shahulrahman2516
    @shahulrahman2516 3 месяца назад

    Great video

  • @nastya831
    @nastya831 3 года назад +1

    thanks man, this is truly helpful! 6 min at 2x and I got it all

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

    This is so clear to me. Thank you for making this video!

  • @DarkNinja-24
    @DarkNinja-24 2 года назад

    Wow, great example and amazing explanation!

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

    Amazing explanation, very clear, thank you Sr

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

    You explained so good

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

    WOW! That's was brilliant! Thank you!

  • @dr.kingschultz
    @dr.kingschultz 2 года назад

    You are very good! Please explore more this topic. Also include the code and explain it

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

    Thanks! Very good explanation!

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

    My exam is in 2 days and I'm so close to graduating with the highest grades.
    Thanks for your help!

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

    very clear and simple explaination!

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

    Very clear explanation. Thanks for this video.

  • @snehotoshbanerjee1938
    @snehotoshbanerjee1938 4 месяца назад

    Best explanation!!

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

    really nice job! thank you

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

    Well explained! Thank you!

  • @dr.nalinfonseka7072
    @dr.nalinfonseka7072 Год назад

    Excellent explanation!

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

    Thanks a lot! Really good representation!

  • @rifatamanna7895
    @rifatamanna7895 4 года назад +1

    It was awesome technique
    👍👍 thanks

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

    awesome video ! thanks so much

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

    excellent explanation!!! thanks

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

    crystal clear explanation worth a subscription for more👌

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

    Thanks for the great explanation. What is the essential difference between contextual bandit (CB) problem vs multi-arm bandit (MB) problem? How does the difference impact the strategy?

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

    Brilliant

  • @davidkopfer3259
    @davidkopfer3259 4 года назад

    Very nice explanation, thanks!

  • @bobo0612
    @bobo0612 3 года назад +4

    Hi! Thank you for your video. I have a question at 6:28. Why the roh is not simply 3000 - 2396?

    • @senyksia
      @senyksia 3 года назад +1

      2396 was the happiness for that specific case, where restaurant #2 was chosen to exploit. 330 is the (approximate) average regret for every case.
      So 3000 - 2396 would be correct if you were only talking about that unique case.

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

      @@senyksia Hey, what do you mean by average regret for every case? I'm still having trouble wrapping my head around this step. Thanks!

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

      @Bolin WU I know it's 8 months already but I wanted to know whether you got the answer or not. I also have the same doubt.

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

    Thanks! I really wish the RLBook authors could explain the k-armed bandit problem as clearly as you do, their writing is really confusing.

  • @SamuelOgazi
    @SamuelOgazi 7 месяцев назад

    Thank you so much for the clarity in this video!
    However, I thought the regret for the exploit-only strategy would be 3,000 - 2396 = 604.
    Kindly clarify.

  • @yitongchen75
    @yitongchen75 4 года назад +1

    Cool explanation. Can you also talk about Upper Confidence Bound Algorithm relating to this?

    • @ritvikmath
      @ritvikmath  4 года назад +1

      Good timing! I have a video scheduled about UCB for Multi-Armed Bandit. It will come out in about a week :)

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

    Really good video

  • @vijayjayaraman5990
    @vijayjayaraman5990 2 месяца назад

    Very helpful. How is the regret 300 in the second case? Shouldn't it be 3000 - 2396 = 604?

  • @Trucmuch
    @Trucmuch 4 года назад +3

    Slot machines were not called bandit but one-arm bandit (they "stole" your money and the bulky box with one lever on its side kind of looked like a one-arm man.
    So the name of this problem is kind of a pun, a slot machine with more than one levers you can pull (here three) is a multi-armed bandit. ;-)

    • @ritvikmath
      @ritvikmath  4 года назад

      Wow I did not know that, thanks !!

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

    Thanks a lot for this video!
    Just one thing I would like to find out here is where we store the result of our learning? like some policy or parameter to be updated?

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

    Nicely explained!

  • @sunIess
    @sunIess 4 года назад +7

    Assuming a finite horizon (known beforehand), aren't you (in expectation) better off doing all the exploration before starting to exploit?

    • @ritvikmath
      @ritvikmath  4 года назад +3

      You've just made a very good point. One strategy I did not note is an epsilon-greedy strategy where the probability of explore in the beginning is very high and then it goes to 0 over time. This would likely be a good idea.

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

    Hello Ritvik
    This was a very helpful video. You have explained a concept so simply. Hope you continue making such informative videos.
    Best wishes.

  • @annahuo6694
    @annahuo6694 3 года назад +1

    Great videos ! Thanks for your clarification. It's much clearer for me now. But I just wonder how you calculate the 330 regret in the case of exploitation only ?

    • @ritvikmath
      @ritvikmath  3 года назад +1

      Good question. You can get that number by considering all possible cases of visiting each restaurant on the first three days. Something like, consider the probability that of the first three days of visits, what is the probability that restaurant 1 is best, vs. probability restaurant 2 is best, etc. You can do this via pencil and paper but I'd recommend writing a simple computer simulation instead.

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

      @@ritvikmath Thank you for this prompt response. I think I get the idea from the epsilon greedy formula (option number 3 in the example). Thank you a lot, your video is really helpful :)

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

    I love this vid! It would be great if you could also do more videos on online learning and regret minimization 😆😆😆

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

    Great explanation

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

    Thanks for the vid boss. How exactly did you calculate the average rewards for the Exploit Only and Epsilon-Greedy strategies though?

  • @user-sl6gn1ss8p
    @user-sl6gn1ss8p 2 года назад

    *insert taleb nassim talking about the possibility that a meal kills you or changes you whole life* or something like that : p

  • @yannelfersi3510
    @yannelfersi3510 4 месяца назад

    can you share the calculation for the regret in case of exploitation only?

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

    Would you say exploit only strategy is the same as the eplore-then-commit strategy (also know as explore-then-exploit)?

  • @sampadmohanty8573
    @sampadmohanty8573 4 года назад

    I knew everything from the start. Ate at the same place for 299 days and got pretty bored. So watched youtube and found this video. Now I am stuck at this same restaurant on the 300th day to minimize my regret. Such a paradox. Just kidding. Amazing explanation and example.

  • @l2edz
    @l2edz 4 года назад +1

    Coolest prof ever! 😎

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

    Could you explain the difference between the MAB problem and the ranking and selection problem? Thanks

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

    Related to regret, we never really know the true distributions (since we can only infer from taking samples). Would you basically just use your estimated distributions at the end of the 300 days as the basis for calculating regret?

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

    Sir, video on softmax approach.

  • @Akshay-fk8bu
    @Akshay-fk8bu 8 месяцев назад

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

    What ML books do you recommend or use?

  • @chyldstudios
    @chyldstudios 3 года назад +1

    Why didn't you discuss the best strategy ... Bayesian Bandits with uniform priors coming from a Beta distribution