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

PPTX
Knowledge representation in AI
PPTX
Pedagogy and innovative approaches in Teaching and learning.pptx
PPTX
powerbi-presentation.pptx
PDF
Amity NLP Notes
PPTX
Platform as a Service (PaaS)
PPTX
departmental presentation for naac visit
PPT
Heuristic Search Techniques {Artificial Intelligence}
PPTX
Knowledge representation in AI
Pedagogy and innovative approaches in Teaching and learning.pptx
powerbi-presentation.pptx
Amity NLP Notes
Platform as a Service (PaaS)
departmental presentation for naac visit
Heuristic Search Techniques {Artificial Intelligence}

What's hot (20)

PPT
AI Lecture 3 (solving problems by searching)
PPTX
Unification and Lifting
PPTX
Learning in AI
PDF
Artificial Intelligence Notes Unit 1
PPTX
Artificial intelligence agents and environment
PDF
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
PPT
Artificial intelligence and knowledge representation
PDF
Artificial Intelligence - Hill climbing.
PPTX
Uncertainty in AI
PDF
Production System in AI
PPT
Hill climbing
PDF
I.BEST FIRST SEARCH IN AI
PPTX
Artificial Intelligence Searching Techniques
PPTX
State space search and Problem Solving techniques
PPT
6 games
PPTX
Problem solving agents
PDF
Stuart russell and peter norvig artificial intelligence - a modern approach...
PPTX
Knowledge representation In Artificial Intelligence
PPT
Knowledge Representation & Reasoning
PPTX
Rule based system
AI Lecture 3 (solving problems by searching)
Unification and Lifting
Learning in AI
Artificial Intelligence Notes Unit 1
Artificial intelligence agents and environment
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Artificial intelligence and knowledge representation
Artificial Intelligence - Hill climbing.
Uncertainty in AI
Production System in AI
Hill climbing
I.BEST FIRST SEARCH IN AI
Artificial Intelligence Searching Techniques
State space search and Problem Solving techniques
6 games
Problem solving agents
Stuart russell and peter norvig artificial intelligence - a modern approach...
Knowledge representation In Artificial Intelligence
Knowledge Representation & Reasoning
Rule based system
Ad

Viewers also liked (13)

PPT
Solving problems by searching
PPT
Nonparametric statistics
PPTX
Intelligent agent
PPTX
non parametric statistics
PPTX
AI: Planning and AI
PPT
2-Agents- Artificial Intelligence
PPTX
AI: Learning in AI
PPT
Planning
PPTX
Non-Parametric Tests
ZIP
Ai Slides
PPTX
Non parametric tests
PPT
Artificial Intelligence
PPTX
Artificial Intelligence Presentation
Solving problems by searching
Nonparametric statistics
Intelligent agent
non parametric statistics
AI: Planning and AI
2-Agents- Artificial Intelligence
AI: Learning in AI
Planning
Non-Parametric Tests
Ai Slides
Non parametric tests
Artificial Intelligence
Artificial Intelligence Presentation
Ad

Similar to AI: AI & Problem Solving (20)

PPTX
AI_03_Solving Problems by Searching.pptx
PPTX
Aritificial Intelligence Search Techniques Unit 1
PPT
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
PPTX
Artificial Intelligence
PPTX
Lecture 3 Problem Solving.pptx
PPTX
CHAPTER 5.pptx of the following of our discussion
PPTX
3. ArtificialSolving problems by searching.pptx
DOCX
Searching techniques
PPTX
AI_Lec2.pptx dive in to ai hahahahahahah
PDF
Lecture 3-Problem Solving by Searching Techniques.pdf
PPTX
Popular search algorithms
PPTX
AI(Module1).pptx
PDF
Chapter 3 - Searching and prPlanning.pdf
PDF
Presentation on the artificial intelligenc
PPTX
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
PDF
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
PPTX
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
DOCX
QB - Aptitude test questions, engineering medical entrance sample ...
PPTX
4-200626030058kpnu9avdbvionipnmvdadzvdavavd
AI_03_Solving Problems by Searching.pptx
Aritificial Intelligence Search Techniques Unit 1
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
Artificial Intelligence
Lecture 3 Problem Solving.pptx
CHAPTER 5.pptx of the following of our discussion
3. ArtificialSolving problems by searching.pptx
Searching techniques
AI_Lec2.pptx dive in to ai hahahahahahah
Lecture 3-Problem Solving by Searching Techniques.pdf
Popular search algorithms
AI(Module1).pptx
Chapter 3 - Searching and prPlanning.pdf
Presentation on the artificial intelligenc
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
QB - Aptitude test questions, engineering medical entrance sample ...
4-200626030058kpnu9avdbvionipnmvdadzvdavavd

More from DataminingTools Inc (20)

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

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Review of recent advances in non-invasive hemoglobin estimation
The AUB Centre for AI in Media Proposal.docx
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

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