SlideShare a Scribd company logo
1 of 21
  The Inference Engine Week 8 – 2 nd  Lecture October 12, 2011 -21
Inferencing ,[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
[object Object],[object Object],[object Object],[object Object],Aspects of Human Reasoning October 12, 2011 -21
Aspects of Human Reasoning (cont.) ,[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
Reasoning in AI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
Deductive Reasoning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
Deductive Reasoning (cont.) Example 1 Major Premise: All birds have wings Minor Premise: Tweety is a bird Conclusion  : Tweety has wings Example 2 Major Premise: I do not go to work on public    holidays Minor Premise: Tomorrow is Wesak day    and it is a public holiday Conclusion  : I will not go to work tomorrow October 12, 2011 -21
Inductive Reasoning ,[object Object],[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
[object Object],[object Object],[object Object],Inductive Reasoning (cont.) October 12, 2011 -21
Example Premise: I saw a bird in Zoo Negara which can fly within the interior of the cage Premise: I heard the sound of an explosion. All the birds sitting on the nearby tree flew towards the sky Conclusion: All birds in my world can fly October 12, 2011 -21 Inductive Reasoning (cont.)
Analogical Reasoning ,[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
Example: Query: What is the working hours of Engineers? The computer finds the analogy between engineers and white-collar employees It is known that white-collar employees work from 9 to 5. Hence by analogy, Engineers work from 9 to 5  October 12, 2011 -21 Analogical Reasoning
Formal Reasoning ,[object Object],[object Object],[object Object],October 12, 2011 -21
Metalevel Reasoning ,[object Object],[object Object],[object Object],October 12, 2011 -21
Inferencing with Rules Mainly involves use of modus ponens Most of the commercial Expert Systems use rules in inferencing uses modus ponens e.g.:- RULE 1:  IF international conflict begins THEN the price of gold goes up Assume that the ES knows international conflict just started. This info. is stored in the facts(assertion) part of the knowledge base. Ie. the premise(IF) part of the rule is TRUE October 12, 2011 -21
[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21 Inferencing with Rules (cont.)
Generic Strategies for Inference Engine ,[object Object],[object Object],[object Object],October 12, 2011 -21
Forward and backward Chaining ,[object Object],[object Object],[object Object],[object Object],[object Object],October 12, 2011 -21
Forward and backward Chaining: Example Consider the following scenario: Suppose you want to fly from Denver to Tokyo and there are no direct flights between these two cities. Therefore, you try to find a chain of connecting flights starting from Denver and ending in Tokyo.  There are two ways you can search for this chain of flights October 12, 2011 -21
Backward chaining Start with all flights that arrive at Tokyo and find the city where each flight originated. Then look up all the flights arriving at those cities and find where they originated. Continue this process until you find Denver. Here you are working backward from your goal(Tokyo) and hence is a goal-driven approach. October 12, 2011 -21
Forward Chaining List all flights leaving Denver and mark their destination(intermediate) cities. Then look up all the flights leaving these intermediate cities and find where they land; continue this process until you find Tokyo. In this case you are working forward from Denver toward your goal(Tokyo). So this is a data driven approach.  October 12, 2011 -21

More Related Content

What's hot

Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoningMaryam Maleki
 
Means end analysis, knowledge in learning
Means end analysis,  knowledge in learningMeans end analysis,  knowledge in learning
Means end analysis, knowledge in learningGaurav Chaubey
 
Efficient reasoning
Efficient reasoningEfficient reasoning
Efficient reasoningunyil96
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Lec 4 expert systems
Lec 4  expert systemsLec 4  expert systems
Lec 4 expert systemsEyob Sisay
 

What's hot (7)

Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoning
 
Lecture 4 means end analysis
Lecture 4 means end analysisLecture 4 means end analysis
Lecture 4 means end analysis
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Means end analysis, knowledge in learning
Means end analysis,  knowledge in learningMeans end analysis,  knowledge in learning
Means end analysis, knowledge in learning
 
Efficient reasoning
Efficient reasoningEfficient reasoning
Efficient reasoning
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Lec 4 expert systems
Lec 4  expert systemsLec 4  expert systems
Lec 4 expert systems
 

Similar to Wk8of2

50134147-Knowledge-Representation-Using-Rules.ppt
50134147-Knowledge-Representation-Using-Rules.ppt50134147-Knowledge-Representation-Using-Rules.ppt
50134147-Knowledge-Representation-Using-Rules.pptssuserec53e73
 
AI assagnmebt.docx
AI assagnmebt.docxAI assagnmebt.docx
AI assagnmebt.docxHelinayen
 
A_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdfA_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdfappaji nayak
 
Decision support systems
Decision support systemsDecision support systems
Decision support systemsMR Z
 
Poggi analytics - ebl - 1
Poggi   analytics - ebl - 1Poggi   analytics - ebl - 1
Poggi analytics - ebl - 1Gaston Liberman
 
Project Analytics
Project AnalyticsProject Analytics
Project AnalyticsDanTrietsch
 
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...ijaia
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Miningbutest
 
Observability for modern applications
Observability for modern applications  Observability for modern applications
Observability for modern applications MoovingON
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docbutest
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docbutest
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docbutest
 

Similar to Wk8of2 (20)

50134147-Knowledge-Representation-Using-Rules.ppt
50134147-Knowledge-Representation-Using-Rules.ppt50134147-Knowledge-Representation-Using-Rules.ppt
50134147-Knowledge-Representation-Using-Rules.ppt
 
AI assagnmebt.docx
AI assagnmebt.docxAI assagnmebt.docx
AI assagnmebt.docx
 
A_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdfA_multi-objective_set_covering_problem_A_case_stud.pdf
A_multi-objective_set_covering_problem_A_case_stud.pdf
 
Chapter 5 (final)
Chapter 5 (final)Chapter 5 (final)
Chapter 5 (final)
 
Decision support systems
Decision support systemsDecision support systems
Decision support systems
 
Poggi analytics - ebl - 1
Poggi   analytics - ebl - 1Poggi   analytics - ebl - 1
Poggi analytics - ebl - 1
 
Warehousing
WarehousingWarehousing
Warehousing
 
Project Analytics
Project AnalyticsProject Analytics
Project Analytics
 
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...
A NEW PERSPECTIVE OF PARAMODULATION COMPLEXITY BY SOLVING 100 SLIDING BLOCK P...
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Dsal#01
Dsal#01Dsal#01
Dsal#01
 
Itm 3
Itm 3Itm 3
Itm 3
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Mining
 
Unit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.pptUnit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.ppt
 
Observability for modern applications
Observability for modern applications  Observability for modern applications
Observability for modern applications
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.doc
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.doc
 
A Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.docA Research Platform for Coevolving Agents.doc
A Research Platform for Coevolving Agents.doc
 
Chap13
Chap13Chap13
Chap13
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Wk8of2

  • 1. The Inference Engine Week 8 – 2 nd Lecture October 12, 2011 -21
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Deductive Reasoning (cont.) Example 1 Major Premise: All birds have wings Minor Premise: Tweety is a bird Conclusion : Tweety has wings Example 2 Major Premise: I do not go to work on public holidays Minor Premise: Tomorrow is Wesak day and it is a public holiday Conclusion : I will not go to work tomorrow October 12, 2011 -21
  • 8.
  • 9.
  • 10. Example Premise: I saw a bird in Zoo Negara which can fly within the interior of the cage Premise: I heard the sound of an explosion. All the birds sitting on the nearby tree flew towards the sky Conclusion: All birds in my world can fly October 12, 2011 -21 Inductive Reasoning (cont.)
  • 11.
  • 12. Example: Query: What is the working hours of Engineers? The computer finds the analogy between engineers and white-collar employees It is known that white-collar employees work from 9 to 5. Hence by analogy, Engineers work from 9 to 5 October 12, 2011 -21 Analogical Reasoning
  • 13.
  • 14.
  • 15. Inferencing with Rules Mainly involves use of modus ponens Most of the commercial Expert Systems use rules in inferencing uses modus ponens e.g.:- RULE 1: IF international conflict begins THEN the price of gold goes up Assume that the ES knows international conflict just started. This info. is stored in the facts(assertion) part of the knowledge base. Ie. the premise(IF) part of the rule is TRUE October 12, 2011 -21
  • 16.
  • 17.
  • 18.
  • 19. Forward and backward Chaining: Example Consider the following scenario: Suppose you want to fly from Denver to Tokyo and there are no direct flights between these two cities. Therefore, you try to find a chain of connecting flights starting from Denver and ending in Tokyo. There are two ways you can search for this chain of flights October 12, 2011 -21
  • 20. Backward chaining Start with all flights that arrive at Tokyo and find the city where each flight originated. Then look up all the flights arriving at those cities and find where they originated. Continue this process until you find Denver. Here you are working backward from your goal(Tokyo) and hence is a goal-driven approach. October 12, 2011 -21
  • 21. Forward Chaining List all flights leaving Denver and mark their destination(intermediate) cities. Then look up all the flights leaving these intermediate cities and find where they land; continue this process until you find Tokyo. In this case you are working forward from Denver toward your goal(Tokyo). So this is a data driven approach. October 12, 2011 -21

Editor's Notes

  1. 39