SlideShare a Scribd company logo
1 of 32
An Introduction to
Expert Systems
Dr Iman Ardekani
Basics
Applications
Development
Structure
Inferencing Methods
Content
By Iman Ardekani
What is an expert system?
By definition, an expert system is a computer program that
simulates the thought process of a human expert to solve
complex decision problems in a specific domain.
Basics
Its form? Its Functionality? Its ideal goal? Its responsibility?
What is an expert system for?
For operating as an interactive system that responds to
questions, asks for clarifications, makes recommendations,
and generally aid the decision making process.
Examples:
Computer diagnosis and troubleshooting, medical diagnosis,
and even delicate medical surgery
Basics
How an expert system operates?
It uses both facts and heuristics to solve difficult decision
problems based knowledge acquired from an expert.
Have you tried NHS expert systems? Discover how its
operates and explain it in one short paragraph.
Basics
Why we need it?
Because of limitations associated with conventional human decision-
making processes, including:
• Humans expertise is very scarce.
• Humans get tired form physical or mental work load.
• Humans have limited working memory.
• Humans are unable to comprehend large amount of data quickly.
• Humans are slow in recalling information stored in memory.
• Humans are subject to deliberate or inadvertent in their action.
• Humans can deliberately avoid decision responsibilities.
• Humans lie, hide and die.
Basics
Why we need it?
Because of limitation associated with conventional programming and
traditional decision-making support, including:
• They are algorithmic in nature and depend only on raw machine
power.
• They do not make use of the effective heuristic approaches used
by human expert.
• They are not easily adoptable to changing problem environment.
• They seek explicit and factual solutions that may not be possible.
Basics
What are main applications of expert systems?
• Interpreting and identifying
• Predicting
• Diagnosing
• Designing and planning
• Monitoring
• Debugging and testing
• Instructing and training
• Controlling
Applications
• The best application candidates for expert systems
are those dealing with expert heuristics for solving
problems.
• Calculation-intensive applications with very
exacting requirements are better handled by
traditional decision support tools or conventional
programming.
Applications
Hierarchy of expert systems development process
Expert System Development
Time
Tasks
Background
Concepts
Problem selection
Knowledge acquisition
Knowledge representation
Tool selection
Development
Test
Implementation and integration
Maintenance
What is a successful expert system?
The one with making decision process similar to that of human brain.
How human brain makes a decision?
By using mixture of factual and heuristic knowledge.
What is heuristic knowledge?
It is composed of intuition, judgment and logical inference. It is an
indisputable strength of human.
Lets answer the first question more accurately now:
Successful expert systems are those combine facts and heuristics and thus
merge human knowledge with computer power in solving problems.
Expert System Development
Expert systems are organized in 3 distinct levels:
1. Knowledge Base consists of problem solving rules,
procedures, and relevant data.
2. Working Memory refers to task-specific data for the
problem under consideration.
3. Inference Engine is a generic control mechanism that
applies the knowledge base to the task-specific data
to arrive at some solutions or conclusion.
Expert Systems Structure
Expert Systems Structure
Knowledge Base
Inference Engine
Problem Data
Expertise
Expert Systems Structure
Human experts or
consulting firm
User
Commercial vendor
e.g, VP-Expert
Knowledge
Engineers Knowledge Base
Problem Data
Inference Engine
Knowledge Base Structure
• It constitutes problem solving rules, facts or intuitions
that a human expert might use in solving problems in a
given problem domain.
• It is usually stored in terms of if-then rules.
Example
IF the patient has headache THEN ask how long he/she
has suffered this pain.
Expert Systems Structure
How to create the knowledge base:
1. The knowledge engineer establishes a dialog with the
human expert to elicit knowledge.
2. The knowledge engineer codes the knowledge explicitly in
the knowledge base.
3. The expert evaluates the expert system and gives a
critique to the knowledge engineer.
Expert Systems Structure
Try NHS online expert system for an imaginary
scenario. Discover the if-then rules for the chosen
scenario.
Expert Systems Structure
General methods of inferencing:
1. Forward Reasoning (data-driven) – reasoning from facts to
the conclusions resulting from those facts – best for
prognosis, monitoring, and control.
2. Backward Reasoning (query driven) – reasoning in reverse
from a hypothesis, a potential conclusion to be proved to
the facts that support the hypothesis – best for diagnosis
problems.
Inferencing Methods
Example for forward reasoning
Knowledge Base Rules:
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
Inferencing Methods
RulesPriority
Let us assume that initially we have a working memory (user data) with
Step 1:
Inferencing Methods
(Season, Spring)
(Happy Iman)
(Swimming, Iman)
(Symptom1, Iman)2
3 x
(Season, Spring)
(Happy Iman)
(Swimming, Iman)
(Symptom1, Iman)
(Season, Spring)
(Happy Iman)
(Swimming, Iman)
Updated working memory:
Step 2
Inferencing Methods
Knowledge Base Rules
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
(Symptom1, Iman)
(Season, Spring)
(Happy Iman)
(Swimming, Iman)
(Symptom2, Iman)
3
x
6
Step 3
Inferencing Methods
(Symptom1, Iman)
(Season, Spring)
(Happy Iman)
(Swimming, Iman)
(Symptom2, Iman)
x
6
1
(Allergy, Iman)
Knowledge Base Rules
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
Step 4
Inferencing Methods
(Symptom1, Iman)
(Happy Iman)
(Swimming, Iman)
(Symptom2, Iman)
4
(Allergy, Iman) Inhaler Needed, Iman
6
Knowledge Base Rules
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
(Season, Spring)
x
(Happy Iman)
Step 5
Inferencing Methods
5
6
Knowledge Base Rules
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
(Season, Spring)
(Symptom1, Iman)
(Swimming, Iman)
(Symptom2, Iman)
(Allergy, Iman)
Inhaler Needed, Iman
x
(Swimming, Iman)
Step 6
Inferencing Methods
Knowledge Base Rules
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Inhaler Needed, X) THEN DEL (Happy X)
⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
6
(Season, Spring)
(Symptom1, Iman)
(Symptom2, Iman)
(Allergy, Iman)
Inhaler Needed, Iman
Final Working Memory
Inferencing Methods
(Season, Spring)
(Symptom1, Iman)
(Symptom2, Iman)
(Allergy, Iman)
Inhaler Needed, Iman
Example for backward reasoning
Knowledge Base Rules:
① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X)
② IF (Season, Spring) THEN ADD (Symptom1, Iman)
③ IF (Season, Spring) THEN ADD (Symptom2, Iman)
④ IF (Allergy, X) THEN ADD (Inhaler Needed, X)
⑤ IF (Asthma, X) THEN ADD (Inhaler Needed, X)
⑥ IF (Season, Spring) THEN ADD (Weather, Rainy)
⑦ IF (Year, 2010) THEN ADD (Economy, Bad)
Inferencing Methods
RulesPriority
Let us assume that initially we have a user facts set (user data) with
and we want to prove that Iman needed an Inhaler that time.
Step 1:
Inferencing Methods
(Season, Spring)
(Year, 2012)
Inhaler Needed, Iman
(Allergy, Iman)
x 5
4
Step 2: (we don’t need update the working memory)
Step 3:
(Season, Spring) is among the initial facts, so it is proven that (Inhaler
Need, Iman)
Inferencing Methods
1
(Allergy, Iman)
(Symptom1, Iman)
(Symptom2, Iman)
(Symptom1, Iman)
(Symptom2, Iman)
2
3
(Season, Spring)
Forward Reasoning vs. Backward Reasoning
 Whether you use forward or backwards reasoning to solve a problem
depends on the properties of the rule set and initial facts.
 Sometimes, if you have some particular goal (to test some
hypothesis), then backward reasoning will be much more
efficient, as you avoid drawing conclusions from irrelevant facts.
 However, sometimes backward Reasoning can be very wasteful
- there may be many possible ways of trying to prove something,
and you may have to try almost all of them before you find one
that works.
Inferencing Methods
 Forward Reasoning may be better if you have lots of things you want to
prove, when you have a small set of initial facts; and when there tend to
be lots of different rules which allow you to draw the same conclusion
 Backward Reasoning may be better if you are trying to prove a single
fact, given a large set of initial facts, and where, if you used forward
reasoning, lots of rules would be eligible to fire in any cycle.
Inferencing Methods
The End

More Related Content

What's hot

FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCEFORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCEJohnLeonard Onwuzuruigbo
 
Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Lakshya Gupta
 
Expert systems from rk
Expert systems from rkExpert systems from rk
Expert systems from rkramaslide
 
Expert System MYCIN
Expert System MYCINExpert System MYCIN
Expert System MYCINRached Krim
 
Ai lecture 02(unit-02)
Ai lecture  02(unit-02) Ai lecture  02(unit-02)
Ai lecture 02(unit-02) vikas dhakane
 
IRJET- Heart Disease Prediction and Recommendation
IRJET-  	  Heart Disease Prediction and RecommendationIRJET-  	  Heart Disease Prediction and Recommendation
IRJET- Heart Disease Prediction and RecommendationIRJET Journal
 
Disease prediction using machine learning
Disease prediction using machine learningDisease prediction using machine learning
Disease prediction using machine learningJinishaKG
 
Expert system neural fuzzy system
Expert system neural fuzzy systemExpert system neural fuzzy system
Expert system neural fuzzy systemJamil S. Alagha
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AIWitekio
 
Expert System
Expert SystemExpert System
Expert Systemhasanshan
 
Artificial Intelligence: Case-based & Model-based Reasoning
Artificial Intelligence: Case-based & Model-based ReasoningArtificial Intelligence: Case-based & Model-based Reasoning
Artificial Intelligence: Case-based & Model-based ReasoningThe Integral Worm
 
Production system in ai
Production system in aiProduction system in ai
Production system in aisabin kafle
 

What's hot (20)

5.11 expert system
5.11 expert system5.11 expert system
5.11 expert system
 
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCEFORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
 
Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Expert system (unit 1 & 2)
Expert system (unit 1 & 2)
 
Expert systems from rk
Expert systems from rkExpert systems from rk
Expert systems from rk
 
Expert system
Expert systemExpert system
Expert system
 
Topic 8 expert system
Topic 8 expert systemTopic 8 expert system
Topic 8 expert system
 
Expert System MYCIN
Expert System MYCINExpert System MYCIN
Expert System MYCIN
 
Ai lecture 02(unit-02)
Ai lecture  02(unit-02) Ai lecture  02(unit-02)
Ai lecture 02(unit-02)
 
Expert system
Expert systemExpert system
Expert system
 
IRJET- Heart Disease Prediction and Recommendation
IRJET-  	  Heart Disease Prediction and RecommendationIRJET-  	  Heart Disease Prediction and Recommendation
IRJET- Heart Disease Prediction and Recommendation
 
Approach AI assurance
Approach AI assuranceApproach AI assurance
Approach AI assurance
 
AAAI02-150-2
AAAI02-150-2AAAI02-150-2
AAAI02-150-2
 
Final ppt
Final pptFinal ppt
Final ppt
 
Expert System
Expert SystemExpert System
Expert System
 
Disease prediction using machine learning
Disease prediction using machine learningDisease prediction using machine learning
Disease prediction using machine learning
 
Expert system neural fuzzy system
Expert system neural fuzzy systemExpert system neural fuzzy system
Expert system neural fuzzy system
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AI
 
Expert System
Expert SystemExpert System
Expert System
 
Artificial Intelligence: Case-based & Model-based Reasoning
Artificial Intelligence: Case-based & Model-based ReasoningArtificial Intelligence: Case-based & Model-based Reasoning
Artificial Intelligence: Case-based & Model-based Reasoning
 
Production system in ai
Production system in aiProduction system in ai
Production system in ai
 

Viewers also liked

Application of expert system
Application of expert systemApplication of expert system
Application of expert systemDinkar DP
 
Ch2 3-informed (heuristic) search
Ch2 3-informed (heuristic) searchCh2 3-informed (heuristic) search
Ch2 3-informed (heuristic) searchchandsek666
 
Expert system 21 sldes
Expert system 21 sldesExpert system 21 sldes
Expert system 21 sldesYasir Khan
 
Expert Systems
Expert SystemsExpert Systems
Expert Systemsosmancikk
 
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...Michael Heiss
 
Designing the expert system
Designing the expert systemDesigning the expert system
Designing the expert systemasimnawaz54
 
Artificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsArtificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsSiddhant Agarwal
 
Анализ тональности с помощью ДСМ метода
Анализ тональности с помощью ДСМ методаАнализ тональности с помощью ДСМ метода
Анализ тональности с помощью ДСМ методаDima Kostyaev
 
Ідентифікація багатофакторних залежностей на основі нечіткої бази знань з рі...
Ідентифікація  багатофакторних залежностей на основі нечіткої бази знань з рі...Ідентифікація  багатофакторних залежностей на основі нечіткої бази знань з рі...
Ідентифікація багатофакторних залежностей на основі нечіткої бази знань з рі...Роман Тилець
 
Экспертные системы
Экспертные системыЭкспертные системы
Экспертные системыОтшельник
 
The Science of UX Design
The Science of UX DesignThe Science of UX Design
The Science of UX DesignZack Naylor
 
Inference rulesproofmethods
Inference rulesproofmethodsInference rulesproofmethods
Inference rulesproofmethodsRajendran
 
Logical Inference in RTE
Logical Inference in RTELogical Inference in RTE
Logical Inference in RTEKilian Evang
 
CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1David Wood
 

Viewers also liked (20)

Application of expert system
Application of expert systemApplication of expert system
Application of expert system
 
Ch2 3-informed (heuristic) search
Ch2 3-informed (heuristic) searchCh2 3-informed (heuristic) search
Ch2 3-informed (heuristic) search
 
Expert system 21 sldes
Expert system 21 sldesExpert system 21 sldes
Expert system 21 sldes
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
AI Robotics
AI RoboticsAI Robotics
AI Robotics
 
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...
Open Innovation Networks - Crowd Sourcing and Internal Expert Networks at Sie...
 
Designing the expert system
Designing the expert systemDesigning the expert system
Designing the expert system
 
Expert System Seminar
Expert System SeminarExpert System Seminar
Expert System Seminar
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Artificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsArtificial Intelligence and Expert Systems
Artificial Intelligence and Expert Systems
 
Анализ тональности с помощью ДСМ метода
Анализ тональности с помощью ДСМ методаАнализ тональности с помощью ДСМ метода
Анализ тональности с помощью ДСМ метода
 
Ідентифікація багатофакторних залежностей на основі нечіткої бази знань з рі...
Ідентифікація  багатофакторних залежностей на основі нечіткої бази знань з рі...Ідентифікація  багатофакторних залежностей на основі нечіткої бази знань з рі...
Ідентифікація багатофакторних залежностей на основі нечіткої бази знань з рі...
 
Нечеткие знания в экспертных системах
Нечеткие знания в экспертных системахНечеткие знания в экспертных системах
Нечеткие знания в экспертных системах
 
Экспертные системы
Экспертные системыЭкспертные системы
Экспертные системы
 
The Science of UX Design
The Science of UX DesignThe Science of UX Design
The Science of UX Design
 
Inference rulesproofmethods
Inference rulesproofmethodsInference rulesproofmethods
Inference rulesproofmethods
 
Logical Inference in RTE
Logical Inference in RTELogical Inference in RTE
Logical Inference in RTE
 
Lecture5
Lecture5Lecture5
Lecture5
 
CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1
 

Similar to An Intro to Expert Systems

System design to produce safer care culture meassurement and infrastructure f...
System design to produce safer care culture meassurement and infrastructure f...System design to produce safer care culture meassurement and infrastructure f...
System design to produce safer care culture meassurement and infrastructure f...Proqualis
 
1115 wyatt wheres the science in hi for christchurch nz oct 2015
1115 wyatt wheres the science in hi   for christchurch nz oct 20151115 wyatt wheres the science in hi   for christchurch nz oct 2015
1115 wyatt wheres the science in hi for christchurch nz oct 2015Health Informatics New Zealand
 
PEShare.co.uk Shared Resource
PEShare.co.uk Shared ResourcePEShare.co.uk Shared Resource
PEShare.co.uk Shared Resourcepeshare.co.uk
 
1. What is the problem2. Why is the problem important and r
1. What is the problem2. Why is the problem important and r1. What is the problem2. Why is the problem important and r
1. What is the problem2. Why is the problem important and rTatianaMajor22
 
Johns Hopkins Nursing Evidence-Based Practice Appendix B
Johns Hopkins Nursing Evidence-Based Practice Appendix B Johns Hopkins Nursing Evidence-Based Practice Appendix B
Johns Hopkins Nursing Evidence-Based Practice Appendix B TatianaMajor22
 
With 4 sentences 75% of the people will hear and understand you with 8 - 10...
With 4 sentences 75% of the people will hear and understand you   with 8 - 10...With 4 sentences 75% of the people will hear and understand you   with 8 - 10...
With 4 sentences 75% of the people will hear and understand you with 8 - 10...Steve Sulkowski
 
Applying behavioural insights to comms
Applying behavioural insights to commsApplying behavioural insights to comms
Applying behavioural insights to commsCharityComms
 
What if we never agree on a common health information model?
What if we never agree on a common health information model?What if we never agree on a common health information model?
What if we never agree on a common health information model?Koray Atalag
 
Automated health responses
Automated health responses Automated health responses
Automated health responses Austin Powell
 
Assignment Steps Resources Tutorial help on Excel® and Word fun.docx
Assignment Steps Resources Tutorial help on Excel® and Word fun.docxAssignment Steps Resources Tutorial help on Excel® and Word fun.docx
Assignment Steps Resources Tutorial help on Excel® and Word fun.docxlynettearnold46882
 
A method for detection and reduction of stress using EEG
A method for detection and reduction of stress using EEGA method for detection and reduction of stress using EEG
A method for detection and reduction of stress using EEGIRJET Journal
 
1. Week 5 Assignment - Case Study Statistical ForecastingDr.
1. Week 5 Assignment - Case Study Statistical ForecastingDr. 1. Week 5 Assignment - Case Study Statistical ForecastingDr.
1. Week 5 Assignment - Case Study Statistical ForecastingDr. TatianaMajor22
 

Similar to An Intro to Expert Systems (20)

System design to produce safer care culture meassurement and infrastructure f...
System design to produce safer care culture meassurement and infrastructure f...System design to produce safer care culture meassurement and infrastructure f...
System design to produce safer care culture meassurement and infrastructure f...
 
1115 wyatt wheres the science in hi for christchurch nz oct 2015
1115 wyatt wheres the science in hi   for christchurch nz oct 20151115 wyatt wheres the science in hi   for christchurch nz oct 2015
1115 wyatt wheres the science in hi for christchurch nz oct 2015
 
PEShare.co.uk Shared Resource
PEShare.co.uk Shared ResourcePEShare.co.uk Shared Resource
PEShare.co.uk Shared Resource
 
6th Grade Chapter 1
6th Grade  Chapter 16th Grade  Chapter 1
6th Grade Chapter 1
 
I217076
I217076I217076
I217076
 
1. What is the problem2. Why is the problem important and r
1. What is the problem2. Why is the problem important and r1. What is the problem2. Why is the problem important and r
1. What is the problem2. Why is the problem important and r
 
Johns Hopkins Nursing Evidence-Based Practice Appendix B
Johns Hopkins Nursing Evidence-Based Practice Appendix B Johns Hopkins Nursing Evidence-Based Practice Appendix B
Johns Hopkins Nursing Evidence-Based Practice Appendix B
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
With 4 sentences 75% of the people will hear and understand you with 8 - 10...
With 4 sentences 75% of the people will hear and understand you   with 8 - 10...With 4 sentences 75% of the people will hear and understand you   with 8 - 10...
With 4 sentences 75% of the people will hear and understand you with 8 - 10...
 
Applying behavioural insights to comms
Applying behavioural insights to commsApplying behavioural insights to comms
Applying behavioural insights to comms
 
What if we never agree on a common health information model?
What if we never agree on a common health information model?What if we never agree on a common health information model?
What if we never agree on a common health information model?
 
Automated health responses
Automated health responses Automated health responses
Automated health responses
 
S10
S10S10
S10
 
S10
S10S10
S10
 
Assignment Steps Resources Tutorial help on Excel® and Word fun.docx
Assignment Steps Resources Tutorial help on Excel® and Word fun.docxAssignment Steps Resources Tutorial help on Excel® and Word fun.docx
Assignment Steps Resources Tutorial help on Excel® and Word fun.docx
 
Task 5
Task  5Task  5
Task 5
 
Decision through expert system
Decision through expert systemDecision through expert system
Decision through expert system
 
Final_Presentation.pptx
Final_Presentation.pptxFinal_Presentation.pptx
Final_Presentation.pptx
 
A method for detection and reduction of stress using EEG
A method for detection and reduction of stress using EEGA method for detection and reduction of stress using EEG
A method for detection and reduction of stress using EEG
 
1. Week 5 Assignment - Case Study Statistical ForecastingDr.
1. Week 5 Assignment - Case Study Statistical ForecastingDr. 1. Week 5 Assignment - Case Study Statistical ForecastingDr.
1. Week 5 Assignment - Case Study Statistical ForecastingDr.
 

More from Iman Ardekani

Introduction to Quantitative Research Methods
Introduction to Quantitative Research MethodsIntroduction to Quantitative Research Methods
Introduction to Quantitative Research MethodsIman Ardekani
 
Introduction to Research Methods
Introduction to Research Methods Introduction to Research Methods
Introduction to Research Methods Iman Ardekani
 
Artificial Neural Network
Artificial Neural Network Artificial Neural Network
Artificial Neural Network Iman Ardekani
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceIman Ardekani
 
Remote Active Noise Control
Remote Active Noise Control Remote Active Noise Control
Remote Active Noise Control Iman Ardekani
 
Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)Iman Ardekani
 

More from Iman Ardekani (8)

Introduction to Quantitative Research Methods
Introduction to Quantitative Research MethodsIntroduction to Quantitative Research Methods
Introduction to Quantitative Research Methods
 
Introduction to Research Methods
Introduction to Research Methods Introduction to Research Methods
Introduction to Research Methods
 
Artificial Neural Network
Artificial Neural Network Artificial Neural Network
Artificial Neural Network
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Genetic Agorithm
Genetic AgorithmGenetic Agorithm
Genetic Agorithm
 
ANC Tutorial (2013)
ANC Tutorial (2013)ANC Tutorial (2013)
ANC Tutorial (2013)
 
Remote Active Noise Control
Remote Active Noise Control Remote Active Noise Control
Remote Active Noise Control
 
Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)
 

Recently uploaded

LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxpriyankatabhane
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPirithiRaju
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptx
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptxBREEDING FOR RESISTANCE TO BIOTIC STRESS.pptx
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptxPABOLU TEJASREE
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)riyaescorts54
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRlizamodels9
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
GenBio2 - Lesson 1 - Introduction to Genetics.pptx
GenBio2 - Lesson 1 - Introduction to Genetics.pptxGenBio2 - Lesson 1 - Introduction to Genetics.pptx
GenBio2 - Lesson 1 - Introduction to Genetics.pptxBerniceCayabyab1
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trssuser06f238
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPirithiRaju
 

Recently uploaded (20)

LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptx
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptx
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptxBREEDING FOR RESISTANCE TO BIOTIC STRESS.pptx
BREEDING FOR RESISTANCE TO BIOTIC STRESS.pptx
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
GenBio2 - Lesson 1 - Introduction to Genetics.pptx
GenBio2 - Lesson 1 - Introduction to Genetics.pptxGenBio2 - Lesson 1 - Introduction to Genetics.pptx
GenBio2 - Lesson 1 - Introduction to Genetics.pptx
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 tr
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
 

An Intro to Expert Systems

  • 1. An Introduction to Expert Systems Dr Iman Ardekani
  • 3. What is an expert system? By definition, an expert system is a computer program that simulates the thought process of a human expert to solve complex decision problems in a specific domain. Basics Its form? Its Functionality? Its ideal goal? Its responsibility?
  • 4. What is an expert system for? For operating as an interactive system that responds to questions, asks for clarifications, makes recommendations, and generally aid the decision making process. Examples: Computer diagnosis and troubleshooting, medical diagnosis, and even delicate medical surgery Basics
  • 5. How an expert system operates? It uses both facts and heuristics to solve difficult decision problems based knowledge acquired from an expert. Have you tried NHS expert systems? Discover how its operates and explain it in one short paragraph. Basics
  • 6. Why we need it? Because of limitations associated with conventional human decision- making processes, including: • Humans expertise is very scarce. • Humans get tired form physical or mental work load. • Humans have limited working memory. • Humans are unable to comprehend large amount of data quickly. • Humans are slow in recalling information stored in memory. • Humans are subject to deliberate or inadvertent in their action. • Humans can deliberately avoid decision responsibilities. • Humans lie, hide and die. Basics
  • 7. Why we need it? Because of limitation associated with conventional programming and traditional decision-making support, including: • They are algorithmic in nature and depend only on raw machine power. • They do not make use of the effective heuristic approaches used by human expert. • They are not easily adoptable to changing problem environment. • They seek explicit and factual solutions that may not be possible. Basics
  • 8. What are main applications of expert systems? • Interpreting and identifying • Predicting • Diagnosing • Designing and planning • Monitoring • Debugging and testing • Instructing and training • Controlling Applications
  • 9. • The best application candidates for expert systems are those dealing with expert heuristics for solving problems. • Calculation-intensive applications with very exacting requirements are better handled by traditional decision support tools or conventional programming. Applications
  • 10. Hierarchy of expert systems development process Expert System Development Time Tasks Background Concepts Problem selection Knowledge acquisition Knowledge representation Tool selection Development Test Implementation and integration Maintenance
  • 11. What is a successful expert system? The one with making decision process similar to that of human brain. How human brain makes a decision? By using mixture of factual and heuristic knowledge. What is heuristic knowledge? It is composed of intuition, judgment and logical inference. It is an indisputable strength of human. Lets answer the first question more accurately now: Successful expert systems are those combine facts and heuristics and thus merge human knowledge with computer power in solving problems. Expert System Development
  • 12. Expert systems are organized in 3 distinct levels: 1. Knowledge Base consists of problem solving rules, procedures, and relevant data. 2. Working Memory refers to task-specific data for the problem under consideration. 3. Inference Engine is a generic control mechanism that applies the knowledge base to the task-specific data to arrive at some solutions or conclusion. Expert Systems Structure
  • 13. Expert Systems Structure Knowledge Base Inference Engine Problem Data Expertise
  • 14. Expert Systems Structure Human experts or consulting firm User Commercial vendor e.g, VP-Expert Knowledge Engineers Knowledge Base Problem Data Inference Engine
  • 15. Knowledge Base Structure • It constitutes problem solving rules, facts or intuitions that a human expert might use in solving problems in a given problem domain. • It is usually stored in terms of if-then rules. Example IF the patient has headache THEN ask how long he/she has suffered this pain. Expert Systems Structure
  • 16. How to create the knowledge base: 1. The knowledge engineer establishes a dialog with the human expert to elicit knowledge. 2. The knowledge engineer codes the knowledge explicitly in the knowledge base. 3. The expert evaluates the expert system and gives a critique to the knowledge engineer. Expert Systems Structure
  • 17. Try NHS online expert system for an imaginary scenario. Discover the if-then rules for the chosen scenario. Expert Systems Structure
  • 18. General methods of inferencing: 1. Forward Reasoning (data-driven) – reasoning from facts to the conclusions resulting from those facts – best for prognosis, monitoring, and control. 2. Backward Reasoning (query driven) – reasoning in reverse from a hypothesis, a potential conclusion to be proved to the facts that support the hypothesis – best for diagnosis problems. Inferencing Methods
  • 19. Example for forward reasoning Knowledge Base Rules: ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X) Inferencing Methods RulesPriority
  • 20. Let us assume that initially we have a working memory (user data) with Step 1: Inferencing Methods (Season, Spring) (Happy Iman) (Swimming, Iman) (Symptom1, Iman)2 3 x (Season, Spring) (Happy Iman) (Swimming, Iman) (Symptom1, Iman) (Season, Spring) (Happy Iman) (Swimming, Iman) Updated working memory:
  • 21. Step 2 Inferencing Methods Knowledge Base Rules ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X) (Symptom1, Iman) (Season, Spring) (Happy Iman) (Swimming, Iman) (Symptom2, Iman) 3 x 6
  • 22. Step 3 Inferencing Methods (Symptom1, Iman) (Season, Spring) (Happy Iman) (Swimming, Iman) (Symptom2, Iman) x 6 1 (Allergy, Iman) Knowledge Base Rules ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X)
  • 23. Step 4 Inferencing Methods (Symptom1, Iman) (Happy Iman) (Swimming, Iman) (Symptom2, Iman) 4 (Allergy, Iman) Inhaler Needed, Iman 6 Knowledge Base Rules ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X) (Season, Spring) x
  • 24. (Happy Iman) Step 5 Inferencing Methods 5 6 Knowledge Base Rules ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X) (Season, Spring) (Symptom1, Iman) (Swimming, Iman) (Symptom2, Iman) (Allergy, Iman) Inhaler Needed, Iman x
  • 25. (Swimming, Iman) Step 6 Inferencing Methods Knowledge Base Rules ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) OR (Asthma, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Inhaler Needed, X) THEN DEL (Happy X) ⑥ IF (Symptom1, X) THEN DEL (Swimming, X) 6 (Season, Spring) (Symptom1, Iman) (Symptom2, Iman) (Allergy, Iman) Inhaler Needed, Iman
  • 26. Final Working Memory Inferencing Methods (Season, Spring) (Symptom1, Iman) (Symptom2, Iman) (Allergy, Iman) Inhaler Needed, Iman
  • 27. Example for backward reasoning Knowledge Base Rules: ① IF (Symptom1, X) AND (Symptom2, X) THEN ADD (Allergy, X) ② IF (Season, Spring) THEN ADD (Symptom1, Iman) ③ IF (Season, Spring) THEN ADD (Symptom2, Iman) ④ IF (Allergy, X) THEN ADD (Inhaler Needed, X) ⑤ IF (Asthma, X) THEN ADD (Inhaler Needed, X) ⑥ IF (Season, Spring) THEN ADD (Weather, Rainy) ⑦ IF (Year, 2010) THEN ADD (Economy, Bad) Inferencing Methods RulesPriority
  • 28. Let us assume that initially we have a user facts set (user data) with and we want to prove that Iman needed an Inhaler that time. Step 1: Inferencing Methods (Season, Spring) (Year, 2012) Inhaler Needed, Iman (Allergy, Iman) x 5 4
  • 29. Step 2: (we don’t need update the working memory) Step 3: (Season, Spring) is among the initial facts, so it is proven that (Inhaler Need, Iman) Inferencing Methods 1 (Allergy, Iman) (Symptom1, Iman) (Symptom2, Iman) (Symptom1, Iman) (Symptom2, Iman) 2 3 (Season, Spring)
  • 30. Forward Reasoning vs. Backward Reasoning  Whether you use forward or backwards reasoning to solve a problem depends on the properties of the rule set and initial facts.  Sometimes, if you have some particular goal (to test some hypothesis), then backward reasoning will be much more efficient, as you avoid drawing conclusions from irrelevant facts.  However, sometimes backward Reasoning can be very wasteful - there may be many possible ways of trying to prove something, and you may have to try almost all of them before you find one that works. Inferencing Methods
  • 31.  Forward Reasoning may be better if you have lots of things you want to prove, when you have a small set of initial facts; and when there tend to be lots of different rules which allow you to draw the same conclusion  Backward Reasoning may be better if you are trying to prove a single fact, given a large set of initial facts, and where, if you used forward reasoning, lots of rules would be eligible to fire in any cycle. Inferencing Methods

Editor's Notes

  1. http://www.youtube.com/watch?v=RU_Ed9mA_jE
  2. http://www.nhsdirect.nhs.uk/en/CheckSymptoms