A Star algorithm | Example | Informed search | Artificial intelligence | Lec-21 | Bhanu Priya

  Рет қаралды 946,908

Education 4u

Education 4u

Күн бұрын

a star algorithm: Informed search in artificial intelligence with example

Пікірлер: 390
@mateolopez5585
@mateolopez5585 5 ай бұрын
I don't know what I'd do without Indian youtubers explaining these topics so well
@GSEDITZAMV
@GSEDITZAMV Ай бұрын
Aren't you india?
@mateolopez5585
@mateolopez5585 Ай бұрын
@@GSEDITZAMV I'm Argentine
@molisemahasele8008
@molisemahasele8008 2 жыл бұрын
i know im not the only computer science major preparing for a test last minute
@tarikeld11
@tarikeld11 2 жыл бұрын
yes xD
@CSSANJAYR
@CSSANJAYR 2 жыл бұрын
dood i literally have 1hr for my exam and im starting the 1st topic here
@abhibhuprakash2994
@abhibhuprakash2994 2 жыл бұрын
me too
@arjanhazra7255
@arjanhazra7255 2 жыл бұрын
@@CSSANJAYR Bro , I'm same condition now.Just giving my first offline exam in btech. Please say how you was your exam
@CSSANJAYR
@CSSANJAYR 2 жыл бұрын
@@arjanhazra7255 yep ,just understand the concepts don't memorize. relative the concepts with an example sum work it out
@alexkim-soo2845
@alexkim-soo2845 Жыл бұрын
If you were like me and did not know what is "heuristic value". code wise: its a function that take in the node and the goal, and base on a chosen formula(Euclidean, Mathattan etc) will provide an approximate distance of this node to the goal. If assuming euclidean then its the distance taking a straight line from A node to G node, ignoring all the path that should be taken.(like an airplane/helicopter ignoring roads)
@drex-0299
@drex-0299 Жыл бұрын
Thanks buddy
@SPeeDKiLL45
@SPeeDKiLL45 Жыл бұрын
very helpful comment.
@kaushalganatra4208
@kaushalganatra4208 Жыл бұрын
Thanks dude!
@oldschoolgamer6941
@oldschoolgamer6941 9 ай бұрын
It was definitely helpful, thank you
@abhishekdharwad5042
@abhishekdharwad5042 9 ай бұрын
Thanks man
@AmanMalik-z2p
@AmanMalik-z2p 6 ай бұрын
5hours before exam😂
@rahulreji4079
@rahulreji4079 6 ай бұрын
15mins before exam lol
@twilightangel8790
@twilightangel8790 4 ай бұрын
1 second b4 exam
@twilightangel8790
@twilightangel8790 4 ай бұрын
In exam hall😮
@shivaya__nama
@shivaya__nama 4 ай бұрын
1day before exam 😅
@aryxslayer04
@aryxslayer04 3 ай бұрын
Milli second before exam
@ikemuoma8495
@ikemuoma8495 Жыл бұрын
Best explanation of the A * algorithm I have seen. Very good. 👍
@BrianMbuthiaKe
@BrianMbuthiaKe 28 күн бұрын
3 hours before exams 😂
@lydialydia8491
@lydialydia8491 6 күн бұрын
The only video that actually helped me to understand A* algorithm. Amazing good!!!
@alexlu7149
@alexlu7149 2 жыл бұрын
I searched many videos and I can surely say this is the best explanation about the a* alg.
@jubileemanlunas1672
@jubileemanlunas1672 2 жыл бұрын
I agree
@ezasokotela7523
@ezasokotela7523 2 жыл бұрын
This is a remarkably clear explanation!
@wisk379
@wisk379 Жыл бұрын
IK right! very solid explanation!
@WindyHellLetsLoose
@WindyHellLetsLoose 3 жыл бұрын
One question, what if S -> A -> B -> D ->G has a less cost than S -> A ->C ->G. How would the search end up with this assumption?
@jubileemanlunas1672
@jubileemanlunas1672 2 жыл бұрын
the same process
@momolight2468
@momolight2468 Жыл бұрын
This is impossible because just SAB on its own has a cost of 7. So if we add the whole path SABDG it will be surely more than just SACG, which has a cost of 6.
@aarrjunumrikar5345
@aarrjunumrikar5345 2 жыл бұрын
This was a very lovely and clear explanation. Thank you ma'am!
@ibnualwi9784
@ibnualwi9784 4 жыл бұрын
tq aka , very useful for exams , got my exam tomorrow, thanks again!
@alaaelbarasi8619
@alaaelbarasi8619 3 жыл бұрын
simple and straightforward. Many thanks
@nadeeradulan9231
@nadeeradulan9231 3 жыл бұрын
I did my assignment using your explanation! Thanks
@dyyno5578
@dyyno5578 2 жыл бұрын
how did she make the heuristics and state table 2:00 ? like did she give random values ?
@SolutionHunterz
@SolutionHunterz Жыл бұрын
I am wondering the same, like how to get heuristics values. Is that based on calculation or just random values
@Giburozu
@Giburozu 9 ай бұрын
​@@SolutionHunterzu found the answer?
@dhanushchowdary4814
@dhanushchowdary4814 14 күн бұрын
​@@Giburozu h values will be given in question itself
@realcryptc
@realcryptc 4 жыл бұрын
This was very helpful, thanks so much!
@RRover8888
@RRover8888 9 ай бұрын
Your explanation is smooth like butter, madam! 💜 Very clean and clear explanation
@bhamidimaharshi
@bhamidimaharshi Ай бұрын
JUST JUST JUST in minutes you explained , I subscribed, liked immediately, awesome explanation....
@srilekhakaturi3887
@srilekhakaturi3887 3 жыл бұрын
Can you please explain remaining concepts of Artificial intelligence Which will be very helpful for our exams
@moseskorrapati
@moseskorrapati 7 ай бұрын
Mam at 1:30 how to take that heuristic values ....... Can anyone pls explain
@doramaria.1308
@doramaria.1308 6 ай бұрын
You don't need to find that, as it will be already given in the question itself
@HOLONIA4EVER
@HOLONIA4EVER 3 жыл бұрын
What you would do if one of the values you put in "hold" would be less then the value 6 (s->a->c->g) ?
@norbertmargit6282
@norbertmargit6282 3 жыл бұрын
Then you would keep searching on that path to see if you can find a better solution. Let's say s->a->c->g is actually 9. In this case s->a->b is 7 which is less than 9, so you need to keep looking on that path to see if you can find a shorter path than 9. The F(n) of s->a->b->d is is 14 (8+6) which is more than 9, so you can stop searching this path, beacuse you can already reach your goal in 9. However if it would be 8, then you would still need to keep looking beacuse at that moment you could still technically find a better result than 9. Hope this helps :)
@-saitejavarma
@-saitejavarma 3 жыл бұрын
It was simple and understanding easily thank you for your explanation it was helpful for my tomorrow exam
@Bill0102
@Bill0102 7 ай бұрын
I'm blown away by the quality here. I recently enjoyed a similar book, and it was top-notch. "Game Theory and the Pursuit of Algorithmic Fairness" by Jack Frostwell
@brwaabdulrahman2263
@brwaabdulrahman2263 3 жыл бұрын
This was very helpful 👍🏿.. thanks so much ♥️
@fancyAlex1993
@fancyAlex1993 Ай бұрын
Just to let u know, u are the best Madam !
@s_kazi8202
@s_kazi8202 4 жыл бұрын
First sentence m hi mistake ...tree never contains cycles ... DEFINITION OF TREE says tree is a directed acyclic graph
@SharathsooryaBCS
@SharathsooryaBCS 2 жыл бұрын
Mam , How to calculate the h(n) value here?
@yairbarak10
@yairbarak10 2 жыл бұрын
From what i have read the h(n) value can be calculated in various ways, depending on the situation. For example if you need to find the shortest path on a map, you might want to choose the h(n) value to be the euclidean distance between the next node and the target node. The quality of the A* algorithm is usually determined by how well h is defined.
@SharathsooryaBCS
@SharathsooryaBCS 2 жыл бұрын
@@yairbarak10 thank you
@shyamkulkarni8710
@shyamkulkarni8710 2 жыл бұрын
mam don't comment take lec or leav it & no for doubt solving in comment section its on for tp or els it would be off
@RajeshwariKhanuri
@RajeshwariKhanuri 8 ай бұрын
U made it very simple to understand thanks❤
@SaileeShingare
@SaileeShingare 2 жыл бұрын
Understood well. Thank you ma'am 😊
@NazimaNazimabanu-e8s
@NazimaNazimabanu-e8s 7 ай бұрын
I think i can't forget this for the hole life ..😊😊🎉thanks mam its very good explanation..👍
@Kirukku_paiyan_07
@Kirukku_paiyan_07 7 ай бұрын
*whole
@MATTesticle
@MATTesticle 10 ай бұрын
You have explained this very efficiently, thank you!
@englishstation2024
@englishstation2024 3 жыл бұрын
S equals to 5 how?? Please explain
@muhammadshehzar8424
@muhammadshehzar8424 4 жыл бұрын
How do we get heuristic value?
@kartooz9788
@kartooz9788 4 жыл бұрын
Actually the hueristic value is an estimated value that is taken from current node or point to Goal point.Like an assumtion!
@rishabhrajrishu_
@rishabhrajrishu_ 4 жыл бұрын
most important thing,its already given in question
@NavjotKaur-pk4gx
@NavjotKaur-pk4gx 4 жыл бұрын
h(n) and g(n) are estimated values means we can take any number???
@jeffreystevens8042
@jeffreystevens8042 3 жыл бұрын
@@NavjotKaur-pk4gx a way you can create estimates is to place your graph nodes on a grid that have distance between them associated with the edge weights. You can then use the pythagorean theorem to calculate distance between nodes on the graph, which you can use for your estimate function h.
@NavjotKaur-pk4gx
@NavjotKaur-pk4gx 3 жыл бұрын
@@jeffreystevens8042 ok thanks sir
@ravikumargantla7998
@ravikumargantla7998 3 жыл бұрын
6:28 screeshot here
@loganpraz2566
@loganpraz2566 3 ай бұрын
Great video! Way better than my professor
@rajababukannoju532
@rajababukannoju532 28 күн бұрын
How the heuristic values.are taken ...!? Any formula...?
@sna241
@sna241 2 жыл бұрын
Thanks a lot. I was watching a lot of resources only to get confused. This video is clear.
@eddiej204
@eddiej204 Жыл бұрын
Am I getting this right that the HValue came from the particular node to the Target node? For example, I am at node B, and the HValue of it is 4. Meaning that from B to G (G is the target node) the approximate distance of it is 4. While approximate distance is the HValue which maybe calculated using Euclidean or Mathattan etc. Please suggest
@badassopenpolling
@badassopenpolling Жыл бұрын
What was the mechanism to take heuristic values ????? How did you come to S - 5, A- 3 so on... What exactly is the heuristic value ??? In real time - Do we get this heuristic value to solve problems for finding paths. I gues No !! Answer is = Heuristic value is the distance from node to the Goal.
@elloomii2681
@elloomii2681 2 жыл бұрын
Thanks alot for this great efforts … very beneficial video
@praveenkumarboddu6451
@praveenkumarboddu6451 4 жыл бұрын
Very useful for Exams.Thanks a Lot!!
@AdamVigas
@AdamVigas Жыл бұрын
is this called Greedy algorithm ?
@patrickpark75
@patrickpark75 5 ай бұрын
No
@hendriyawanachmad2017
@hendriyawanachmad2017 3 жыл бұрын
why you set the heuristic value of D with 6 when the cost from D to G is 2? Heuristic value must UNDERESTIMATE the cost isn't? CMIIW
@mehmetsavasci7777
@mehmetsavasci7777 3 жыл бұрын
I think using this heuristic is valid, however, this makes the heuristic inadmissible. For admissible heuristic, for every n, h(n)
@電腦騙徒剋星
@電腦騙徒剋星 3 жыл бұрын
connect s to g is already bullshit , which is shortest path , unless he mean curve one
@namotech6770
@namotech6770 Жыл бұрын
how to calculate the heuristic value
@sealivezentrum
@sealivezentrum 3 жыл бұрын
right to the point; very good
@ar_xiv
@ar_xiv 2 жыл бұрын
Is there a relationship between the distances and h(n)? I don’t understand where the h(n) values are coming from. Are they arbitrary like the distances?
@Dxntoo
@Dxntoo 2 жыл бұрын
usually the value is given. h(n) is the distance/cost between the current node to the end node hence why the goal node has 0 as its heuristic value.
@vinea9322
@vinea9322 Жыл бұрын
​@@Dxntoo that doesn't answer his question. Where is she pulling those numbers from. How is it related to distance?
@Giburozu
@Giburozu 9 ай бұрын
​@@vinea9322hey, u found the answer?
@gantasalasaivasanth6512
@gantasalasaivasanth6512 Жыл бұрын
I can only tq very much pls continue ur nature of teaching mam
@shapespheres
@shapespheres 2 ай бұрын
By the time yall watching this, I have finish the exam, good luck my juniors 🗣🙏
@shivkrishnajaiswal8394
@shivkrishnajaiswal8394 3 жыл бұрын
how do you calculate h(n) in the first place? (rest of the algo is trivial)
@mazharbukhari786
@mazharbukhari786 3 жыл бұрын
As the left table depicts, heuristic value of S is 5 and cost is 0, so the formulas will be as f(n) = g(n) + h(n) f(n) = 0 + 5 f(n) = 5
@bloodmoon1729
@bloodmoon1729 3 жыл бұрын
It is an assumption that we are using a cordinate system to get that distance.
@hadjer168
@hadjer168 3 жыл бұрын
@@bloodmoon1729 manhatten distance ?
@Giburozu
@Giburozu 9 ай бұрын
​@@bloodmoon1729if h(n) an assumption, i put random number as my assumption but the result is different
@iammayurn
@iammayurn 4 жыл бұрын
Thank you, Mam. for the wonderful explanation
@education4uofficial
@education4uofficial 4 жыл бұрын
Thanks for liking
@SidraGhafoor-zd7ce
@SidraGhafoor-zd7ce 6 ай бұрын
How to find the heuristic value ? Can anyone tell me ?
@doramaria.1308
@doramaria.1308 6 ай бұрын
Why? We can't find the heuristic value, as it will already given in the question. We need to find F(n) not H(n).
@Pavan_TechChannel
@Pavan_TechChannel 2 жыл бұрын
my question is how u take the heristic values ? apart that i understand evertyhing !
@simulink9564
@simulink9564 Жыл бұрын
Yes, i curious about this too 🤔😕, because we can't put here random values.
@Giburozu
@Giburozu 9 ай бұрын
​@@simulink9564hey, u found the answer?
@anthonysiluvaiwinsp8204
@anthonysiluvaiwinsp8204 2 жыл бұрын
awesome mam , understood clearly :)
@eklavya22k34
@eklavya22k34 Жыл бұрын
Thanks , explained v well. Thanks for creating video and sharing with us.
@rsjawahar
@rsjawahar Жыл бұрын
How to calculate h(n) value s is 5, a is 3 how to calculate
@muhammadahmed4976
@muhammadahmed4976 4 ай бұрын
mam why did you not check sabdg ? in some other case it might have been shorter, so should we take that part?
@sanjayrajan7949
@sanjayrajan7949 4 жыл бұрын
Thank u so much...... nicely explained mam...........
@eminguney9714
@eminguney9714 2 жыл бұрын
Thanks a lot for good presentation🙌
@azik6138
@azik6138 Жыл бұрын
Thank you so much saved me for my exam!
@ΑντρέαςΣωτηρίου-π8γ
@ΑντρέαςΣωτηρίου-π8γ 3 жыл бұрын
Top Explanation !!
@puneethkamadolli423
@puneethkamadolli423 2 жыл бұрын
If I pass my exam tomorrow You are the reason 💪🏻
@muddypawswanderlust
@muddypawswanderlust 3 жыл бұрын
what is h(n)? and how did you assign those numbers to it?
@Giburozu
@Giburozu 9 ай бұрын
Hey, u found the answer?
@giftmarshallchawira241
@giftmarshallchawira241 Жыл бұрын
You are the best. Thank you ma'am
@secretfairy851
@secretfairy851 3 жыл бұрын
Informative 👍💝
@SupriyaNR
@SupriyaNR 8 ай бұрын
In the last step 6 can be compared with the hold values which is smaller so we kept as it is wht if the value is greater than that we should again comparing the values
@udiptadeka562
@udiptadeka562 2 жыл бұрын
wow what a explanation.The teacher we all want
@esraelbizuneh9756
@esraelbizuneh9756 2 жыл бұрын
excellent explanation thanks ma'am from ethopia
@sonu.t.v2700
@sonu.t.v2700 4 ай бұрын
2 hr before exam🎉
@emirhanbilgic2475
@emirhanbilgic2475 Жыл бұрын
simplest example, thank you madam.
@bajrangsharma2762
@bajrangsharma2762 2 жыл бұрын
what a good presentation mam easy way
@rohangokulbharathala5188
@rohangokulbharathala5188 Жыл бұрын
how can we write hueristic value for the s,a,b,c,d,g ??
@varshasaraswathi3160
@varshasaraswathi3160 Жыл бұрын
Do u know it now ? How to choose heuristic value, if s pls xplain ..
@Vikashkumar-ec5fl
@Vikashkumar-ec5fl 4 жыл бұрын
Mam aapne ECE pdha h kya..?
@aryxslayer04
@aryxslayer04 3 ай бұрын
Amazing Thanks for the video
@aravindkola3208
@aravindkola3208 Жыл бұрын
thank you so much mam
@riyazahmed7907
@riyazahmed7907 2 жыл бұрын
The explanation was very clear!
@bfranklin4302
@bfranklin4302 2 жыл бұрын
Thank for the lesson. Will one of you help me understand
@kelvinkirwa4887
@kelvinkirwa4887 Жыл бұрын
whsi is the one giving the heuristics now ?
@samarthraj5676
@samarthraj5676 10 ай бұрын
But what should we do if it is greater than the hold value If there is a situation like that
@sayanhrik
@sayanhrik 2 ай бұрын
excellent explaination
@TP-mv6en
@TP-mv6en Жыл бұрын
Really good explanation and method 👍
@quantumspark343
@quantumspark343 4 ай бұрын
Best explanation ever
@advosreactionroom8416
@advosreactionroom8416 5 ай бұрын
what to do if the hold value is smaller than the goal state value ?
@Kcnc0716
@Kcnc0716 Жыл бұрын
Really simple explanation, thanks!
@mohammedashikhussain636
@mohammedashikhussain636 10 ай бұрын
How you are putting h(n)in state table box
@SamDrives
@SamDrives Жыл бұрын
Thanks for keeping it so simple!
@imalallawmkima8081
@imalallawmkima8081 2 ай бұрын
How is heuristic value taken from
@annemasadi8067
@annemasadi8067 2 жыл бұрын
Thank u teacher.it helped me a lot.
@Tejusha
@Tejusha 9 ай бұрын
How did you take h(N) values
@santhiyakannan1761
@santhiyakannan1761 4 жыл бұрын
Y u didnt use open and close list
@codeblooded6760
@codeblooded6760 4 жыл бұрын
What is heurestic value?
@Greatfulone
@Greatfulone 3 жыл бұрын
So the hold values are used to make sure we get the least costly path to the goal? That means we check at the end and see if we have the least costly path. Right? Is there any other time I need to review the hold values? Thank you.
@abutalhanasardi1150
@abutalhanasardi1150 Жыл бұрын
Mam direct bhi to S se G ka path nikalta haina
@VikramSingh-gq5ww
@VikramSingh-gq5ww 4 жыл бұрын
S to a =1, a to b = 3, b to d = 5, d to g = 2
@chingkhei_thoudam
@chingkhei_thoudam Жыл бұрын
When should we use the heuristic value of S?
@bayan3032
@bayan3032 Жыл бұрын
you're the best! thank you so much
@chandrakanthsrinivas8184
@chandrakanthsrinivas8184 Жыл бұрын
Thanks for this I understood this at one shot
@Smoochybear17
@Smoochybear17 Жыл бұрын
Why are the nodes weighted?
@JayPatel-ou2ud
@JayPatel-ou2ud Жыл бұрын
Best and easy explanation 🤩
@IrtizaMushtaq-
@IrtizaMushtaq- 3 жыл бұрын
Thank you so mch. You explained this nicely
@Janush___
@Janush___ 3 ай бұрын
Thankyou mam
AO star algorithm | informed search | AI | Lec-22 | Bhanu Priya
9:31
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 7 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН
A * ALGORITHM IN ARTIFICIAL INTELLIGENCE WITH EXAMPLE
9:14
Crack Concepts
Рет қаралды 143 М.
BFS algorithm example | informed search | AI | Lec-19 | Bhanu Priya
8:05
A* (A Star) Search Algorithm - Computerphile
14:04
Computerphile
Рет қаралды 1,1 МЛН
Heuristic Search in Artificial Intelligence
13:01
ThinkX Academy
Рет қаралды 90 М.
A* Search
12:32
John Levine
Рет қаралды 411 М.
Breadth First Search (BFS): Visualized and Explained
10:41
Reducible
Рет қаралды 205 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17