Minimax with Alpha Beta Pruning

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มี.ค. 2017

ความคิดเห็น • 190

  • @RahulSam
    @RahulSam 6 ปีที่แล้ว +126

    You are a great lecturer, not many people can do this.

  • @bryanbocao4906
    @bryanbocao4906 5 ปีที่แล้ว +213

    Great explanation! Some important notes as well:
    1) only in a Max node can update the corresponding alpha, so does Min for beta.
    2) v can only be returned up to its parent
    3) alpha and beta can only be passed down from its parent
    4) cut the current node from the tree whenever alpha >= beta
    In the graph on the right whiteboard, shouldn't all the alpha, beta are initialized as -infinity and infinity, respectively?
    At 13:07, for the completeness of the logic flow, I think we should set the beta to be 2 in the node(v=2, alpha=8, beta= ), then because alpha(8) > beta(2), we prune the right subtree.

    • @rampage14x13
      @rampage14x13 5 ปีที่แล้ว +9

      all solid things to point out, thanks

    • @kingtqos1514
      @kingtqos1514 5 ปีที่แล้ว

      It works like a charm, Thanks!

    • @superuser8636
      @superuser8636 3 ปีที่แล้ว +6

      Yeah, this algorithm is total shit

    • @imnacho4127
      @imnacho4127 2 ปีที่แล้ว +4

      beta would never assigned the value of two; the function would return before that variable assignment.

    • @kevin-lamquesnel9067
      @kevin-lamquesnel9067 ปีที่แล้ว +1

      Thanks this helped me so much, you have no idea

  • @amellperalta
    @amellperalta 6 ปีที่แล้ว +146

    Excellent explanation! The video is clear, concise, and precise. We want more videos from you. Please teach us more about AI.

  • @XxBleedRainbowxX
    @XxBleedRainbowxX 5 ปีที่แล้ว +1

    Just wanted to thank you for your great videos! Watching them pre-exam to refresh and they're all very clear and informative

  • @jabodey
    @jabodey 6 ปีที่แล้ว +14

    THANK YOU SIR! I finally know alpha beta pruning!!! Your explanation was crystal clear. If you taught my AI course, I would never ditch class!!

  • @sagnik3105
    @sagnik3105 6 ปีที่แล้ว +12

    This definitely has to be the most thorough explanation I found on the topic. Thank you! :D

  • @nilsmartel2295
    @nilsmartel2295 3 ปีที่แล้ว +2

    Every single time I see that you have uploaded a video about a topic, I lose all fear, that I'm not going to be able to understand it. This is not an exaggeration, you've helped me avoid so much confusion and desperation. Thank you so much John!

  • @GtaRockt
    @GtaRockt 3 ปีที่แล้ว +16

    Great teacher, got a B on my AI exam with your videos about tree search algorithms 👌 explained it way better in a couple of minutes than my teacher in an hour

  • @pellekools6475
    @pellekools6475 6 ปีที่แล้ว +2

    Great explanation! I already knew what steps to take, but it wasn't really clear why I should take those steps. It is clear to me now.

  • @benaya6
    @benaya6 4 ปีที่แล้ว +1

    it's just amazing. all your videos are the definition of crystal clear explanation. perfect. I wish you'll do more videos

  • @adamkawsara6881
    @adamkawsara6881 6 ปีที่แล้ว +2

    Wonderful video. This helped a lot! Working through the example in real time and explaining your thought process as you went really helped make this click.

  • @jonathancui3063
    @jonathancui3063 3 ปีที่แล้ว +12

    As a self-learner, this video is by far the best explanation I've ever seen. Clean, concise, and to the point.

  • @AdityaRaj_Purohit
    @AdityaRaj_Purohit 5 ปีที่แล้ว +5

    One of the best video on youtube to understand Alpha Beta pruning.
    Want more video like this to get more understanding of AI.

  • @oshawastaken
    @oshawastaken ปีที่แล้ว +2

    5 year later and still best video on alpha-beta pruning. Thank you sir.

    • @johnlevine2909
      @johnlevine2909  ปีที่แล้ว +3

      Thanks for making me feel old! Very glad it's useful 😀

  • @PauloViniciusMoreiraDutra
    @PauloViniciusMoreiraDutra 2 ปีที่แล้ว +2

    the best explanation about minimax. You are a great professor. I watched a lot of videos about minimax algorithm, but only your video I understood clearly

  • @andrewweems9427
    @andrewweems9427 6 ปีที่แล้ว +3

    Your videos are so concise and helpful. They're the only thing keeping my grade decent in my Intelligent Systems class.

  • @syedahabali2450
    @syedahabali2450 6 ปีที่แล้ว +4

    Respect to you sir. You explained it so well! I'm very grateful!

  • @prasangsinghal262
    @prasangsinghal262 5 ปีที่แล้ว +4

    He saved my exam. Thnxx sir for such a great explanation.

  • @yashvats9703
    @yashvats9703 ปีที่แล้ว +2

    He is god. He explained everything in just 13 minutes. I wish if I came across this video earlier it could have saved my time. Great teacher!!

  • @hemmahbeast
    @hemmahbeast 5 ปีที่แล้ว

    Nice lesson, Biblo. The great eye watching you is pleased.

  • @ManishSharma-cf3or
    @ManishSharma-cf3or 5 ปีที่แล้ว

    Awesome!! Seen most of your videos(Loved A* video too) and I must say that this topic was a bit tricky till I saw this ! You make it sound so simple

  • @GauravYadavdv31
    @GauravYadavdv31 5 ปีที่แล้ว

    One of the best explanation, Thank you John Levine.

  • @dadas7852
    @dadas7852 6 ปีที่แล้ว +10

    This is the best video about this topic

  • @meharabdullah8608
    @meharabdullah8608 6 ปีที่แล้ว +2

    Fantastic explanation. No one on TH-cam has ever explained this algorithm so nicely using it's pseudo code . Very nice Sir, Respect

  • @cookiejar3094
    @cookiejar3094 12 วันที่ผ่านมา

    Your videos help me so much with my course, thanks!

  • @mkamp
    @mkamp 7 ปีที่แล้ว +38

    Thanks. That was my nth video on that topic and this time it clicked. Thanks for taking the time to go through it so deliberately. :)

    • @johnlevine2909
      @johnlevine2909  7 ปีที่แล้ว +7

      You're very welcome!

    • @bharathpalla3705
      @bharathpalla3705 6 ปีที่แล้ว

      Can you do a video on nonlinear planning with Goal Stack...

  • @TheZ0mi
    @TheZ0mi 5 ปีที่แล้ว

    Thank you Sir, after checking many videos on the same topic, your lecture makes me understand the topic.

  • @mesosiderite4670
    @mesosiderite4670 10 หลายเดือนก่อน +3

    I want to thank you sir,
    you have done what my teacher was unable to do, a good explanation,
    it took me three days to understand this, and finally I understood thanks to this video

  • @Fionasfung
    @Fionasfung 2 ปีที่แล้ว

    This is the best video I have seen which explains the algorithm along with the graph.

  • @fejohnson
    @fejohnson 6 ปีที่แล้ว +2

    this is amazingly helpful for me! thank you sir for this explanation!

  • @dien2971
    @dien2971 4 ปีที่แล้ว

    Thank you, sir. You are a great teacher!

  • @nh1622
    @nh1622 6 ปีที่แล้ว

    Really good!! Thanks for taking the time to explain it properly.

  • @Daryn372
    @Daryn372 5 ปีที่แล้ว

    Brilliant explanation. Just what I needed. Thank you.

  • @nicolemb05
    @nicolemb05 8 หลายเดือนก่อน

    This is so helpful!! Thank you so much!

  • @nassimmehalli7043
    @nassimmehalli7043 5 ปีที่แล้ว +1

    an excellent teacher , thank's a lot. we'r waiting for more courses about AI :) Good luck

  • @ahlamalbimani2070
    @ahlamalbimani2070 6 ปีที่แล้ว

    Thank you. I've seen many videos and could not understand until I saw this video. Many thanks for your clear explanation!!

  • @user-xp3me9ws9c
    @user-xp3me9ws9c 5 ปีที่แล้ว

    thank you for the video, it really helped me a lot doing my exam study!!

  • @alexanderyau6347
    @alexanderyau6347 5 ปีที่แล้ว +3

    Wow, this lecture helps me understand the alpha-beta algorithm, the pseudo code is very helpful to understand. Quite intuitive. Where is the link for the assignment?

  • @rv.9658
    @rv.9658 2 ปีที่แล้ว

    Watching this once saves me so much time that might've gone into reading through a textbook section on this particular algorithm

  • @_justinxu
    @_justinxu 3 ปีที่แล้ว

    Don't expect to instantly understand this topic, but your video did it. Thanks. :D

  • @ArushitMudgal
    @ArushitMudgal 6 ปีที่แล้ว +3

    Watched it in approximately 9 minutes (X1.5 speed) and this has been the most precise and to-the-point explanation I have watched so far and believe me I have watched many. Thank you sir

  • @jennachen1411
    @jennachen1411 5 ปีที่แล้ว

    Thank you very very much! It takes a long time for me to understand the alpha-beta pruning .Luckly ,I find this vedio.

  • @vinicius2699
    @vinicius2699 5 ปีที่แล้ว +1

    Damn, you are good. Thanks for helping

  • @sergiovasquez5643
    @sergiovasquez5643 3 ปีที่แล้ว +1

    Great presentation of work. would it be possible to link the supplementary material associated with this lecture?

  • @dbnnoman5596
    @dbnnoman5596 2 ปีที่แล้ว

    Thank You so much sir!
    God Bless you!

  • @shivamroy1775
    @shivamroy1775 7 ปีที่แล้ว

    Thank You . You're an amazing teacher .

    • @johnlevine2909
      @johnlevine2909  7 ปีที่แล้ว +2

      Thanks Shivam! Glad you found it useful.

  • @BeSharpInCSharp
    @BeSharpInCSharp 3 ปีที่แล้ว

    I have to admit you are the only one who could explain and impart knowledge to even the dumbest person like me. You are the great great teacher.

  • @weidong1378
    @weidong1378 5 ปีที่แล้ว

    Best video I've seen on the subject

  • @user-pr6cq3rs4x
    @user-pr6cq3rs4x ปีที่แล้ว

    Thank you for this amazing video and explaination, not many have the ability to do this 🌸🖤

  • @joaquinvanloon7341
    @joaquinvanloon7341 6 ปีที่แล้ว

    Great video, great explanatiom!

  • @ImranAkbarUK
    @ImranAkbarUK 5 ปีที่แล้ว +1

    very good Explanation Sir! :)

  • @xdxdxd1
    @xdxdxd1 5 ปีที่แล้ว

    Amazing videos! Thank you!

  • @dimmo15
    @dimmo15 6 ปีที่แล้ว +1

    Thank you sir! I was wondering if there is a formula that can calculate the maximum number of nodes that can be pruned in a tree with a depth of d and a branching factor of b.

  • @hangchen
    @hangchen 4 ปีที่แล้ว

    OMG! Very very clear! I came from CS188 step by step.

  • @linh6360
    @linh6360 4 ปีที่แล้ว

    thank you so much for the lecture.

  • @AntonAtef
    @AntonAtef 11 หลายเดือนก่อน +1

    Great explanation 👌

  • @johnphilipespia1167
    @johnphilipespia1167 2 ปีที่แล้ว

    Thank you so much! You're the best!!

  • @sashinthat3173
    @sashinthat3173 ปีที่แล้ว

    Goated Explanation Sir!

  • @pratyushshrivastava4362
    @pratyushshrivastava4362 หลายเดือนก่อน

    Great explanation!

  • @Jantol93
    @Jantol93 2 ปีที่แล้ว

    The best explanation of alpha beta pruning. "If the value is greater than beta that means min is going to prefer the branch that lead to beta." That line made it click for me.

  • @bushrhaddad3141
    @bushrhaddad3141 5 ปีที่แล้ว

    Very clear explanation, Thank you

  • @amirbaba9677
    @amirbaba9677 2 ปีที่แล้ว

    this video was so helpful.
    thank you.

  • @TheNatashalazroo
    @TheNatashalazroo 5 ปีที่แล้ว

    The only explanation that made sense to me!

  • @tega2754
    @tega2754 6 ปีที่แล้ว +2

    Thank you!!! :)

  • @TrangPham-kc7ft
    @TrangPham-kc7ft 3 ปีที่แล้ว

    Thank you so much for your video. It's really clear.

  • @dgglovesbb
    @dgglovesbb 7 หลายเดือนก่อน

    Thank you so much!

  • @bangminh5712
    @bangminh5712 6 ปีที่แล้ว

    Please make a video on Negamax as well, would be perfect if includes Transposition in the algorithm either. And thanks for the lesson, thank you.

  • @madeline-qk3vg
    @madeline-qk3vg 10 หลายเดือนก่อน

    this is life-saving sir thanks a lot ^-^

  • @ahsanshahid11
    @ahsanshahid11 6 ปีที่แล้ว +2

    bunch of thanks (y)

  • @simha3154
    @simha3154 6 ปีที่แล้ว

    This is amazing. Thanks!

  • @mohamedibrahimhassan291
    @mohamedibrahimhassan291 ปีที่แล้ว

    loved the way you explaine

  • @jebaanto7649
    @jebaanto7649 3 ปีที่แล้ว

    Awesome explanation sir thanks from india

  • @hoomanjafari4633
    @hoomanjafari4633 4 ปีที่แล้ว

    Thanks a lot, you made my day !

  • @AGCrush
    @AGCrush 3 ปีที่แล้ว

    Great Explanation! Thanks alot.

  • @yashin2068
    @yashin2068 5 ปีที่แล้ว

    it is a really nice explanation. thank u sir.

  • @mursheduzzamanrakib260
    @mursheduzzamanrakib260 6 ปีที่แล้ว +1

    Sir, would you mind making a series video for Artificial Intelligence... It will be more helpful...

  • @jonesmukuta1910
    @jonesmukuta1910 2 ปีที่แล้ว

    Good work right there!!!

  • @majdal2680
    @majdal2680 5 ปีที่แล้ว

    thank you, Excellent explanation

  • @aynurememmedova9436
    @aynurememmedova9436 ปีที่แล้ว

    Thanks teacher...I watch your videos in Azerbaijan✨

  • @simoneditzzz
    @simoneditzzz ปีที่แล้ว

    thanks man, you gave me a great favor

  • @guoshenli4193
    @guoshenli4193 2 ปีที่แล้ว

    great explanation!!! Thank you!!!

  • @abdellahi.heiballa
    @abdellahi.heiballa 4 ปีที่แล้ว

    great explaining prof

  • @muhammadfawad1505
    @muhammadfawad1505 6 ปีที่แล้ว

    Awesome Sir, @respect

  • @harrisonjin8359
    @harrisonjin8359 3 ปีที่แล้ว

    Best explanation by far

  • @ammarzorig2771
    @ammarzorig2771 4 ปีที่แล้ว

    Thank you Dr

  • @nmt800
    @nmt800 5 ปีที่แล้ว

    Awesome explanation. Upvote. Please make videos explain, all alogrithms Thanks!

  • @matteomastandrea5680
    @matteomastandrea5680 ปีที่แล้ว

    this mans single handedly getting me through AI

  • @kasunigamage3529
    @kasunigamage3529 4 ปีที่แล้ว

    great explanation!! thanks a lot

  • @shantanulokhande3730
    @shantanulokhande3730 6 หลายเดือนก่อน

    Thank you so much sir. !!!!

  • @ApaDOCTOR
    @ApaDOCTOR 6 ปีที่แล้ว

    Thank you!

  • @aimadabdelouhab8627
    @aimadabdelouhab8627 5 ปีที่แล้ว

    THANK YOU SIR, you saved my exam

  • @WickedChild95
    @WickedChild95 6 ปีที่แล้ว

    Awesome video!

  • @TheTahlia1988
    @TheTahlia1988 6 ปีที่แล้ว +2

    Again, superb teaching. Thank you!

  • @shehrozkhan9563
    @shehrozkhan9563 ปีที่แล้ว

    Sirrr love your vids

  • @beri4138
    @beri4138 3 ปีที่แล้ว

    Very good video. I will now attempt to code my own tic-tac-toe solver :)

  • @ShadowQuik
    @ShadowQuik 6 ปีที่แล้ว

    Awesome, very clear

  • @llcooljake1
    @llcooljake1 7 ปีที่แล้ว

    Thank you! Finally clicked after watching this video.

    • @johnlevine2909
      @johnlevine2909  7 ปีที่แล้ว +1

      Great! Really glad it was useful.

  • @kiizafavour5387
    @kiizafavour5387 6 ปีที่แล้ว

    thanks...have enjoyed the video

  • @freesoul2677
    @freesoul2677 7 ปีที่แล้ว

    That was really helpful, Thanks !!!!

    • @johnlevine2909
      @johnlevine2909  7 ปีที่แล้ว +1

      Thanks Basma! Glad you found it useful.

  • @user-si3bw5yb7p
    @user-si3bw5yb7p 6 หลายเดือนก่อน

    Thanks. your explain is quit clear😊

    • @178_AMANKUMARSINHA
      @178_AMANKUMARSINHA 4 หลายเดือนก่อน

      bsdk english to theek se bol le 6th pass ma ki chut