Best Multi-Armed Bandit Strategy? (feat: UCB Method)

Поділитися
Вставка
  • Опубліковано 24 чер 2024
  • Which is the best strategy for multi-armed bandit? Also includes the Upper Confidence Bound (UCB Method)
    Link to intro multi-armed bandit video: • Multi-Armed Bandit : D...
    Link to code used in this video: github.com/ritvikmath/Time-Se...
    Link to Hoffding's Inequality: lilianweng.github.io/lil-log/...

КОМЕНТАРІ • 94

  • @shahnazmalik6553
    @shahnazmalik6553 3 роки тому +107

    This is called teaching with the highest standards

  • @lilmoesk899
    @lilmoesk899 3 роки тому +36

    You're a good teacher, man! Too bad only very few academics can explain things with the clarity and simplicity you do.

  • @xflory26x
    @xflory26x 3 роки тому +4

    I've watched loads of your videos and it's given me so much clarity with so many different data science concepts. You're a really great teacher, hope you keep posting videos and hope your channel keeps growing!

  • @marcusakiti7608
    @marcusakiti7608 Рік тому +2

    Love this video man. Just the simple message the viewer gets that you're here to help them and break down higher, abstract concepts into simpler terms they can grasp is incredibly reassuring. Even if I failed to understand any given part as a student I'd go back over and over with the confidence you're willing and able to help me get there eventually. Even if this channel isn't around forever never stop sharing your knowledge.

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

    this is too good Ritvik. Congrats you made learning UCB easier

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

    This is very, very well explained. Concise, yet conversational. Excellent stuff.

  • @debasishhazra3222
    @debasishhazra3222 2 роки тому +2

    You simply rock 👍Your teaching style, way of explaining complex things in such a simpler fashion makes learning much easier and faster. Wonderful.

  • @neonzhang4216
    @neonzhang4216 2 роки тому +2

    So great, clear my doubt completely. Please keep doing this!!

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

    I really appreciate your videos. i’m taking a course on machine learning and a/b testing and after every lesson I come watch your videos to actually understand what I just learned.

  • @suhailshaikh7139
    @suhailshaikh7139 3 роки тому +8

    One of the best video explanations I have seen on Data science so far. Please keep up the good work Ritvik. Thanks a lot!!

  • @karapuzzx
    @karapuzzx 8 місяців тому +1

    Thank you, brother! You are very good at explaining and giving the right information. Respect!

  • @rajbhowmick8575
    @rajbhowmick8575 Місяць тому

    Your videos has cleared my concepts over the years. Please make a playlist on Reinforcement Learning.

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

    Choosing a place for dinner will never be the same again...your videos are fantastic, man! I was so frustrated earlier today because I simply couldn't get a grip on the UCB algorithm. Now, I am more than happy not only because I finally understood it (at least the intuition behind it), but also because I have a name for one of the dominating stories of my life (exploration - exploitation - dilemma). You, sir, are one of the most amazing teachers I ever experienced!

  • @viola2dora
    @viola2dora 2 роки тому +2

    This is such a great explanation! Thank you!

  • @nonamenoname1942
    @nonamenoname1942 2 роки тому +2

    Thank you, you're talented teacher. You explained it very well and clear.

  • @omarapacanadhih
    @omarapacanadhih 10 місяців тому +1

    BEST EXPLANATION EVER.
    Thank you so much, Ritvik!

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

    love the way you explain by examples!

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

    The best video explanation I have seen so far. Could not stop paying attention. Thank you!

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

    I was stuck on bandit algorithm for a day before I found your video. Excellent work!

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

    thanks a lot for these multi-bandit videos..........
    spent ages trying to figure this stuff out, your explanations have helped a lot
    Thank you :-)

  • @hasaanijaz145
    @hasaanijaz145 3 роки тому +5

    Your ability to communicate difficult concepts using story telling is unparalleled.

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

    Made kid easy. Thanks for teaching this and being clear as day.

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

    I like your videos dude. Thank you for creating them!

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

    better than my professor thank god i found your video, thank you very much!!

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

    The best math-computer-science instructor online. Much appreciated

  • @Mars.2024
    @Mars.2024 Місяць тому

    Always the best 👌 I hope you design a RL course one day. It will definitely be one of the best🌝

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

    Your videos are getting only better! Thank you very much. Is the restaurant's happiness score equivalent to the rewards delivered?

  • @9okku
    @9okku 2 роки тому +2

    This is great. You should definitely continue with reinforcement learning applications!!!

  • @Rudolf-ul1zh
    @Rudolf-ul1zh 2 роки тому

    Thank you so much for also providing the link to the Hoeffding's inequality! Most other sources for this just skip the theory which I dislike since I would like to understand this algorithm.

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

    Warning Everybody... Very adictive vídeos... I just can't stop seeing one after another. Fantastic job!!!

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

    That's an amazing explanation!

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

    This is such a good explanation. Brilliant.

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

    The explanation makes the concepts very clear.

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

    Hey thx a lot for the explanations! Maybe you can make a third video about random and directed exploration. There are a lot more models like the UCB :)

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

    You are a great teacher indeed.

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

    great explanation bro!

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

    Thank you so much you explained that very well

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

    Best explanation, p.s. it would be nice to see results for 300+ days in this competition of ucb vs exploitation

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

    This was an excellent video. Thanks.

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

    Awesome explanation. Thanks a lot

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

    Ritvik you are a pedagogical GOD

  • @tyler-iy4jk
    @tyler-iy4jk Рік тому

    Came here to get better at picking restaurants but stayed for the data science teaching!

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

    Thank you very much..you made it very easy to understand

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

    Amazing! Thanks a lott!!

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

    Nicely explained, Thanks.

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

    Wonderful explanation

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

    This is super cool! Thanks :)

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

    Keep up the good work !!

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

    The thing I love the most about your videos is the perfect balance between intuition, theory and matching them to results. Keep going!
    If you have a Patreon or equivalent account, I'd be honored to support you in this terrific journey of yours.

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

    Very helpful!! Just wanna know if we don't have any prior info about happiness distribution of each restaurant, then how to use this UCB algorithm. In total cold start problem what parameters will be helpful to decide happiness distribution of restraunt in city.

  • @mr-shady
    @mr-shady 2 роки тому

    Hi, first of all, very well put together video!
    One question: in exploitation approach, in the example, we visited each restaurant once (n times in total) and then continued with the best observed one for the rest of 300 - n days, right?
    Also, I find it quite surprising that exploitation only outperforms UCB1 for larger n, intuitively it seems that exploitation only approach is less stable/more up to chance (may perform worse than even exploration only). I guess the second term based on Hoeffding's inequality really punishes UCB1 in the example 🤔

  • @shahulrahman2516
    @shahulrahman2516 13 днів тому

    Clear explanation

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

    Mindblowing!

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

    great tutorial brother can you make an lecture on ucb1 derivation

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

    Are there any models that factor in staleness? I would image going to the same restaurant 297 days in a row would be pretty boring so the optimal strategy should include the other restaurants every once in a while.

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

    That's probably Hoeffding's inequality. Maybe the name sounds strange, but nevertheless deserves to be spelled correctly!

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

    Kindly, also upload a video about Thompson Sampling as well! Exam in 4 days

  • @AshokKumar-lk1gv
    @AshokKumar-lk1gv 3 роки тому

    very nice lecture

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

    Another very good viedo.

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

    while watching this vid, i unconsciously started nodding!!!

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

    First, i love your channel!

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

      Hi. I have just watched a couple of your videos and couldn't resist the temptation to subscribe and binge on all the materials. Very impressed by the intuitiveness of your approach. May I ask if you have or recommend any materials to intuitively understand epsilon automata machines and CSSR algorithm. Utterly grateful for your reply.

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

    Hi, MAB seems to be inefficient when there are lots of arms. One way to calculate q-value for multiple arms using single model is by using contextual bandits, could you explain how contextual bandit does this? I cannot understand how one model outputs q-value for multiple arms..

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

    Nice!! thank you

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

    thank you!

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

    PERFECT !!!

  • @Archer-kx5ct
    @Archer-kx5ct 25 днів тому

    You’re the goat

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

    perfect!

  • @javierredondo
    @javierredondo 2 місяці тому

    Wouldn't the averages have to be within a specific range (e.g. [0,1])? Considering the explanation in the video, if the means move in an order of thousands, the bound would have practically no effect on the decision. Please correct me if this is not correct. Thanks!

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

    Can you make a video on Contextual Bandit

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

    Last option (n=100) is akin to real life. There are so many things to do and choose from in a short time. Exploiting is a better strategy to reduce regret - Make the most of what you got !

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

    thanks

  • @user-vb9bi7db6i
    @user-vb9bi7db6i 2 роки тому

    nice :)

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

    One additional question: can this be solved through an optimization problem's solution?

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

    In real-world problems, state-space will be very big and we will not get enough time to explore all possible states. In such cases, UCB1 should perform better than exploitation..

  • @user-ul2gm5np3i
    @user-ul2gm5np3i 2 роки тому

    cannot believe

  • @rahulshah6119
    @rahulshah6119 2 місяці тому

    To use hoeffdings, you need to be bounded. Why do we see that here?

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

    after seeing this video I decide not to continue exploration

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

    explained everything in a hurry, till I reached the end of the video I have already had forgotten what did you say at the start of the video.
    and watching again and again is also not helping.
    please put the other formulas on white board as well and show by calculating a manually a bit, so that the ideas and concept has time to sink in our brains.
    running to the end, won't help the learners.