The document discusses informed search strategies that use problem-specific knowledge to improve problem-solving efficiency over uninformed search methods. Informed search methods, such as best-first search, use an evaluation function to prioritize expanding the most promising branches of the search space first. Heuristics provide estimates of the cost to reach the goal from each node to help identify the most informed search path. An ideal heuristic evaluation function guides the search to find solutions using the fewest nodes explored and calculates heuristic values quickly without much time overhead.
Define, Setup, Analyze and Communicate your Data DelugeMashMetrics
Ā
Digital Growth Unleashed 2018 - Define, Setup, Analyze and Communicate your Data Deluge
Thomas Bosilevac, Founder - Chief Insight Officer MashMetrics
Everyone wants to be ādata-drivenā right? ā¦ how can you manage what you donāt measureā¦ Is data the new oil? The hyperbole is everywhere. Letās be honest though, do you report on Quantity metrics like Revenue, Social āLikesā, or ā¦ gulp pageviews? Are you confused on when to use Quality metrics like Average Order Value, Retweets, Scroll Rate, CPC, Average Order Value, or (totally inaccurate) Bounce Rate and Time on Page?
Ā
This entire conference is surrounded by amazing techniques and tactics to increase and grow your traffic on PPC, SEO, Email, and other channels and improving engagement with Mobile Optimization, Testing Strategies and Tools, Personalization and so much more. Each of these techniques is gathering data. How can you go from just Collecting and Reporting all this information to actually Analyzing and Sharing stories?
Ā
Learn Effective and Productive ways to:
ā¢ Easily define which of the thousands of data sets you should concentrate on and when
ā¢ Learn best practice Setup techniques to assure Accurate, Actionable and Accessible data reporting
ā¢ Learn a simple Improve \ Grow framework to analyze your data for actionable insights
Donāt keep your data in a silo, Share it to make maximum impact in your organization
Mobile, Wearables, Big Data and A Strategy to Move Forward (with NTT Data Ent...Barcoding, Inc.
Ā
Join NTT Data Enterprise Services, Inc.for a discussion on the Internet of Things (IoT), wearables, augmented reality, predictive analytics, and a strategy for using Big Data effectively in your enterprise. Presented at the Barcoding, Inc. Executive Forum 2014
The goal of this course is to offer data science and fintech enthusiasts a hand-on practical case study to understand the power of Data Science, ML and AI in Finance. We discuss two case studies; An NLP case study and a Credit Risk case study to reinforce concepts
Credit Risk Introduction and Pre-class preparation
Pre-class reading. We will be using the Lending club data set to build a credit risk model using machine learning techniques. This workshop was be delivered in Boston and Online by Sri Krishnamurthy.
Metrics for product managers - Tech ConnexSaeed Khan
Ā
This slide deck was the basis for a longer group discussion at TechConnex in Toronto on January 16, 2020. The slides cover basics of Metrics and background on the topic that feed into the discussion.
As the saying goes, āIf you're not the lead dog, the view never changesā. For Zycus which has once again been positioned as a āLeaderā in the newly published Gartner Magic Quadrant for Strategic Sourcing Suite Vendors for 2018 ā just as was the case for the previous three iterations in 2017, 2015, and 2013.
Metrics & KPIs. Tips To Setup Your Measurement Initiative Right.Michael Tarnowski
Ā
Many people start a measurement initiative by defining KPIs and metrics first. - BAD mistake!!
Identify your information needs first, THEN derive the proper metrics! And, there are many other pitfalls more...
Benefits and implementation of geography within business intelligenceDidier ROBERT
Ā
A short white paper summarizing some benefits of the implementation of geography within a Business Intelligence system
author: Didier ROBERT and Krishnakumar SATHEESH, 2014
Define, Setup, Analyze and Communicate your Data DelugeMashMetrics
Ā
Digital Growth Unleashed 2018 - Define, Setup, Analyze and Communicate your Data Deluge
Thomas Bosilevac, Founder - Chief Insight Officer MashMetrics
Everyone wants to be ādata-drivenā right? ā¦ how can you manage what you donāt measureā¦ Is data the new oil? The hyperbole is everywhere. Letās be honest though, do you report on Quantity metrics like Revenue, Social āLikesā, or ā¦ gulp pageviews? Are you confused on when to use Quality metrics like Average Order Value, Retweets, Scroll Rate, CPC, Average Order Value, or (totally inaccurate) Bounce Rate and Time on Page?
Ā
This entire conference is surrounded by amazing techniques and tactics to increase and grow your traffic on PPC, SEO, Email, and other channels and improving engagement with Mobile Optimization, Testing Strategies and Tools, Personalization and so much more. Each of these techniques is gathering data. How can you go from just Collecting and Reporting all this information to actually Analyzing and Sharing stories?
Ā
Learn Effective and Productive ways to:
ā¢ Easily define which of the thousands of data sets you should concentrate on and when
ā¢ Learn best practice Setup techniques to assure Accurate, Actionable and Accessible data reporting
ā¢ Learn a simple Improve \ Grow framework to analyze your data for actionable insights
Donāt keep your data in a silo, Share it to make maximum impact in your organization
Mobile, Wearables, Big Data and A Strategy to Move Forward (with NTT Data Ent...Barcoding, Inc.
Ā
Join NTT Data Enterprise Services, Inc.for a discussion on the Internet of Things (IoT), wearables, augmented reality, predictive analytics, and a strategy for using Big Data effectively in your enterprise. Presented at the Barcoding, Inc. Executive Forum 2014
The goal of this course is to offer data science and fintech enthusiasts a hand-on practical case study to understand the power of Data Science, ML and AI in Finance. We discuss two case studies; An NLP case study and a Credit Risk case study to reinforce concepts
Credit Risk Introduction and Pre-class preparation
Pre-class reading. We will be using the Lending club data set to build a credit risk model using machine learning techniques. This workshop was be delivered in Boston and Online by Sri Krishnamurthy.
Metrics for product managers - Tech ConnexSaeed Khan
Ā
This slide deck was the basis for a longer group discussion at TechConnex in Toronto on January 16, 2020. The slides cover basics of Metrics and background on the topic that feed into the discussion.
As the saying goes, āIf you're not the lead dog, the view never changesā. For Zycus which has once again been positioned as a āLeaderā in the newly published Gartner Magic Quadrant for Strategic Sourcing Suite Vendors for 2018 ā just as was the case for the previous three iterations in 2017, 2015, and 2013.
Metrics & KPIs. Tips To Setup Your Measurement Initiative Right.Michael Tarnowski
Ā
Many people start a measurement initiative by defining KPIs and metrics first. - BAD mistake!!
Identify your information needs first, THEN derive the proper metrics! And, there are many other pitfalls more...
Benefits and implementation of geography within business intelligenceDidier ROBERT
Ā
A short white paper summarizing some benefits of the implementation of geography within a Business Intelligence system
author: Didier ROBERT and Krishnakumar SATHEESH, 2014
Final project report on grocery store management system..pdfKamal Acharya
Ā
In todayās fast-changing business environment, itās extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologistās survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
Ā
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Ā
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
3. Informed search
ā We have seen that uninformed search methods that systematically
explore the state space and find the goals.
ā Inefficientin most cases.
ā Informed Search methods use problemspecific knowledge, are
more efficient.
ā Informed Search methodtriesto improveproblemsolving efficiencyby
using problemspecificknowledge.
2/20/2021 3
MGIT-IT-HARINATH
4. ā A search strategy which searches the most promising branches of the
state-space first can:
ā find a solution more quickly,
ā find solutions even when there is limited time available,
ā often find a better solution, since more profitable parts of the
state- space can be examined, while ignoring the unprofitable
parts.
ā A search strategy which is better than another at identifying the most
promising branches of a search-space is said to be more informed.
Continued
2/20/2021 4
MGIT-IT-HARINATH
5. ā The general approach we consider is called best-first search. Best- first
search is an instance of the general TREE-SEARCH or GRAPH- SEARCH
algorithm in which a node is selected for expansion based on an
evaluation function, f(n).
ā The evaluation function is construed as a cost estimate, so the node
with the lowest evaluation is expanded first.
ā The implementation of best-first graph search is identical to that for
uniform-cost search (previous topic), except for the use of f instead of g
to order the priority queue.
Continued
2/20/2021 5
MGIT-IT-HARINATH
6. Heuristics
ā Heuristic is a rule of thumb.
ā āHeuristics are criteria, methods or
principles for deciding which
among several alternative courses of
action promises to be the most effective
in order to achieve some goalsā,
Judea Pearl.
Can use heuristics to identify the most promising search path.
2/20/2021 6
MGIT-IT-HARINATH
7. ā A heuristic function at a node n is an estimate of the optimum cost
from the current node to a goal. Denoted by h(n).
h(n)=estimated cost of the cheapest path from node n to a goal node.
ā Example
ā Want to find the path from Vijayawada to Hyderabad
ā Heuristic for Hyderabad may be straight line distance
between Vijayawada and Hyderabad.
ā h(Vijayawada)=Euclidian distance(Vijayawada, Hyderabad)
Continued
2/20/2021 7
MGIT-IT-HARINATH
9. Uninformed Search Vs. Informed Search
OR Heuristically Informed Search
2/20/2021 9
MGIT-IT-HARINATH
10. Uninformed Search Vs. Informed Search
OR Heuristically Informed Search
2/20/2021 10
MGIT-IT-HARINATH
11. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
2/20/2021 11
MGIT-IT-HARINATH
12. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
2/20/2021 12
MGIT-IT-HARINATH
13. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
2/20/2021 13
MGIT-IT-HARINATH
14. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
2/20/2021 14
MGIT-IT-HARINATH
15. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
2/20/2021 15
MGIT-IT-HARINATH
16. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
h(C)
2/20/2021 16
MGIT-IT-HARINATH
17. Uninformed Search Vs. Informed Search OR
Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
h(C) h(B)
2/20/2021 17
MGIT-IT-HARINATH
18. Uninformed Search Vs. Informed Search
OR Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
h(C) h(B)
<
2/20/2021 18
MGIT-IT-HARINATH
19. Uninformed Search Vs. Informed Search
OR Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
h(C) h(B)
C <
2/20/2021 19
MGIT-IT-HARINATH
20. Uninformed Search Vs. Informed Search
OR Heuristically Informed Search
Heuristic
Evaluation
Function
Heuristic Value
Small Heuristic
Value
Better Path
) h(B)
C <
Uninformed Search
NO INFORMATION
Direct Search BEST
PATH
2/20/2021 20
MGIT-IT-HARINATH
21. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
šÆ
š
š
š
š
š
š
š
ššššššššš
2/20/2021 21
MGIT-IT-HARINATH
22. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
2/20/2021 22
MGIT-IT-HARINATH
23. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
2/20/2021 23
MGIT-IT-HARINATH
24. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš šš
š
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
2/20/2021 24
MGIT-IT-HARINATH
25. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš šš
š š
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
2/20/2021 25
MGIT-IT-HARINATH
26. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
2/20/2021 26
MGIT-IT-HARINATH
27. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
2/20/2021 27
MGIT-IT-HARINATH
28. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
2/20/2021 28
MGIT-IT-HARINATH
29. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
š»ššš
2/20/2021 29
MGIT-IT-HARINATH
30. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš šš
ššš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
š»ššš
2/20/2021 30
MGIT-IT-HARINATH
31. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš šš
ššš ššš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
š»ššš
2/20/2021 31
MGIT-IT-HARINATH
32. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš
ššš ššš
šš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
š»ššš
2/20/2021 32
MGIT-IT-HARINATH
33. Heuristic EvaluationFunction
ā¢ Good heuristic evaluationfunction is what directs searchto
reach goal with the smallest number of nodes.
ā¢ Good heuristic evaluation function is not time consuming in
the heuristic value calculation.
šš
š š
šš šš
š
šš
ššš ššš
šš šš
ššš
šÆ
š
š
š
š
š
š
š
ššššššššš
# šššµšš šš
šÆ
š
š
š
š
š
š
š
ššššššššš
š»ššš
2/20/2021 33
MGIT-IT-HARINATH
34. Best First Search
ā The generic best-first search algorithm selects a
node for expansion according to an evaluation
function.
ā It is a generalization of breadth first search.
ā Priority queue of nodes to be explored.
ā Cost function f(n) to applied to each node.
ā Always choose the node from the frontier that
has lowest f(n) value.
2/20/2021 34
MGIT-IT-HARINATH
35. Greedy Search
ā Expand node with the smallest estimated cost to reach the goal.
ā Use heuristic function f(n)=h(n)
ā This algorithm is not optimal
ā Not complete
2/20/2021 35
MGIT-IT-HARINATH
36. Continuedā¦.
ā Greedy best-first search tries to expand the node that is closest to the
goal, on the grounds that this is likely to lead to a solution quickly
ā Thus, the evaluation function is f(n) = h(n)
ā E.g. in minimizing road distances a heuristic lower bound for distances
of cities is their straight-line distance
ā Greedy search ignores the cost of the path that has already been
traversed to reach n
ā Therefore, the solution given is not necessarily optimal
ā If repeating states are not detected, greedy best-first search may
oscillate forever between two promising states.
2/20/2021 36
MGIT-IT-HARINATH
37. Continued..
ā Because greedy best-first search can start down an infinite path
and never return to try other possibilities, it is incomplete
ā Because of its greediness the search makes choices that can lead to
a dead end; then one backs up in the search tree to the deepest
unexpanded node
ā Greedy best-first search resembles depth-first search in the way it
prefers to follow a single path all the way to the goal, but will back
up when it hits a dead end
ā The worst-case time and space complexity is O(bm)
ā The quality of the heuristic function determines the practical
usability of greedy search.
2/20/2021 37
MGIT-IT-HARINATH
50. Greedy Search: Tree Search
A
B
C
E
Start
75
118
140 [374]
[329]
[253]
2/20/2021 50
MGIT-IT-HARINATH
51. Greedy Search: Tree Search
A
B
C
E
F
99
G
A
80
Start
75
118
140 [374]
[329]
[253]
[193]
[366]
[178]
2/20/2021 51
MGIT-IT-HARINATH
52. Greedy Search: Tree Search
A
B
C
E
F
I
99
211
G
A
80
Goal
Start
75
118
140 [374]
[329]
[253]
[193]
[366]
[178]
E
[0]
[253]
2/20/2021 52
MGIT-IT-HARINATH
53. Greedy Search: Tree Search
A
B
C
E
F
I
99
211
G
A
80
Goal
Start
75
118
140 [374]
[329]
[253]
[193]
[366]
[178]
E
[0]
[253]
Path cost(A-E-F-I) = 253 + 178 + 0 = 431
dist(A-E-F-I)=140+99+211= 450
2/20/2021 53
MGIT-IT-HARINATH
54. Greedy Search: Complete ?
A
B
C
E
F
I
99
211
G
80
Goal
97
H
101
Start
75
118
111
D
f(n)= h(n) = straight-line distance heuristic
State Heuristic: h(n)
A 366
B 374
** C 250
D 244
E 253
F 178
G 193
H 98
I 0
140
2/20/2021 54
MGIT-IT-HARINATH
87. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
š
š šš,ššš
šš šš,šš, šš,ššš
ššš
šš
šš šš, šš,ššš
š
š šš,ššš
šš
šš
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
2/20/2021 87
MGIT-IT-HARINATH
88. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Cost: Node to Node
Heuristic: Node to
Goal
2/20/2021 88
MGIT-IT-HARINATH
89. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristic
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 89
MGIT-IT-HARINATH
90. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristic 5
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 90
MGIT-IT-HARINATH
91. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 91
MGIT-IT-HARINATH
92. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 92
MGIT-IT-HARINATH
93. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost 3
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 93
MGIT-IT-HARINATH
94. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost 3 9
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 94
MGIT-IT-HARINATH
95. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost 3 9
Total
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 95
MGIT-IT-HARINATH
96. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost 3 9
Total 8
Cost: Node to
Node Heuristic:
Node to Goal
2/20/2021 96
MGIT-IT-HARINATH
97. Greedy Best-First
Search Goal ā Node
K
ššš ---
Current Children
ššš šš, šš,ššš
ššš
š š šš
š
š
š
š šš,ššš
šš šš,šš, šš,ššš
š
š
š
š šš, šš,ššš
š
š š ,š
š
šš šš,šš,ššš
š
š šš,ššš
š
š
š
š šš,šš,ššš
šš šš,ššš
šš
Similar to Uniform
Cost Just use
Heuristic
& Avoids Cost
Heuristi
c
5 2
Cost 3 9
Total 8 11
Cost: Node to Node
Heuristic: Node to
Goal
2/20/2021 97
MGIT-IT-HARINATH
98. Continueā¦
ā Greedy search is not optimal
ā Greedy search is incomplete without systematic
checking of repeated states.
ā In the worst case, the Time and Space
Complexity of Greedy Search are both O(bm ),
Where b is the branching factor and m the
maximum path length.
2/20/2021 98
MGIT-IT-HARINATH
99. A* Search
ā Greedy Search minimizes a heuristic h(n) which is an estimated cost
from a node n to the goal state. Greedy Search is efficient but it is not
optimal nor complete.
ā Uniform Cost Search minimizes the cost g(n) from the initial state to n.
UCS is optimal and complete but not efficient.
ā New Strategy: Combine Greedy Search and UCSto get an efficient
algorithm which is complete and optimal.
2/20/2021 99
MGIT-IT-HARINATH
100. Continueā¦
ā A* uses a heuristic function which f(n) = g(n) + h(n)
ā g(n) is the exact cost to reach node n from the initial state.
ā h(n) is an estimation of the remaining cost to reach the goal.
2/20/2021 100
MGIT-IT-HARINATH
102. A* Search
f(n)= g(n)+ h (n)
State Heuristic: h(n)
A 366
B 374
C 329
D 244
E 253
F 178
G 193
H 98
I 0
A
B
C
E
F
I
99
211
G
80
Start
Goal
97
H
101
75
118
111
D
140
g(n): is the exact cost to reach node n from the initial state.
2/20/2021 102
MGIT-IT-HARINATH
103. A* Search: Tree Search
A Start
2/20/2021 103
MGIT-IT-HARINATH
104. A* Search: Tree Search
A
B
E
Start
75
118
140
[393] [449]
[447] C
2/20/2021 104
MGIT-IT-HARINATH
105. A* Search: Tree Search
A
B
E
F
80
Start
75
118
140
[393]
99
[449]
[447] C
[417]
[413] G
2/20/2021 105
MGIT-IT-HARINATH
106. A* Search: Tree Search
A
B
E
F
80
Start
75
118
140
[393]
99
[449]
[447] C
[417]
H
[413] G
97
[415]
2/20/2021 106
MGIT-IT-HARINATH
107. A* Search: Tree Search
A
B
E
F
H
80
Start
97
75
118
140
[393]
99
[449]
[447] C
[417]
[413] G
[415]
Goal
101
I
[418]
2/20/2021 107
MGIT-IT-HARINATH
108. A* Search: Tree Search
A
B
E
F
H
80
Start
97
75
118
140
[393]
99
[449]
[447] C
[417]
[413] G
[415]
Goal
101
I
[418]
I [450]
2/20/2021 108
MGIT-IT-HARINATH
109. A* Search: Tree Search
A
B
E
F
H
80
Start
97
75
118
140
[393]
99
[449]
[447] C
[417]
[413] G
[415]
Goal
101
I [418]
I [450]
2/20/2021 109
MGIT-IT-HARINATH
110. A* Search: Tree Search
A
B
E
F
H
80
Start
97
75
118
140
[393]
99
[449]
[447] C
[417]
[413] G
[415]
Goal
101
I [418]
I [450]
2/20/2021 110
MGIT-IT-HARINATH
262. Analysis
MGIT-IT-HARINATH
2/20/2021 262
ļA* is optimally efficient for any given Consistent
heuristic.
ļA* Search is Complete, Optimal.
ļA* usually keeps all generated nodes in Memory.
ļA* runs out of space long before it runs out of time.
ļA* is not practical for many large-scale Problems.
264. Memory Bounded Heuristic Search
MGIT-IT-HARINATH
2/20/2021 264
IDA*
ļSimplest way to reduce memory requirements is to adapt
idea of Iterative Deepening to Heuristic Search content.
ļDifference
-Use Cutoff f-cost(f+g) rather than depth.(IDA*)
265. MGIT-IT-HARINATH
2/20/2021 265
Memory Bounded Heuristic Search
Recursive BFS(Best First Search)
ļSimple recursive algorithm
ļSimilar to Recursive Depth-First Search but uses f-limit
variable to keep track of f-value of best alternative path.
ļIf Current Node exceeds the limit then back track choose
alternate path.
ļRBFS replaces f-value of each node along the path with
the backed up value(best f-value of its children)
266. Analysis
MGIT-IT-HARINATH
2/20/2021 266
ļIDA* and RBFS suffer from using too little memory.
ļIDA* retains only current f-cost limit
ļRBFS retains more information in Memory but it uses
Linear Space.
267. Using available Memory in A*
MGIT-IT-HARINATH
2/20/2021 267
ļMA*(Memory Bound A*)
ļSMA*(Simplified Memory Bound A*)
ļSMA* is simple, similar to A*(expands best leaf node until
Memory is full)
ļSMA* always drops the worst leaf node(one with highest
f-value).
ļSMA* backs up value of the forgotten node to its
parent(like RBFS)
269. MGIT-IT-HARINATH
2/20/2021 269
Generating Admissible Heuristic from
Relaxed Problems
ļProblem with fewer restrictions(Relaxed Problem)
ļSuper Graph(State Space Graph of Relaxed Problem)
ļCreates additional edges(Removal of restrictions)
ļRelaxed Problems better solution if added edges provide
shortcuts.
270. MGIT-IT-HARINATH
2/20/2021 270
Generating Admissible Heuristic from
Sub Problems
ļPattern Databases.
ļStore exact solution costs for every possible subproblem
instance.
ļCompute Admissible Heuristic for Complete State by
observing corresponding sub problem configuration in
Database.
271. MGIT-IT-HARINATH
2/20/2021 271
Learning Heuristic from Experience
ļExperience (Solving lot of Problems).
ļConstruct function h(n)-(from example problems)
ļInductive Learning(Works Best when supplied with
features of the State that are relevant to predicting states
value)