A* Search

  Рет қаралды 401,628

John Levine

John Levine

7 жыл бұрын

Пікірлер: 328
@user-ww2lt8ik5x
@user-ww2lt8ik5x Ай бұрын
7 years later, this is still best video available
@miladnoori2098
@miladnoori2098 23 күн бұрын
i agree
@NikosXouselas10
@NikosXouselas10 2 жыл бұрын
Absolute legend. This dude has literally been more helpfull than I could ever imagine! Insane work!
@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!
@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!
@nitinneo7
@nitinneo7 4 жыл бұрын
The most coherent explanation of A* algorithm with an example. Thank you for saving our time and energy.
@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?!!!
@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!
@iampujan
@iampujan 6 жыл бұрын
Loved the video. Clear and Understandable. Thanks Professor John. Looking forward for more videos.
@tollwutpinguin
@tollwutpinguin 6 ай бұрын
Thank you for providing free educational content of such high quality! The world needs more lecturers like yourself
@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.
@OsamaAlmas
@OsamaAlmas 7 жыл бұрын
This is amazing, You deserve more subscribers!!!
@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!
@cuchuoisalay9263
@cuchuoisalay9263 6 жыл бұрын
I would like to say thanks to you. Your tutorial about A* is very exciting!
@LucasofAppalachia
@LucasofAppalachia 6 жыл бұрын
Absolutely phenomenal explanation. Thank you for this.
@tashijawed5472
@tashijawed5472 2 жыл бұрын
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 7 ай бұрын
But if the heuristic was not admissible this would not be the case right?
@nihilrocks
@nihilrocks Жыл бұрын
Truly a godsend! Saved me 5 marks on my A levels 15mins before the exam. Couldn't have explained it better!
@simongrome9073
@simongrome9073 Жыл бұрын
These videos are super helpful in explaining stuff I didn't get from my textbook! Thank you!
@HafizAsimNawaz
@HafizAsimNawaz 7 жыл бұрын
I love this man...... you rocked sir... hats off
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Thank you! Glad you found it useful.
@abdolvakilfazli2488
@abdolvakilfazli2488 5 жыл бұрын
Insanely clear explanation. Hope you add more details about completeness, optimality and complexity
@coxixx
@coxixx 7 жыл бұрын
the best teacher on the web
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Thanks. Glad you liked it.
@abhishekravichandran6965
@abhishekravichandran6965 3 жыл бұрын
kzfaq.info/love/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
@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 🙌
@zijunliu7765
@zijunliu7765 5 жыл бұрын
You explained way better than my professor! Thank you! Now I finally understand it.
@nilsmartel2295
@nilsmartel2295 4 жыл бұрын
you're a most talented teacher. Thank you
@KuliahInformatika
@KuliahInformatika 2 жыл бұрын
I love the way you explain the algorithm... easy to understand...
@saiprasad8311
@saiprasad8311 5 жыл бұрын
Good example. Makes it so easy to understand admissibility issue.
@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.
@SaifUlIslam-di5xv
@SaifUlIslam-di5xv 3 жыл бұрын
It's a treat watching this as an introduction to what A* is. :D
@shreengul6488
@shreengul6488 5 жыл бұрын
Great job sir!!! You explain things very clearly and unambiguously . No need to watch any other vedio after watching this.
@Peter-bg1ku
@Peter-bg1ku 2 жыл бұрын
Your explanation is amazing. Thank you!
@koibathekingofgames8522
@koibathekingofgames8522 Жыл бұрын
The best exemplification that I found until now, It`s worth watching.
@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
@nethmagunathilaka
@nethmagunathilaka 5 жыл бұрын
Best place to learn A*. U save my day!
@AsomyTraiget
@AsomyTraiget 5 күн бұрын
Thank you very much for these efforts, greetings from Libya
@breadsteeth2562
@breadsteeth2562 Жыл бұрын
Love from China. Clear explanation and it helps me a lot. Thank you!
@kuanghuang2773
@kuanghuang2773 6 жыл бұрын
very clear, very smooth, I like the teaching! 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.
@ecekucukpehlivan9779
@ecekucukpehlivan9779 4 жыл бұрын
These videos are very educational and useful. Thank you so much!
@ShinnyxAKAvincent
@ShinnyxAKAvincent 6 жыл бұрын
very clear speech, awesome explanation. Thanks a lot!
@TheSophiaLight
@TheSophiaLight 3 жыл бұрын
Clear, patient, simple. Thank you.
@cieslak4004
@cieslak4004 5 жыл бұрын
THANK YOU! Greetings from Poland
@thinhnguyen3163
@thinhnguyen3163 4 жыл бұрын
Thank your work, i'm prepairing for AI test next week. Luckily I found this
@piotrptak5507
@piotrptak5507 6 жыл бұрын
Truly the best explanation of this algorithm we can find
@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
@siddarvind6410
@siddarvind6410 Жыл бұрын
A godsend. This is saving me in my CS Discrete Math class, thank you so much!
@baldbadger7644
@baldbadger7644 3 жыл бұрын
the lecture was dilivered in a logical and clear manner, thank you so much
@jamesthuo8763
@jamesthuo8763 6 жыл бұрын
Your videos are the best. Please do Greedy and other topics
@nandudara3845
@nandudara3845 4 жыл бұрын
This is a perfect video for understanding A* algorithm
@faox7565
@faox7565 7 жыл бұрын
what a clean teaching you are the best
@Mousta_alpha94
@Mousta_alpha94 5 жыл бұрын
thanks Mr john levine your explanation is excellnt
@AnsumanMohanty
@AnsumanMohanty 6 жыл бұрын
Clear and concise. But could you share any resource as to why the heuristic should underestimate the cost ?
@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?
@VaibhavSharma44
@VaibhavSharma44 6 жыл бұрын
Thank you so much. Tutorials like these are hard to find :)
@sibusisondimande5209
@sibusisondimande5209 6 жыл бұрын
Thanxxxx John. You're the best !!!!!
@Z3366N
@Z3366N 6 жыл бұрын
Thank you for sharing 😊 it was really helpful for me.
@PierLim
@PierLim 6 жыл бұрын
Thank you for this, it is extremely clear.
@bars5762
@bars5762 2 жыл бұрын
I'm not very good in English but your explaination is very easy to listen and understand. Thank you very much!
@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.
@maximilianozavala8943
@maximilianozavala8943 2 жыл бұрын
Amazing explanation, thank you so much!
@dapengzhang4473
@dapengzhang4473 5 жыл бұрын
Really like your video, it is really helpful!!!! Thank you!
@bamboom9184
@bamboom9184 3 жыл бұрын
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
@AshutoshSingh-do4ts
@AshutoshSingh-do4ts 2 жыл бұрын
Thank you sir for the explanation, it helped me a lot to understand the A* algorithm.
@alibrahim4686
@alibrahim4686 7 жыл бұрын
You are fantastic. Please make more videos.
@MuhammadUsman-ry6tp
@MuhammadUsman-ry6tp 5 жыл бұрын
One of the best teacher i ever seen
@robs939
@robs939 2 жыл бұрын
John the Goat! Thanks man!
@iwayanbagus2271
@iwayanbagus2271 5 жыл бұрын
thank you for your videos! I learnt alot
@dushanrathnayake5007
@dushanrathnayake5007 3 жыл бұрын
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 3 жыл бұрын
Thank you, and well spotted!
@muinmohammadmozammel281
@muinmohammadmozammel281 4 жыл бұрын
Short and to the point explanation. Thanks.
@hw5622
@hw5622 6 жыл бұрын
Good videos! Helped me a a lot, thanks!
@mobeenahmad4711
@mobeenahmad4711 7 жыл бұрын
thank you sir it was so clear and concise plz make more tutorials.
@ngusumakofu1
@ngusumakofu1 5 жыл бұрын
Thank you sir. Made it so much clearer
@aditisharma8398
@aditisharma8398 5 жыл бұрын
Sir you are the best!
@firatyildiz66
@firatyildiz66 4 жыл бұрын
Thank you for the clear explanation sir!
@uchungnguyen1474
@uchungnguyen1474 6 жыл бұрын
sir hat off for your cleaning teaching!
@kyawnyeinphyo5639
@kyawnyeinphyo5639 3 жыл бұрын
Sir, thank you for your amazing explanation
@justafreak15able
@justafreak15able 6 жыл бұрын
wawo you explained it very simply and quickly.
@thugonomicsstark7238
@thugonomicsstark7238 4 жыл бұрын
Dear Professor, this is such an amazing video, your way of explaining is just perfect, however i am doing a path planning for the navigation of a mobile robot in the environment, is A* the best technique to do that ? also, can you link me the litterature for this please ?
@grass666
@grass666 Жыл бұрын
this tutorial is sooo slay thank you king
@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?
@mvvkiran
@mvvkiran 4 жыл бұрын
So, two points I believe worth mentioning for the General Public's information sake: 1. The Search considered here is a GRAPH Search - NOT a Tree search. John Levine generally considers all Graph Search for all Search Algorithms - at least in the Uninformed & this A* Algs, so far 2. The REASON why the Heuristic MIGHT BE LESS THAN the Actual Cost of Reaching of a Goal is Because the Basic Heuristic considered for an A* Search is a Straight Line Distance - SLD. And we a know a PATH is NOT ALWAYS a Straight Line. How much ever Better a Heuristic you introduce, you'll never get the Actual Cost of Reaching a Goal State to be less than it. The Best Heuristic will Predict the EXACT cost of reaching a Goal State (only with ZERO Path Costs of course as A* Cost = Path Cost + Heuristic Cost) Hope this helps.
@rishabhsharma5645
@rishabhsharma5645 5 жыл бұрын
Bravo! Awesome video
@Imhotep1278
@Imhotep1278 6 жыл бұрын
very nice explanation and example, indeed
@OzDavid
@OzDavid 7 жыл бұрын
Amazing explanation. thanks sir
@rashidafoodcornervlog654
@rashidafoodcornervlog654 3 жыл бұрын
Brilliant man you should make more videos
@ramiyousif8024
@ramiyousif8024 Жыл бұрын
Best video for Heuristic algorithm!! Thank you !!
@SiEmG
@SiEmG 4 жыл бұрын
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?
@melihekinci7758
@melihekinci7758 Жыл бұрын
Very good explanation.. thank you
@samsunny2362
@samsunny2362 6 жыл бұрын
Thank you sir for this clear explanation of A* search.
@hermosillaignacio
@hermosillaignacio 6 жыл бұрын
Awesome video, thank you!
@message59
@message59 2 жыл бұрын
on point 👍🏻 super explanation thank you :)
@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?
@CARELESSuwu
@CARELESSuwu 6 жыл бұрын
Brilliant!! Thank you sooo much! :)
@aykutyucel7700
@aykutyucel7700 7 жыл бұрын
Thanks a lot! You really make it looks easier!
@johnlevine2909
@johnlevine2909 7 жыл бұрын
Great - glad you found it useful.
@lancelofjohn6995
@lancelofjohn6995 2 жыл бұрын
Very good lecture,thanks!
@jojom.k.d2818
@jojom.k.d2818 6 жыл бұрын
Thank you so much that helped a lot :)
@ksrikanth1353
@ksrikanth1353 6 жыл бұрын
really useful tutorial sir gonna subscribe your channel pls do more videos on ai....
@denvermoodley8487
@denvermoodley8487 6 жыл бұрын
Extremely helpful , thank you
@flienky
@flienky 3 жыл бұрын
Does the condition that the heuristic value of a node should be bigger than the distance to the goal, apply to the starting node as well? Or it only applies for the intermediate nodes?
Minimax with Alpha Beta Pruning
13:44
John Levine
Рет қаралды 329 М.
Uniform Cost Search
10:23
John Levine
Рет қаралды 392 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 36 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 22 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 25 МЛН
A* (A Star) Search Algorithm - Computerphile
14:04
Computerphile
Рет қаралды 1,1 МЛН
A* Pathfinding (E01: algorithm explanation)
11:39
Sebastian Lague
Рет қаралды 2 МЛН
A* Pathfinding Algorithm (Coding Challenge 51 - Part 1)
48:42
The Coding Train
Рет қаралды 3,3 МЛН
Algorithms Explained - minimax and alpha-beta pruning
11:01
Sebastian Lague
Рет қаралды 1 МЛН
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,3 МЛН
The hidden beauty of the A* algorithm
19:22
polylog
Рет қаралды 848 М.
12. Greedy Algorithms: Minimum Spanning Tree
1:22:10
MIT OpenCourseWare
Рет қаралды 222 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 36 МЛН