Greedy best first

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มี.ค. 2018
  • Since I publish my AI lectures' slides in PDF, I uploaded this animation so that the students that attend the class can review it at home. , thus it is not self-contained.
  • เพลง

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

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

    better than any 10 min video i've watched so far. Thanks !

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

    Really helpful! The video elegantly emphasizes the fact that there is both an open priority queue and a closed one which I was struggling to understand

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

    Fantastic work. simple and straight forward

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

    Super clear, very intuitive much love and thank you for sharing with us students!

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

    Better than my 3 hour lecture

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

    Why does it choose node 31 first instead of 26?

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

    That's rather understandable. Thanks a lot!

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

    Great video thanks !

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

    thank you so much. it is so simple and understandable

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

    can any one explain why 31 is selected as close node instead of 26 which one is smaller than 31

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

      When the node with value of 31 was selected, it was the best (lowest) node in OPEN. The node with the value of 26 was note discovered yet.

  • @Lee-uw6lr
    @Lee-uw6lr 6 หลายเดือนก่อน

    hello sir, can you give an example where Greedy Best First Search gets stuck in an infinite loop? Im having trouble proving it using the open and closed list.

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

      Greedy best first search (GBFS) cannot get stuck in an infinite loop due to the checks in OPEN and CLOSE. However, it can get into an infinite branch. Assume, for example, that the goal is to find a finite string that satisfies some condition. Assume that problem is converted to a search problem by starting from the empty string, and adding one additional letter in each step. For a certain heuristic functions, it is possible for GBFS to get stuck in one branch indefinitely by keeping adding letters.

  • @user-ov1rt6pi7d
    @user-ov1rt6pi7d 3 ปีที่แล้ว +1

    so what is the difference between this algorithm and UCS?

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

      this one checks heuristic values, while UCS checks path cost

    • @WordieBirdieOldieOwlie
      @WordieBirdieOldieOwlie 23 วันที่ผ่านมา

      @@12Metatron is that the only difference? So why does it incomplete?

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

    but this is ucs? greedy bfs would have explored 32 prior to 29 however at the same time idk what your graph looks like so im assuming the node that costs 32 leads back to 29 therefore its depth has ended and we will continue with the first method to get to 29 instead of taking the 26 node method since it costs less

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

      Richard, I'm sorry but I did not get your point. This is Greedy best First Search. The algorithm expands the node in OPEN with the best (minimal) heuristic value. So a node of value 29 will be expanded before a node of value 32.

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

      @@shaulm oh i must have misunderstood the algorithm. I thought that since greedy best first search will choose the best option for what is defined as “in the moment” and acts as a dfs once a least cost node is chosen, then it would continue down that leaf until it has been fully explored. I wasn’t aware that it kept a record or queue of the least cost nodes

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

    surprisingly better!

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

    thanks

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

    Thanks

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

    Silent genius.

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

      you're here too.

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

      Assignment needs to be done

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

      Can you peeps maybe enlighten me for my assignment.. like here he followed the right legs cause it was the greedy path leading to his answer, what would happen if you follow the greedy path all the way down the right side and not find your answer? do you just jump back into your next open list item and then follow its greedy path? what I mean by this is we got a alphabetical tree, like A leads to B for a distance of 12 or C for 9, so your obviously gna follow C, but the answer node K that i want is down the left leg. so do i just do the entire right leg then pop back up in the open list to B then do its leg?

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

      I think you got it, when your search leads you to a leaf that's not the goal, you go the next lowest cost node2and so on until you get to the goal

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

      Makes sense thanks, just wanted a second opinion. teamwork makes the dream work

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

    Toda!

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

    קצר ולעניין
    תודה רבה