A* Search

  Рет қаралды 388,551

John Levine

John Levine

7 жыл бұрын

Пікірлер: 327
@NikosXouselas10
@NikosXouselas10 2 жыл бұрын
Absolute legend. This dude has literally been more helpfull than I could ever imagine! Insane work!
@nitinneo7
@nitinneo7 4 жыл бұрын
The most coherent explanation of A* algorithm with an example. Thank you for saving our time and energy.
@mostafakarimi1733
@mostafakarimi1733 5 жыл бұрын
One of the best explanation of A* algorithm I've ever seen, Thank you Sir and I hope you create more videos about AI
@terrycamerlengo5492
@terrycamerlengo5492 3 жыл бұрын
This channel with John Levine is awesome. What a great lecturer! Great channel! Thank you!
@mishalubich7141
@mishalubich7141 3 жыл бұрын
Best A* tutorial for run-through! Others jump around (computerphile) too much, and its not easy to get a grasp of how we can run this algorithm by hand and how it actually works (abstracting away all the data structures). Thank you so much!
@dennissaluaar9103
@dennissaluaar9103 5 жыл бұрын
I am studying an introductory course in Artificial Intelligence here in Gothenburg, this short lecture made the A* very clear to me. Thank you!
@tollwutpinguin
@tollwutpinguin 4 ай бұрын
Thank you for providing free educational content of such high quality! The world needs more lecturers like yourself
@whiningmachine
@whiningmachine 2 жыл бұрын
Thank you for this explanation. You have no idea how many pages and videos I had to go through before somebody explained that the heuristic indicates the estimated cost to a goal node. I had no idea why we only added the destination node's heuristic to the total (and not the other nodes' heuristics along the path), and now I know. Thanks!
@zaid_marridi
@zaid_marridi 6 жыл бұрын
Thank you for this simple and great explanation... You're simply the best at this. Clean, clear, easy and very informative What else could someone ask for?!!!
@LucasofAppalachia
@LucasofAppalachia 6 жыл бұрын
Absolutely phenomenal explanation. Thank you for this.
@iampujan
@iampujan 5 жыл бұрын
Loved the video. Clear and Understandable. Thanks Professor John. Looking forward for more videos.
@cuchuoisalay9263
@cuchuoisalay9263 6 жыл бұрын
I would like to say thanks to you. Your tutorial about A* is very exciting!
@coxixx
@coxixx 7 жыл бұрын
the best teacher on the web
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Thanks. Glad you liked it.
@abhishekravichandran6965
@abhishekravichandran6965 3 жыл бұрын
kzbin.info/door/M-yUTYGmrNvKOCcAl21g3w she is the best bruh
@runneypo
@runneypo 3 жыл бұрын
@@abhishekravichandran6965 she has no video on a star though
@vakiljay8686
@vakiljay8686 3 жыл бұрын
@@abhishekravichandran6965 S I M P
@heer1359
@heer1359 3 жыл бұрын
@@abhishekravichandran6965 S I M P
@lianghaoquan
@lianghaoquan 4 жыл бұрын
Thank you for this great video! Love your clear explanation and your voice!
@555to_infinity
@555to_infinity 4 жыл бұрын
Wow. Perfect lecture on A* search. Highly recommended!
@simongrome9073
@simongrome9073 Жыл бұрын
These videos are super helpful in explaining stuff I didn't get from my textbook! Thank you!
@nihilrocks
@nihilrocks 11 ай бұрын
Truly a godsend! Saved me 5 marks on my A levels 15mins before the exam. Couldn't have explained it better!
@SaifUlIslam-di5xv
@SaifUlIslam-di5xv 3 жыл бұрын
It's a treat watching this as an introduction to what A* is. :D
@KuliahInformatika
@KuliahInformatika 2 жыл бұрын
I love the way you explain the algorithm... easy to understand...
@abdolvakilfazli2488
@abdolvakilfazli2488 5 жыл бұрын
Insanely clear explanation. Hope you add more details about completeness, optimality and complexity
@Peter-bg1ku
@Peter-bg1ku 2 жыл бұрын
Your explanation is amazing. Thank you!
@piotrptak5507
@piotrptak5507 6 жыл бұрын
Truly the best explanation of this algorithm we can find
@koibathekingofgames8522
@koibathekingofgames8522 Жыл бұрын
The best exemplification that I found until now, It`s worth watching.
@nilsmartel2295
@nilsmartel2295 4 жыл бұрын
you're a most talented teacher. Thank you
@nandudara3845
@nandudara3845 4 жыл бұрын
This is a perfect video for understanding A* algorithm
@saiprasad8311
@saiprasad8311 5 жыл бұрын
Good example. Makes it so easy to understand admissibility issue.
@zijunliu7765
@zijunliu7765 5 жыл бұрын
You explained way better than my professor! Thank you! Now I finally understand it.
@HafizAsimNawaz
@HafizAsimNawaz 7 жыл бұрын
I love this man...... you rocked sir... hats off
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Thank you! Glad you found it useful.
@nethmagunathilaka41
@nethmagunathilaka41 5 жыл бұрын
Best place to learn A*. U save my day!
@husseinsylla4850
@husseinsylla4850 Жыл бұрын
Hello Sir, Best tutorial I have covered on A* algorithms. Clear and complete, include all explanations for f(n)=g(n)+h(n) and over-estimations of theoritical heuristics. Brilliant. Thank you so much.
@TheSophiaLight
@TheSophiaLight 2 жыл бұрын
Clear, patient, simple. Thank you.
@OsamaAlmas
@OsamaAlmas 6 жыл бұрын
This is amazing, You deserve more subscribers!!!
@faox7565
@faox7565 6 жыл бұрын
what a clean teaching you are the best
@thinhnguyen3163
@thinhnguyen3163 4 жыл бұрын
Thank your work, i'm prepairing for AI test next week. Luckily I found this
@cieslak4004
@cieslak4004 5 жыл бұрын
THANK YOU! Greetings from Poland
@siddarvind6410
@siddarvind6410 10 ай бұрын
A godsend. This is saving me in my CS Discrete Math class, thank you so much!
@robs939
@robs939 2 жыл бұрын
John the Goat! Thanks man!
@breadsteeth2562
@breadsteeth2562 Жыл бұрын
Love from China. Clear explanation and it helps me a lot. Thank you!
@tashijawed5472
@tashijawed5472 Жыл бұрын
Great Explanation, as always. Just want to add one thing. at 9:43 When we reached node G2 with a cost of 13, we will stop the algorithm and won't go further with "E" node. Why? because it uses Priority Queue, the algorithm will stop once it finds a Goal node with a cost "less than or equal" to costs of other nodes. And it makes sense!! because once you reached G2 with a cost of 13, even if you have another node with the same cost, there's no point in checking it because it will only add to the cost.
@peterlawrence3505
@peterlawrence3505 5 ай бұрын
But if the heuristic was not admissible this would not be the case right?
@Mousta_alpha94
@Mousta_alpha94 5 жыл бұрын
thanks Mr john levine your explanation is excellnt
@aditisharma8398
@aditisharma8398 5 жыл бұрын
Sir you are the best!
@kuanghuang2773
@kuanghuang2773 6 жыл бұрын
very clear, very smooth, I like the teaching! thanks!
@ShinnyxAKAvincent
@ShinnyxAKAvincent 6 жыл бұрын
very clear speech, awesome explanation. Thanks a lot!
@willardmakinishi6980
@willardmakinishi6980 3 жыл бұрын
Thank you so much Mr. Levin. Trust me these things did not make any sense in the first encounter with my Lecturer with due respect to him. I have just watched the first minute and i Have decided to download the tutorial. Hopefully I will find your explanations on all the search Algorithms. God bless you and I hope to understand these things before June for my exams
@ecekucukpehlivan9779
@ecekucukpehlivan9779 4 жыл бұрын
These videos are very educational and useful. Thank you so much!
@zhenyufan8988
@zhenyufan8988 6 жыл бұрын
It's a great illustration!! But can u give us a example of how to decide the estimate value from certain node to a goal node?
@maximilianozavala8943
@maximilianozavala8943 2 жыл бұрын
Amazing explanation, thank you so much!
@shreengul6488
@shreengul6488 5 жыл бұрын
Great job sir!!! You explain things very clearly and unambiguously . No need to watch any other vedio after watching this.
@uchungnguyen1474
@uchungnguyen1474 6 жыл бұрын
sir hat off for your cleaning teaching!
@sibusisondimande5209
@sibusisondimande5209 6 жыл бұрын
Thanxxxx John. You're the best !!!!!
@MuhammadUsman-ry6tp
@MuhammadUsman-ry6tp 4 жыл бұрын
One of the best teacher i ever seen
@Geek-jx3gw
@Geek-jx3gw 2 жыл бұрын
throwback 2 years ago, you helped me to pass my exam and understand this algorithm really well
@balochx
@balochx 2 жыл бұрын
How's life?
@Geek-jx3gw
@Geek-jx3gw 2 жыл бұрын
@@balochx Amazing
@balochx
@balochx 2 жыл бұрын
@@Geek-jx3gw stay amazing!
@Geek-jx3gw
@Geek-jx3gw 2 жыл бұрын
@@balochx i didnt know what to answer but, life is not organized or as i wanted but it is better now 2 years before I was a stressed person, stressed about a lot of things including my future, grades, etc now, i am older and i changed into a better version of me i guess, less stressed, i love my struggles, i love to help people as much as i can, I’m trying my best to be good enough for me and my family so yeah life is amazing now🙌🏻
@balochx
@balochx 2 жыл бұрын
@@Geek-jx3gw thank you so much for sharing. and yes, ups and downs are a part of life. no one is completely satisfied with his/her life, we just have to embrace it and strive for the good. helping people for no agenda brings out huge happiness. and it was nice knowing about your story. I love hearing common people rather than famous people who are faking everything. Stay blessed 🙌
@Z3366N
@Z3366N 6 жыл бұрын
Thank you for sharing 😊 it was really helpful for me.
@ramiyousif8024
@ramiyousif8024 Жыл бұрын
Best video for Heuristic algorithm!! Thank you !!
@PierLim
@PierLim 6 жыл бұрын
Thank you for this, it is extremely clear.
@VaibhavSharma44
@VaibhavSharma44 6 жыл бұрын
Thank you so much. Tutorials like these are hard to find :)
@muinmohammadmozammel281
@muinmohammadmozammel281 4 жыл бұрын
Short and to the point explanation. Thanks.
@harpreetset
@harpreetset 7 жыл бұрын
really insightful. I am learning AI and have been reading about agent searches for a while. This one is quite helpful. Can you also cover big O notations for time and space for these algorithms? it will help in analyzing in what environments it makes sense to apply them.
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Thanks. I'm planning to do a video comparing the algorithms, including the time and space requirements, in due course.
@baldbadger7644
@baldbadger7644 3 жыл бұрын
the lecture was dilivered in a logical and clear manner, thank you so much
@AnsumanMohanty
@AnsumanMohanty 6 жыл бұрын
Clear and concise. But could you share any resource as to why the heuristic should underestimate the cost ?
@mohammadvasegh1754
@mohammadvasegh1754 4 жыл бұрын
in our country, today is teacher's day good sir. thank you for all of your clarification and examples that you've solved and happy teacher's day to you
@johnlevine2909
@johnlevine2909 4 жыл бұрын
Thank you Mohamad! I'm really glad you find the videos useful.
@alibrahim4686
@alibrahim4686 6 жыл бұрын
You are fantastic. Please make more videos.
@AshutoshSingh-do4ts
@AshutoshSingh-do4ts 2 жыл бұрын
Thank you sir for the explanation, it helped me a lot to understand the A* algorithm.
@OzDavid
@OzDavid 6 жыл бұрын
Amazing explanation. thanks sir
@message59
@message59 2 жыл бұрын
on point 👍🏻 super explanation thank you :)
@jamesthuo8763
@jamesthuo8763 5 жыл бұрын
Your videos are the best. Please do Greedy and other topics
@bars5762
@bars5762 2 жыл бұрын
I'm not very good in English but your explaination is very easy to listen and understand. Thank you very much!
@kyawnyeinphyo5639
@kyawnyeinphyo5639 3 жыл бұрын
Sir, thank you for your amazing explanation
@bamboom9184
@bamboom9184 2 жыл бұрын
I am serious like wow loved the lecture was soooooo interesting please keep this up you will be helping alot of ppl since most teachers dont know what they are talking about
@iwayanbagus2271
@iwayanbagus2271 5 жыл бұрын
thank you for your videos! I learnt alot
@raiyan22
@raiyan22 Жыл бұрын
thank you! Superb!!
@tonderaimakumborenga2648
@tonderaimakumborenga2648 6 жыл бұрын
Simply the best
@Imhotep1278
@Imhotep1278 6 жыл бұрын
very nice explanation and example, indeed
@NinaHProductions1
@NinaHProductions1 6 жыл бұрын
You are the best teacher and provide the cleanest of explanations - at 5:53 the A* score for A is 17 (5 + 3 +2 + 7) instead of 20 I think?
@que_93
@que_93 6 жыл бұрын
It should be 17, not 20.
@ngusumakofu1
@ngusumakofu1 5 жыл бұрын
Indeed it should be 17
@JackyShaw
@JackyShaw 5 жыл бұрын
I agree too.
@know_how5661
@know_how5661 5 жыл бұрын
yup... its 17
@sussananukem7101
@sussananukem7101 4 жыл бұрын
Nope... He's correct. He readded the path cost from A to B since we are revisiting A. That is: 5+3+(3)+2+7 =20
@paulshi2821
@paulshi2821 3 жыл бұрын
Thank you for explaining this!
@rashidafoodcornervlog654
@rashidafoodcornervlog654 3 жыл бұрын
Brilliant man you should make more videos
@tiagosousa5278
@tiagosousa5278 3 жыл бұрын
holy astar guacamole! perfect explanation!!
@maxharris6926
@maxharris6926 3 жыл бұрын
Great Video, thank you for explaining A*. For clarification if you find a node that has been visited, but the current path's A* score is less than the cost in the visited set, would you continue on the path and update the A* score in the visited set?
@grass666
@grass666 Жыл бұрын
this tutorial is sooo slay thank you king
@SiEmG
@SiEmG 3 жыл бұрын
Hello Mr. John Levine and the rest of the people IN THE COMMENTS :). Mr. Levin thank you very much for your help. You give totally clear instructions!! :) My only question is this: is G node visited also? I think in A* goal state is also added in the visited list, right?
@firatyildiz66
@firatyildiz66 4 жыл бұрын
Thank you for the clear explanation sir!
@dushanrathnayake5007
@dushanrathnayake5007 2 жыл бұрын
Just brilliant! Thank you so much! At 5:53 the A* score for A is 17 (5 + 3 +2 + 7) instead of 20 I think.
@johnlevine2909
@johnlevine2909 2 жыл бұрын
Thank you, and well spotted!
@emrec.4005
@emrec.4005 5 жыл бұрын
Well, that marvelous.
@user-wf8tl6vk9w
@user-wf8tl6vk9w 2 жыл бұрын
How is the goal state considered in a situation with ties? If using alphabetical order, do goal states count as the alphabet G?
@CARELESSuwu
@CARELESSuwu 6 жыл бұрын
Brilliant!! Thank you sooo much! :)
@dapengzhang4473
@dapengzhang4473 5 жыл бұрын
Really like your video, it is really helpful!!!! Thank you!
@LarryP248
@LarryP248 6 ай бұрын
This is important content. A related book I read was also significant. "Game Theory and the Pursuit of Algorithmic Fairness" by Jack Frostwell
@melihekinci7758
@melihekinci7758 Жыл бұрын
Very good explanation.. thank you
@muhammadhabib3442
@muhammadhabib3442 7 жыл бұрын
Great Tutorial, Please also Make another tutorial on the Optimality proof of A∗
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Many thanks, and thanks for the suggestion - I think that's a great idea.
@hermosillaignacio
@hermosillaignacio 6 жыл бұрын
Awesome video, thank you!
@justafreak15able
@justafreak15able 6 жыл бұрын
wawo you explained it very simply and quickly.
@mobeenahmad4711
@mobeenahmad4711 6 жыл бұрын
thank you sir it was so clear and concise plz make more tutorials.
@ksrikanth1353
@ksrikanth1353 6 жыл бұрын
really useful tutorial sir gonna subscribe your channel pls do more videos on ai....
@tanvirkaisar7245
@tanvirkaisar7245 7 ай бұрын
If at some point you get a node having better A* score and the node was already visited (but has inferior A* score than the most recent one), do you replace the old visited node with the current new one?
@rishabhsharma5645
@rishabhsharma5645 5 жыл бұрын
Bravo! Awesome video
@Greatfulone
@Greatfulone 3 жыл бұрын
Thank you so much for this video. I was looking for an explanation of A*, and I think your video just helped me fix my code and learn why I had to make the change. If I understood your comments, I should only visit a node if I either have not visited it before, or its A* score is lower from the path I am currently considering. And the A* score is a sum of how much it costs to get to a node plus the nodes heuristic value. Is that right?
@ngusumakofu1
@ngusumakofu1 5 жыл бұрын
Thank you sir. Made it so much clearer
@denvermoodley8487
@denvermoodley8487 6 жыл бұрын
Extremely helpful , thank you
@abdoudjerdi9193
@abdoudjerdi9193 11 ай бұрын
thank you so much i was really struggling to understand it but you make really clear and simple
@nawrasqusay2164
@nawrasqusay2164 3 жыл бұрын
thank u soo much u r a the savior but i wonder why u dont calculate the cost of (G) with the cost of the path
Uniform Cost Search
10:23
John Levine
Рет қаралды 382 М.
Minimax with Alpha Beta Pruning
13:44
John Levine
Рет қаралды 319 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 39 МЛН
Stupid man 👨😂
00:20
Nadir Show
Рет қаралды 27 МЛН
A* (A Star) Search Algorithm - Computerphile
14:04
Computerphile
Рет қаралды 1,1 МЛН
A* (A Star) Search and Heuristics Intuition in 2 minutes
2:08
Anish Krishnan
Рет қаралды 103 М.
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,2 МЛН
A* Pathfinding (E01: algorithm explanation)
11:39
Sebastian Lague
Рет қаралды 2 МЛН
The hidden beauty of the A* algorithm
19:22
polylog
Рет қаралды 811 М.
Depth First Search
7:16
John Levine
Рет қаралды 91 М.
Monte Carlo Tree Search
15:50
John Levine
Рет қаралды 134 М.
Algorithms Explained - minimax and alpha-beta pruning
11:01
Sebastian Lague
Рет қаралды 1 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 39 МЛН