SlideShare a Scribd company logo
2
Most read
3
Most read
17
Most read
AI & Problem Solving
Problem formulationSuppose that the agent's sensors give it enough information to tell exactly which state it is in (i.e., the world is accessible); Suppose that it knows exactly what each of its actions does. Then it can calculate exactly which state it will be in after any sequence of actions.
Types of problemsWhen the environment is completely accessible and the agent can calculate its state after any sequence of action, we call it a single-state problem.When the world is not fully accessible, the agent must reason about sets of states that it might get to, rather than single states. We call this a multiple-state problem.
Components of a Well defined problems and solutionsData typeComponents:A Problem An Operator The Goal Test function A Path Cost function
Measuring problem solving Performance    The effectiveness of a search technique can be measured in at least three ways.1) Does it find a solution?2) Is it a good solution/low cost ?3) What is the search cost associated with the time and memory required to find a solution?
Problem formulation for 8-Queens ProblemGoal test: 8 queens on board: placing 8 queens on chess board so that no queen attacks each other.Path cost: zero.States: Any arrangement of 0 to 8 queens on board.Operators: Add a queen to any square.Route finding: It is used in a variety of applications, such as routing in computer networks, automated travel advisory systems, and airline travel planning systems.
Searching for solutionsSolution to an AI problems involves performing an action to go to one proper state among possible numerous possible states of agent.Thus the processes of finding solution can be boiled down to searching of that best state among all the possible states.
Data structures for search treesData type nodeComponents: STATE, PARENT-NODE, OPERATOR, DEPTH, PATH-COSTThe State in the state space to which the node corresponds.The Node in the search tree that generated this node.The Operator that was applied to generate the node.The Number of nodes on the path from the root to this node (the depth of the node).The path cost of the path from the initial state to the node.
Optimality of search algorithm's is based on following factorsCompleteness: is the strategy guaranteed to find a solution when there is one?Time complexity: how long does it take to find a solution?Space complexity: how much memory does it need to perform the search?Optimality: does the strategy find the highest-quality solution when there are several different solutions?
Different Search strategies?Breadth-first searchUniform cost searchDepth-first searchDepth-limited searchIterative deepening searchBidirectional search
What is Breadth-first search?One simple search strategy is a breadth-first search. In this strategy, the root node is expanded first, then all the nodes generated by the root node are expanded next, and then their successors, and so on.
What is Uniform cost search?Breadth-first search finds the shallowest goal state, but this may not always be the least-cost solution for a general path cost function. Uniform cost search modifies the breadth-first strategy by always expanding the lowest-cost node on the fringe (as measured by the path cost g(n)), rather than the lowest-depth node.
What is Depth-first search?Depth-first search always expands one of the nodes at the deepest level of the tree. Only when the search hits a dead end (a non goal node with no expansion) does the search go back and expand nodes at shallower levels.
What is Depth-limited search?Its basically similar to depth first search with following modification.Depth-limited search avoids the pitfalls of depth-first search by imposing a cutoff on the maximum depth of a path.
What is Iterative deepening search?Iterative deepening search is a strategy that sidesteps the issue of choosing the best depth limit by trying all possible depth limits: first depth 0, then depth 1, then depth 2, and so on.
What is Bidirectional search?The idea behind bidirectional search is to simultaneously search both forward from the initial state and backward from the goal, and stop when the two searches meet in the middle .
Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net

More Related Content

What's hot (20)

PPTX
Problem solving agents
Megha Sharma
 
PPTX
Planning
Amar Jukuntla
 
PDF
Search problems in Artificial Intelligence
ananth
 
PPTX
Foundation of A.I
Megha Sharma
 
PPT
Knowledge Representation in Artificial intelligence
Yasir Khan
 
PPTX
Introduction to Deep Learning
Oswald Campesato
 
PPTX
Probabilistic Reasoning
Junya Tanaka
 
PPTX
Knowledge representation
Md. Tanvir Masud
 
PDF
Lecture 2 agent and environment
Vajira Thambawita
 
PPTX
Multilayer perceptron
omaraldabash
 
PPTX
Hill climbing algorithm
Dr. C.V. Suresh Babu
 
PPTX
Uninformed search /Blind search in AI
Kirti Verma
 
PDF
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Khushboo Pal
 
PPTX
AI_Session 7 Greedy Best first search algorithm.pptx
Guru Nanak Technical Institutions
 
PPTX
Problem Formulation in Artificial Inteligence Projects
Dr. C.V. Suresh Babu
 
PPT
Knowledge Representation & Reasoning
Sajid Marwat
 
PPTX
Artificial Intelligence Searching Techniques
Dr. C.V. Suresh Babu
 
PPTX
Artificial Intelligence- TicTacToe game
manika kumari
 
PDF
Informed search
Amit Kumar Rathi
 
PPTX
Local search algorithm
Megha Sharma
 
Problem solving agents
Megha Sharma
 
Planning
Amar Jukuntla
 
Search problems in Artificial Intelligence
ananth
 
Foundation of A.I
Megha Sharma
 
Knowledge Representation in Artificial intelligence
Yasir Khan
 
Introduction to Deep Learning
Oswald Campesato
 
Probabilistic Reasoning
Junya Tanaka
 
Knowledge representation
Md. Tanvir Masud
 
Lecture 2 agent and environment
Vajira Thambawita
 
Multilayer perceptron
omaraldabash
 
Hill climbing algorithm
Dr. C.V. Suresh Babu
 
Uninformed search /Blind search in AI
Kirti Verma
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Khushboo Pal
 
AI_Session 7 Greedy Best first search algorithm.pptx
Guru Nanak Technical Institutions
 
Problem Formulation in Artificial Inteligence Projects
Dr. C.V. Suresh Babu
 
Knowledge Representation & Reasoning
Sajid Marwat
 
Artificial Intelligence Searching Techniques
Dr. C.V. Suresh Babu
 
Artificial Intelligence- TicTacToe game
manika kumari
 
Informed search
Amit Kumar Rathi
 
Local search algorithm
Megha Sharma
 

Viewers also liked (12)

PPT
Nonparametric statistics
Tarun Gehlot
 
PPTX
Intelligent agent
Geeta Jaswani
 
PPTX
non parametric statistics
Anchal Garg
 
PPTX
AI: Planning and AI
DataminingTools Inc
 
PPT
2-Agents- Artificial Intelligence
Mhd Sb
 
PPTX
AI: Learning in AI
DataminingTools Inc
 
PPT
Planning
ahmad bassiouny
 
PPTX
Non-Parametric Tests
Pratik Bhadange
 
ZIP
Ai Slides
guestefaab0
 
PPTX
Non parametric tests
Raghavendra Huchchannavar
 
PPT
Artificial Intelligence
u053675
 
PPTX
Artificial Intelligence Presentation
lpaviglianiti
 
Nonparametric statistics
Tarun Gehlot
 
Intelligent agent
Geeta Jaswani
 
non parametric statistics
Anchal Garg
 
AI: Planning and AI
DataminingTools Inc
 
2-Agents- Artificial Intelligence
Mhd Sb
 
AI: Learning in AI
DataminingTools Inc
 
Planning
ahmad bassiouny
 
Non-Parametric Tests
Pratik Bhadange
 
Ai Slides
guestefaab0
 
Non parametric tests
Raghavendra Huchchannavar
 
Artificial Intelligence
u053675
 
Artificial Intelligence Presentation
lpaviglianiti
 
Ad

Similar to AI: AI & Problem Solving (20)

PPTX
AI_03_Solving Problems by Searching.pptx
Yousef Aburawi
 
PPTX
Aritificial Intelligence Search Techniques Unit 1
lavanyachinta5
 
PPT
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
GOKULKANNANMMECLECTC
 
PPTX
Artificial Intelligence
Jay Nagar
 
PPTX
Lecture 3 Problem Solving.pptx
AndrewKuziwakwasheMu
 
PPTX
CHAPTER 5.pptx of the following of our discussion
BifaHirpo1
 
PPTX
3. ArtificialSolving problems by searching.pptx
NAZMUSSAKIBMDADIL200
 
DOCX
Searching techniques
Prof.Dharmishtha R. Chaudhari
 
PPTX
AI_Lec2.pptx dive in to ai hahahahahahah
inambscs4508
 
PDF
Lecture 3-Problem Solving by Searching Techniques.pdf
Shahzad Ashraf
 
PPTX
Popular search algorithms
Minakshi Atre
 
PPTX
AI(Module1).pptx
AnkitaVerma776806
 
PDF
Chapter 3 - Searching and prPlanning.pdf
naolseyum9
 
PDF
Presentation on the artificial intelligenc
PriyadharshiniG41
 
PPTX
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
pank011
 
PDF
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
Santosh Pandeya
 
PPTX
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
RaviKiranVarma4
 
DOCX
QB - Aptitude test questions, engineering medical entrance sample ...
butest
 
PPTX
4-200626030058kpnu9avdbvionipnmvdadzvdavavd
mmpnair0
 
AI_03_Solving Problems by Searching.pptx
Yousef Aburawi
 
Aritificial Intelligence Search Techniques Unit 1
lavanyachinta5
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
GOKULKANNANMMECLECTC
 
Artificial Intelligence
Jay Nagar
 
Lecture 3 Problem Solving.pptx
AndrewKuziwakwasheMu
 
CHAPTER 5.pptx of the following of our discussion
BifaHirpo1
 
3. ArtificialSolving problems by searching.pptx
NAZMUSSAKIBMDADIL200
 
Searching techniques
Prof.Dharmishtha R. Chaudhari
 
AI_Lec2.pptx dive in to ai hahahahahahah
inambscs4508
 
Lecture 3-Problem Solving by Searching Techniques.pdf
Shahzad Ashraf
 
Popular search algorithms
Minakshi Atre
 
AI(Module1).pptx
AnkitaVerma776806
 
Chapter 3 - Searching and prPlanning.pdf
naolseyum9
 
Presentation on the artificial intelligenc
PriyadharshiniG41
 
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
pank011
 
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
Santosh Pandeya
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
RaviKiranVarma4
 
QB - Aptitude test questions, engineering medical entrance sample ...
butest
 
4-200626030058kpnu9avdbvionipnmvdadzvdavavd
mmpnair0
 
Ad

More from DataminingTools Inc (20)

PPTX
Terminology Machine Learning
DataminingTools Inc
 
PPTX
Techniques Machine Learning
DataminingTools Inc
 
PPTX
Machine learning Introduction
DataminingTools Inc
 
PPTX
Areas of machine leanring
DataminingTools Inc
 
PPTX
AI: Logic in AI 2
DataminingTools Inc
 
PPTX
AI: Logic in AI
DataminingTools Inc
 
PPTX
AI: Learning in AI 2
DataminingTools Inc
 
PPTX
AI: Introduction to artificial intelligence
DataminingTools Inc
 
PPTX
AI: Belief Networks
DataminingTools Inc
 
PPTX
AI: AI & Searching
DataminingTools Inc
 
PPTX
Data Mining: Text and web mining
DataminingTools Inc
 
PPTX
Data Mining: Outlier analysis
DataminingTools Inc
 
PPTX
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
PPTX
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
PPTX
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
PPTX
Data warehouse and olap technology
DataminingTools Inc
 
PPTX
Data Mining: Data processing
DataminingTools Inc
 
PPTX
Data Mining: clustering and analysis
DataminingTools Inc
 
PPTX
Data mining: Classification and prediction
DataminingTools Inc
 
PPTX
Data Mining: Classification and analysis
DataminingTools Inc
 
Terminology Machine Learning
DataminingTools Inc
 
Techniques Machine Learning
DataminingTools Inc
 
Machine learning Introduction
DataminingTools Inc
 
Areas of machine leanring
DataminingTools Inc
 
AI: Logic in AI 2
DataminingTools Inc
 
AI: Logic in AI
DataminingTools Inc
 
AI: Learning in AI 2
DataminingTools Inc
 
AI: Introduction to artificial intelligence
DataminingTools Inc
 
AI: Belief Networks
DataminingTools Inc
 
AI: AI & Searching
DataminingTools Inc
 
Data Mining: Text and web mining
DataminingTools Inc
 
Data Mining: Outlier analysis
DataminingTools Inc
 
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
Data warehouse and olap technology
DataminingTools Inc
 
Data Mining: Data processing
DataminingTools Inc
 
Data Mining: clustering and analysis
DataminingTools Inc
 
Data mining: Classification and prediction
DataminingTools Inc
 
Data Mining: Classification and analysis
DataminingTools Inc
 

Recently uploaded (20)

PPTX
Q2 Leading a Tableau User Group - Onboarding
lward7
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Learn Computer Forensics, Second Edition
AnuraShantha7
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Q2 Leading a Tableau User Group - Onboarding
lward7
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
July Patch Tuesday
Ivanti
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Learn Computer Forensics, Second Edition
AnuraShantha7
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 

AI: AI & Problem Solving

  • 1. AI & Problem Solving
  • 2. Problem formulationSuppose that the agent's sensors give it enough information to tell exactly which state it is in (i.e., the world is accessible); Suppose that it knows exactly what each of its actions does. Then it can calculate exactly which state it will be in after any sequence of actions.
  • 3. Types of problemsWhen the environment is completely accessible and the agent can calculate its state after any sequence of action, we call it a single-state problem.When the world is not fully accessible, the agent must reason about sets of states that it might get to, rather than single states. We call this a multiple-state problem.
  • 4. Components of a Well defined problems and solutionsData typeComponents:A Problem An Operator The Goal Test function A Path Cost function
  • 5. Measuring problem solving Performance The effectiveness of a search technique can be measured in at least three ways.1) Does it find a solution?2) Is it a good solution/low cost ?3) What is the search cost associated with the time and memory required to find a solution?
  • 6. Problem formulation for 8-Queens ProblemGoal test: 8 queens on board: placing 8 queens on chess board so that no queen attacks each other.Path cost: zero.States: Any arrangement of 0 to 8 queens on board.Operators: Add a queen to any square.Route finding: It is used in a variety of applications, such as routing in computer networks, automated travel advisory systems, and airline travel planning systems.
  • 7. Searching for solutionsSolution to an AI problems involves performing an action to go to one proper state among possible numerous possible states of agent.Thus the processes of finding solution can be boiled down to searching of that best state among all the possible states.
  • 8. Data structures for search treesData type nodeComponents: STATE, PARENT-NODE, OPERATOR, DEPTH, PATH-COSTThe State in the state space to which the node corresponds.The Node in the search tree that generated this node.The Operator that was applied to generate the node.The Number of nodes on the path from the root to this node (the depth of the node).The path cost of the path from the initial state to the node.
  • 9. Optimality of search algorithm's is based on following factorsCompleteness: is the strategy guaranteed to find a solution when there is one?Time complexity: how long does it take to find a solution?Space complexity: how much memory does it need to perform the search?Optimality: does the strategy find the highest-quality solution when there are several different solutions?
  • 10. Different Search strategies?Breadth-first searchUniform cost searchDepth-first searchDepth-limited searchIterative deepening searchBidirectional search
  • 11. What is Breadth-first search?One simple search strategy is a breadth-first search. In this strategy, the root node is expanded first, then all the nodes generated by the root node are expanded next, and then their successors, and so on.
  • 12. What is Uniform cost search?Breadth-first search finds the shallowest goal state, but this may not always be the least-cost solution for a general path cost function. Uniform cost search modifies the breadth-first strategy by always expanding the lowest-cost node on the fringe (as measured by the path cost g(n)), rather than the lowest-depth node.
  • 13. What is Depth-first search?Depth-first search always expands one of the nodes at the deepest level of the tree. Only when the search hits a dead end (a non goal node with no expansion) does the search go back and expand nodes at shallower levels.
  • 14. What is Depth-limited search?Its basically similar to depth first search with following modification.Depth-limited search avoids the pitfalls of depth-first search by imposing a cutoff on the maximum depth of a path.
  • 15. What is Iterative deepening search?Iterative deepening search is a strategy that sidesteps the issue of choosing the best depth limit by trying all possible depth limits: first depth 0, then depth 1, then depth 2, and so on.
  • 16. What is Bidirectional search?The idea behind bidirectional search is to simultaneously search both forward from the initial state and backward from the goal, and stop when the two searches meet in the middle .
  • 17. Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net