I wasted hours at my uni with professors that overcomplicated these search algorithms. You sir saved me big time!
@Amirak254 Жыл бұрын
I relate
@abhilamsal71854 жыл бұрын
Breadth First Search applies goal test to each node when it is generated rather than when the node is selected for expansion. Therefore, once the algorithm determines shallowest goal node, it stops the search. By following your explaination, the time complexity of BFS comes around in the order of O( b^ (n+1) ). However, if the nodes were to be tested for goal nodes when they were generated rather than when selected for expansion, time complexity becomes O(b ^ n) since whole layer of nodes at depth n would be expanded before goal was detected. b -- branching factor n -- depth of shallowest goal node.
@nerioamaral40454 жыл бұрын
I love John's Lecture so helpful when it comes to explaining, I would love to have him as my AI Professor. anyways Thanks Dr John
@mariagabrielagarciaarroyo47336 жыл бұрын
Loving this channel, super well explained. Thank you!
@raphaellmsousa6 жыл бұрын
Congratulations for your explanation! It was the best one for this topic for me!
@kelvinmonari55128 ай бұрын
You are the best profesor ever
@limitless16925 жыл бұрын
Wow simple and clear Thank you Sir Much appreciated :)
@johnlevine29095 жыл бұрын
You're very welcome!
@benaya65 жыл бұрын
the best explanation I found so far...thank you sir
@syntaxerror214410 ай бұрын
Amazing work brother!
@franchello11056 жыл бұрын
A couple of drawbacks to bring up. Not guaranteed to find the least costed path from S to a Goal State. Also would use a ton of storage to maintain all the current unexpanded nodes. Back in college we had to solve the canibal missionary problem using DFS, because the storage required would grow exponentially if BFS is used.
@mustafaalshaqaq23032 жыл бұрын
Thanks. This is very helpful.
@yourdoom98686 жыл бұрын
Thanks for the explanation sir!
@yourfellowmuslimyagi20652 жыл бұрын
Excellent explanation
@hosseinjavoon4 жыл бұрын
thank you it was great ❤🌹
@gabethebabe38406 жыл бұрын
WOW great video!
@AsomyTraiget4 ай бұрын
Thanks
@abhirustagi69696 жыл бұрын
thankyou sir!!! very well explained
@ruixincheng62015 жыл бұрын
great explanation!!! could you please upload more videos about Neural networks and probability problems? such as Bayes networks,approximate inference and CNN
@tzaswit4 жыл бұрын
Thank you
@hashithakularatne36462 жыл бұрын
don't we need to add all the visited letters for that path?
@sknganga36333 жыл бұрын
This guy saving my degree
@jerushanmoodley26414 жыл бұрын
Well explained
@nadaali55 жыл бұрын
thank u
@amirhoxha6231 Жыл бұрын
smart fella
@kjohari_4 жыл бұрын
Missing your videos sir
@ibrahemnasser274421 күн бұрын
Wrong! Correct Path is: ABDG1
@johnlevine290921 күн бұрын
That's the order the nodes get visited in, but the path is the route that the agent needs to take to get to the goal.