a star algorithm: Informed search in artificial intelligence with example
Пікірлер: 390
@mateolopez55855 ай бұрын
I don't know what I'd do without Indian youtubers explaining these topics so well
@GSEDITZAMVАй бұрын
Aren't you india?
@mateolopez5585Ай бұрын
@@GSEDITZAMV I'm Argentine
@molisemahasele80082 жыл бұрын
i know im not the only computer science major preparing for a test last minute
@tarikeld112 жыл бұрын
yes xD
@CSSANJAYR2 жыл бұрын
dood i literally have 1hr for my exam and im starting the 1st topic here
@abhibhuprakash29942 жыл бұрын
me too
@arjanhazra72552 жыл бұрын
@@CSSANJAYR Bro , I'm same condition now.Just giving my first offline exam in btech. Please say how you was your exam
@CSSANJAYR2 жыл бұрын
@@arjanhazra7255 yep ,just understand the concepts don't memorize. relative the concepts with an example sum work it out
@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 Жыл бұрын
Thanks buddy
@SPeeDKiLL45 Жыл бұрын
very helpful comment.
@kaushalganatra4208 Жыл бұрын
Thanks dude!
@oldschoolgamer69419 ай бұрын
It was definitely helpful, thank you
@abhishekdharwad50429 ай бұрын
Thanks man
@AmanMalik-z2p6 ай бұрын
5hours before exam😂
@rahulreji40796 ай бұрын
15mins before exam lol
@twilightangel87904 ай бұрын
1 second b4 exam
@twilightangel87904 ай бұрын
In exam hall😮
@shivaya__nama4 ай бұрын
1day before exam 😅
@aryxslayer043 ай бұрын
Milli second before exam
@ikemuoma8495 Жыл бұрын
Best explanation of the A * algorithm I have seen. Very good. 👍
@BrianMbuthiaKe28 күн бұрын
3 hours before exams 😂
@lydialydia84916 күн бұрын
The only video that actually helped me to understand A* algorithm. Amazing good!!!
@alexlu71492 жыл бұрын
I searched many videos and I can surely say this is the best explanation about the a* alg.
@jubileemanlunas16722 жыл бұрын
I agree
@ezasokotela75232 жыл бұрын
This is a remarkably clear explanation!
@wisk379 Жыл бұрын
IK right! very solid explanation!
@WindyHellLetsLoose3 жыл бұрын
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?
@jubileemanlunas16722 жыл бұрын
the same process
@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.
@aarrjunumrikar53452 жыл бұрын
This was a very lovely and clear explanation. Thank you ma'am!
@ibnualwi97844 жыл бұрын
tq aka , very useful for exams , got my exam tomorrow, thanks again!
@alaaelbarasi86193 жыл бұрын
simple and straightforward. Many thanks
@nadeeradulan92313 жыл бұрын
I did my assignment using your explanation! Thanks
@dyyno55782 жыл бұрын
how did she make the heuristics and state table 2:00 ? like did she give random values ?
@SolutionHunterz Жыл бұрын
I am wondering the same, like how to get heuristics values. Is that based on calculation or just random values
@Giburozu9 ай бұрын
@@SolutionHunterzu found the answer?
@dhanushchowdary481414 күн бұрын
@@Giburozu h values will be given in question itself
@realcryptc4 жыл бұрын
This was very helpful, thanks so much!
@RRover88889 ай бұрын
Your explanation is smooth like butter, madam! 💜 Very clean and clear explanation
@bhamidimaharshiАй бұрын
JUST JUST JUST in minutes you explained , I subscribed, liked immediately, awesome explanation....
@srilekhakaturi38873 жыл бұрын
Can you please explain remaining concepts of Artificial intelligence Which will be very helpful for our exams
@moseskorrapati7 ай бұрын
Mam at 1:30 how to take that heuristic values ....... Can anyone pls explain
@doramaria.13086 ай бұрын
You don't need to find that, as it will be already given in the question itself
@HOLONIA4EVER3 жыл бұрын
What you would do if one of the values you put in "hold" would be less then the value 6 (s->a->c->g) ?
@norbertmargit62823 жыл бұрын
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 :)
@-saitejavarma3 жыл бұрын
It was simple and understanding easily thank you for your explanation it was helpful for my tomorrow exam
@Bill01027 ай бұрын
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
@brwaabdulrahman22633 жыл бұрын
This was very helpful 👍🏿.. thanks so much ♥️
@fancyAlex1993Ай бұрын
Just to let u know, u are the best Madam !
@s_kazi82024 жыл бұрын
First sentence m hi mistake ...tree never contains cycles ... DEFINITION OF TREE says tree is a directed acyclic graph
@SharathsooryaBCS2 жыл бұрын
Mam , How to calculate the h(n) value here?
@yairbarak102 жыл бұрын
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.
@SharathsooryaBCS2 жыл бұрын
@@yairbarak10 thank you
@shyamkulkarni87102 жыл бұрын
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
@RajeshwariKhanuri8 ай бұрын
U made it very simple to understand thanks❤
@SaileeShingare2 жыл бұрын
Understood well. Thank you ma'am 😊
@NazimaNazimabanu-e8s7 ай бұрын
I think i can't forget this for the hole life ..😊😊🎉thanks mam its very good explanation..👍
@Kirukku_paiyan_077 ай бұрын
*whole
@MATTesticle10 ай бұрын
You have explained this very efficiently, thank you!
@englishstation20243 жыл бұрын
S equals to 5 how?? Please explain
@muhammadshehzar84244 жыл бұрын
How do we get heuristic value?
@kartooz97884 жыл бұрын
Actually the hueristic value is an estimated value that is taken from current node or point to Goal point.Like an assumtion!
@rishabhrajrishu_4 жыл бұрын
most important thing,its already given in question
@NavjotKaur-pk4gx4 жыл бұрын
h(n) and g(n) are estimated values means we can take any number???
@jeffreystevens80423 жыл бұрын
@@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-pk4gx3 жыл бұрын
@@jeffreystevens8042 ok thanks sir
@ravikumargantla79983 жыл бұрын
6:28 screeshot here
@loganpraz25663 ай бұрын
Great video! Way better than my professor
@rajababukannoju53228 күн бұрын
How the heuristic values.are taken ...!? Any formula...?
@sna2412 жыл бұрын
Thanks a lot. I was watching a lot of resources only to get confused. This video is clear.
@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 Жыл бұрын
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.
@elloomii26812 жыл бұрын
Thanks alot for this great efforts … very beneficial video
@praveenkumarboddu64514 жыл бұрын
Very useful for Exams.Thanks a Lot!!
@AdamVigas Жыл бұрын
is this called Greedy algorithm ?
@patrickpark755 ай бұрын
No
@hendriyawanachmad20173 жыл бұрын
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
@mehmetsavasci77773 жыл бұрын
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 Жыл бұрын
how to calculate the heuristic value
@sealivezentrum3 жыл бұрын
right to the point; very good
@ar_xiv2 жыл бұрын
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?
@Dxntoo2 жыл бұрын
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 Жыл бұрын
@@Dxntoo that doesn't answer his question. Where is she pulling those numbers from. How is it related to distance?
@Giburozu9 ай бұрын
@@vinea9322hey, u found the answer?
@gantasalasaivasanth6512 Жыл бұрын
I can only tq very much pls continue ur nature of teaching mam
@shapespheres2 ай бұрын
By the time yall watching this, I have finish the exam, good luck my juniors 🗣🙏
@shivkrishnajaiswal83943 жыл бұрын
how do you calculate h(n) in the first place? (rest of the algo is trivial)
@mazharbukhari7863 жыл бұрын
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
@bloodmoon17293 жыл бұрын
It is an assumption that we are using a cordinate system to get that distance.
@hadjer1683 жыл бұрын
@@bloodmoon1729 manhatten distance ?
@Giburozu9 ай бұрын
@@bloodmoon1729if h(n) an assumption, i put random number as my assumption but the result is different
@iammayurn4 жыл бұрын
Thank you, Mam. for the wonderful explanation
@education4uofficial4 жыл бұрын
Thanks for liking
@SidraGhafoor-zd7ce6 ай бұрын
How to find the heuristic value ? Can anyone tell me ?
@doramaria.13086 ай бұрын
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_TechChannel2 жыл бұрын
my question is how u take the heristic values ? apart that i understand evertyhing !
@simulink9564 Жыл бұрын
Yes, i curious about this too 🤔😕, because we can't put here random values.
@Giburozu9 ай бұрын
@@simulink9564hey, u found the answer?
@anthonysiluvaiwinsp82042 жыл бұрын
awesome mam , understood clearly :)
@eklavya22k34 Жыл бұрын
Thanks , explained v well. Thanks for creating video and sharing with us.
@rsjawahar Жыл бұрын
How to calculate h(n) value s is 5, a is 3 how to calculate
@muhammadahmed49764 ай бұрын
mam why did you not check sabdg ? in some other case it might have been shorter, so should we take that part?
@sanjayrajan79494 жыл бұрын
Thank u so much...... nicely explained mam...........
@eminguney97142 жыл бұрын
Thanks a lot for good presentation🙌
@azik6138 Жыл бұрын
Thank you so much saved me for my exam!
@ΑντρέαςΣωτηρίου-π8γ3 жыл бұрын
Top Explanation !!
@puneethkamadolli4232 жыл бұрын
If I pass my exam tomorrow You are the reason 💪🏻
@muddypawswanderlust3 жыл бұрын
what is h(n)? and how did you assign those numbers to it?
@Giburozu9 ай бұрын
Hey, u found the answer?
@giftmarshallchawira241 Жыл бұрын
You are the best. Thank you ma'am
@secretfairy8513 жыл бұрын
Informative 👍💝
@SupriyaNR8 ай бұрын
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
@udiptadeka5622 жыл бұрын
wow what a explanation.The teacher we all want
@esraelbizuneh97562 жыл бұрын
excellent explanation thanks ma'am from ethopia
@sonu.t.v27004 ай бұрын
2 hr before exam🎉
@emirhanbilgic2475 Жыл бұрын
simplest example, thank you madam.
@bajrangsharma27622 жыл бұрын
what a good presentation mam easy way
@rohangokulbharathala5188 Жыл бұрын
how can we write hueristic value for the s,a,b,c,d,g ??
@varshasaraswathi3160 Жыл бұрын
Do u know it now ? How to choose heuristic value, if s pls xplain ..
@Vikashkumar-ec5fl4 жыл бұрын
Mam aapne ECE pdha h kya..?
@aryxslayer043 ай бұрын
Amazing Thanks for the video
@aravindkola3208 Жыл бұрын
thank you so much mam
@riyazahmed79072 жыл бұрын
The explanation was very clear!
@bfranklin43022 жыл бұрын
Thank for the lesson. Will one of you help me understand
@kelvinkirwa4887 Жыл бұрын
whsi is the one giving the heuristics now ?
@samarthraj567610 ай бұрын
But what should we do if it is greater than the hold value If there is a situation like that
@sayanhrik2 ай бұрын
excellent explaination
@TP-mv6en Жыл бұрын
Really good explanation and method 👍
@quantumspark3434 ай бұрын
Best explanation ever
@advosreactionroom84165 ай бұрын
what to do if the hold value is smaller than the goal state value ?
@Kcnc0716 Жыл бұрын
Really simple explanation, thanks!
@mohammedashikhussain63610 ай бұрын
How you are putting h(n)in state table box
@SamDrives Жыл бұрын
Thanks for keeping it so simple!
@imalallawmkima80812 ай бұрын
How is heuristic value taken from
@annemasadi80672 жыл бұрын
Thank u teacher.it helped me a lot.
@Tejusha9 ай бұрын
How did you take h(N) values
@santhiyakannan17614 жыл бұрын
Y u didnt use open and close list
@codeblooded67604 жыл бұрын
What is heurestic value?
@Greatfulone3 жыл бұрын
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.