SlideShare a Scribd company logo
1 of 53
Download to read offline
Expert Systems
OUTLINE
1. Introduction
2. Comparison of a human expert and an expert system
3. Roles of an expert system
4. How are expert systems used?
5. Expert System Structure
6. Characteristics of expert systems
7. Programming vs Knowledge Engineering
8. People Involved in an Expert system project
9. Inference Mechanisms
10. Design of Expert Systems
What is an expert?
ā€¢ Traits that characterize experts are:
ā€¢ They possess specialized knowledge in a certain area
ā€¢ They possess experience in the given area
ā€¢ They can provide, upon elicitation, an explanation of their
decisions
ā€¢ The have a skill set that enables them to translate the
specialized knowledge gained through experience into
solutions.
ā€¢ Examples
skin specialist, heart specialist, car mechanic, architect, software
designer.
What is an expert system?
ā€¢ An expert system is a computer program that represents and reasons
with knowledge of some specialist subject with a view to solving
problems or giving advice.
ā€¢ a computer system that emulates the decision-making ability of a
human expert in a restricted domain
ā€¢ An intelligent computer program that uses knowledge and inference
procedures to solve problems that are difficult enough to require
significant human expertise for their solutions.
ā€¢ The expert systems model
ā€¢ Knowledge
ā€¢ reasoning
Examples
Broad Classes of Expert Systems
Comparison of a human expert and an expert
system
Roles of an expert system
ā€¢An expert system may take two main roles, relative to
the human expert.
ā€¢replace the expert or
ā€¢assist the expert
How are expert systems used?
Appropriate domains for expert systems
Expert System Structure
ā€¢Expert has the following:
ā€¢Focused area of expertise
ā€¢Specialized Knowledge (Long-term Memory, LTM)
ā€¢Case facts (Short-term Memory, STM)
ā€¢ Reasons with these to form new knowledge
ā€¢Solves the given problem
Human Expert vs Expert Systems
Expert System Structure
Knowledge Base
ā€¢ The knowledge base is the part of an expert system that contains the
domain knowledge, i.e
ā€¢ Problem facts, rules
ā€¢ Concepts
ā€¢ Relationships
ā€¢ the power of an ES lies to a large extent in its richness of knowledge.
ā€¢ the prime roles of the expert system designer is to act as a knowledge
engineer.
ā€¢ overcome the knowledge acquisition bottleneck
ā€¢ find an effective way to get information from the expert and
ā€¢ encode it in the knowledge base,
Working memory
ā€¢ The working memory is the ā€˜part of the expert system that contains the
problem facts that are discovered during the sessionā€™
ā€¢ One session in the working memory corresponds to one consultation.
ā€¢ During a consultation:
ā€¢ User presents some facts about the situation.
ā€¢ These are stored in the working memory.
ā€¢ Using these and the knowledge stored in the knowledge base, new information
is inferred and also added to the working memory.
Inference Engine
ā€¢ The inference engine is the processor in an expert system that matches the
facts contained in the working memory with the domain knowledge
contained in the knowledge base, to draw conclusions about the problem.
ā€¢ It works with the knowledge base and the working memory, and draws on
both to add new facts to the working memory.
ā€¢ If the knowledge of an ES is represented in the form of IF-THEN rules, the
Inference Engine has the following strategy:
ā€¢ Match given facts in working memory to the premises of the rules in the knowledge
base,
ā€¢ if match found, ā€˜fireā€™ the conclusion of the rule, i.e. add the conclusion to the
working memory.
ā€¢ Do this repeatedly, while new facts can be added, until you come up with the desired
conclusion.
Expert System Example: Family
Expert system example: raining
Explanation facility
ā€¢ The explanation facility is a module of an expert system that allows
transparency of operation, by providing an explanation of how it
reached the conclusion.
ā€¢ In the family example above, how does the expert system draw the
conclusion that Ali likes Ahmed?
Characteristics of expert systems
Characteristics of expert systems
Characteristics of expert systems
Programming vs. knowledge Engineering
ā€¢ Conventional programming is a sequential, three step process: Design,
Code, Debug.
ā€¢ Knowledge engineering, which is the process of building an expert
system, also involves assessment, knowledge acquisition, design,
testing, documentation and maintenance.
ā€¢ key differences between the two programming paradigms.
ā€¢ Conventional programming focuses on solution,
ā€¢ ES programming focuses on problem.
ā€¢ An ES is designed on the philosophy that if we have the right
knowledge base, the solution will be derived from that data using a generic
reasoning mechanism.
ā€¢ Once framework is made, addition of knowledge dictates growth of ES.
People involved in an expert system project
Inference Mechanisms
ā€¢ The two formal inference mechanisms;
ā€¢ Forward Chaining
ā€¢ Backward chaining
Forward Chaining Example: Doctor
ā€¢ How a doctor goes about diagnosing a patient.
ā€¢ He asks the patient for symptoms and
ā€¢ then infers diagnosis from symptoms.
ā€¢ Forward chaining is an ā€œinference strategy that begins with a set of
known facts, derives new facts using rules whose premises match the
known facts, and continues this process until a goal sate is reached or
until no further rules have premises that match the known or derived
factsā€ .
ā€¢ It is a data-driven approach.
Forward Chaining Approach
1. Add facts to working memory (WM)
2. Take each rule in turn and check to see if any of its premises match
the facts in the WM
3. When matches found for all premises of a rule, place the conclusion
of the rule in WM.
4. Repeat this process until no more facts can be added. Each repetition
of the process is called a pass.
Doctor Example (Forward Chaining)
Doctor Example (forward chaining)
Doctor example (forward chaining)
Doctor Example (forward chaining)
Third Pass
Issues in forward chaining
ā€¢ Undirected search
ā€¢ The forward chaining inference engine infers all possible facts from the given
facts.
ā€¢ It has no way of distinguishing between important and unimportant facts.
ā€¢ Therefore, equal time spent on trivial evidence as well as crucial facts.
ā€¢ Conflict resolution
ā€¢ what to do when the premises of two rules match the given facts. Which
should be fired first?
ā€¢ If we fire both, they may add conflicting facts,
Conflict Resolution Strategies
ā€¢ Fire first rule in sequence (rule ordering in list).
ā€¢ Assign rule priorities (rule ordering by importance).
ā€¢ More specific rules (more premises) are preferred over general rules.
ā€¢ Prefer rules whose premises were added more recently to WM
(timestamping).
ā€¢ Parallel Strategy (view-points).
Backward Chaining Approach
1. Start with the goal.
2. Goal may be in WM initially, so check and you are done if found!
3. If not, then search for goal in the THEN part of the rules (match
conclusions, rather than premises). This type of rule is called goal rule.
4. Check to see if the goal ruleā€™s premises are listed in the working memory.
5. Premises not listed become sub-goals to prove.
6. Process continues in a recursive fashion until a premise is found that is
not supported by a rule, i.e. a premise is called a primitive, if it cannot be
concluded by any rule
7. When a primitive is found, ask user for information about it. Back track
and use this information to prove sub-goals and subsequently the goal.
ā€¢ Backward chaining is like depth first search.
Backward chaining example- Doctor
ā€¢ Rules
Forward vs. backward chaining
ā€¢ Backward chaining is more focused and tries to avoid exploring
unnecessary paths of reasoning.
ā€¢ Forward chaining is like an exhaustive search.
Design of Expert Systems
ā€¢ The general stages of the expert system development lifecycle or
ESDLC are
ļ¶Feasibility study
ļ¶Rapid prototyping
ļ¶Alpha system (in-house verification)
ļ¶Beta system (tested by users)
ļ¶Maintenance and evolution
Linear Model of ES Development
ā€¢ A linear sequence of steps is applied repeatedly in an iterative
fashion to develop the ES.
ā€¢ The main phases of the linear model sequence are
ļ¶ Planning
ļ¶ Knowledge acquisition and analysis
ļ¶ Knowledge design
ļ¶ Code
ļ¶ Knowledge verification
ļ¶ System evaluation
Planning phase
ā€¢This phase involves the following steps
o Feasibility assessment
o Resource allocation
oTask phasing and scheduling
oRequirements analysis
Knowledge Acquisition
ā€¢ knowledge engineer works with the domain expert to acquire, organize and
analyze the domain knowledge for the ES.
ā€¢ Knowledge acquisition is the bottleneck in the construction of expert systems.
ā€¢ The main steps in this phase are
ā€¢ Knowledge acquisition from expert
ā€¢ Define knowledge acquisition strategy (consider various options)
ā€¢ Identify concrete knowledge elements
ā€¢ Group and classify knowledge. Develop hierarchical representation
ā€¢ Identify knowledge source, i.e. expert in the domain
ā€¢ Identify potential sources (human expert, expert handbooks/ manuals),
ā€¢ Rank by importance
ā€¢ Rank by availability
ā€¢ Select expert/panel of experts
ā€¢ If more than one expert has to be consulted, consider a blackboard system, where more than
one knowledge source (kept partitioned), interact through an interface called a Blackboard
Knowledge Acquisition Techniques
ā€¢ Knowledge elicitation by interview
ā€¢ Brainstorming session with one or more experts. Try to introduce
some structure to this session by defining the problem at hand,
prompting for ideas and looking for converging lines of thought.
ā€¢ Electronic brainstorming
ā€¢ On-site observation
ā€¢ Documented organizational expertise, e.g. troubleshooting manuals
Knowledge Elicitation
ā€¢ Getting knowledge from the expert is called knowledge elicitation vs. the
broader term knowledge acquisition.
ā€¢ Elicitation methods may be broadly divided into:
ā€¢ Direct Methods
ā€¢ Interviews
ā€¢ Very good at initial stages
ā€¢ Reach a balance between structured (multiple choice, rating scale) and un-
structured interviewing.
ā€¢ Record interviews (transcribe or tape)
ā€¢ Mix of open and close ended questions
ā€¢ Informal discussions (gently control digression, but do not offend expert by
frequent interruption)
ā€¢ Indirect methods
ā€¢ Questionnaire
Problems In Knowledge Elicitation
ā€¢ Expert may not be able to effectively articulate his/her knowledge.
ā€¢ Expert may not provide relevant information.
ā€¢ Expert may provide incomplete knowledge
ā€¢ Expert may provide inconsistent or incorrect knowledge
Knowledge Analysis
ā€¢ The goal of knowledge analysis is to analyze and structure the knowledge
gained during the knowledge acquisition phase.
ā€¢ The key steps to be followed during this stage are
ā€¢ Identify specific knowledge elements, at the level of concepts, entities, etc.
ā€¢ From the notes taken during the interview sessions, extract specific knowledge
ā€¢ Identify strategies (as a list of points)
ā€¢ Translate strategies to rules
ā€¢ Identify heuristics
ā€¢ Identify concepts
ā€¢ Represent concepts and their relationships using some visual mechanism like
cognitive maps
Cognitive Map example
Inference Networks
ā€¢ Inference networks encode the knowledge of rules and strategies.
Flowcharts
ā€¢ Flow charts also capture knowledge of strategies.
ā€¢ They may be used to represent a sequence of steps that depict the
order of application of rule sets.
ā€¢ Try making a flow chart that depicts the following strategy.
ā€¢ The doctor begins by asking symptoms.
ā€¢ If they are not indicative of some disease the doctor will not ask for
specific tests.
ā€¢ If it is symptomatic of two or three potential diseases, the doctor
decides which disease to check for first and rules out potential diagnoses in
some heuristic sequence
Knowledge Design
ā€¢ In this phase, we have
Code
ā€¢ This phase occupies the least time in the ESDLC.
ā€¢ It involves coding, preparing test cases, commenting code, developing
userā€™s manual and installation guide.
ā€¢ At the end of this phase the system is ready to be tested.
ā€¢ CLIPS is an expert system tool which provides a complete
environment for the construction of rule and object based expert
systems. Download CLIPS for windows (CLIPSWin.zip) from:
http://www.ghg.net/clips/download/executables/pc/. Also download
the complete documentation including the programming guide from:
http://www.ghg.net/clips/download/documentation/
Programming Without and With AI
Evaluation

More Related Content

What's hot

Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
Ā 
KBS Lecture Notes
KBS Lecture NotesKBS Lecture Notes
KBS Lecture Notesbutest
Ā 
Lecture 16 memory bounded search
Lecture 16 memory bounded searchLecture 16 memory bounded search
Lecture 16 memory bounded searchHema Kashyap
Ā 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
Ā 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
Ā 
Problem Solving
Problem Solving Problem Solving
Problem Solving Amar Jukuntla
Ā 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligencesandeep54552
Ā 
Expert System Development.pptx
Expert System Development.pptxExpert System Development.pptx
Expert System Development.pptxvrajESHsHaH33
Ā 
Logics for non monotonic reasoning-ai
Logics for non monotonic reasoning-aiLogics for non monotonic reasoning-ai
Logics for non monotonic reasoning-aiShaishavShah8
Ā 
Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"Aditya Sarkar
Ā 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production systemHema Kashyap
Ā 
Heuristic search
Heuristic searchHeuristic search
Heuristic searchNivethaS35
Ā 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert systempremdeshmane
Ā 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms Syed Ahmed
Ā 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithmMegha Sharma
Ā 

What's hot (20)

AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
Ā 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
Ā 
KBS Lecture Notes
KBS Lecture NotesKBS Lecture Notes
KBS Lecture Notes
Ā 
Lecture 16 memory bounded search
Lecture 16 memory bounded searchLecture 16 memory bounded search
Lecture 16 memory bounded search
Ā 
Planning
Planning Planning
Planning
Ā 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
Ā 
Expert System
Expert SystemExpert System
Expert System
Ā 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
Ā 
Problem Solving
Problem Solving Problem Solving
Problem Solving
Ā 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
Ā 
Expert System Development.pptx
Expert System Development.pptxExpert System Development.pptx
Expert System Development.pptx
Ā 
Logics for non monotonic reasoning-ai
Logics for non monotonic reasoning-aiLogics for non monotonic reasoning-ai
Logics for non monotonic reasoning-ai
Ā 
Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"
Ā 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production system
Ā 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
Ā 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
Ā 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
Ā 
Rule Based System
Rule Based SystemRule Based System
Rule Based System
Ā 
Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
Ā 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Ā 

Similar to Lec 4 expert systems

Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Lakshya Gupta
Ā 
Chapter 4.ppt mizan Tepi university student population
Chapter 4.ppt mizan Tepi university student populationChapter 4.ppt mizan Tepi university student population
Chapter 4.ppt mizan Tepi university student populationMalichaGalma
Ā 
LESSON 8 EXPERT SYSTEMS BASICS.ppt
LESSON 8 EXPERT SYSTEMS BASICS.pptLESSON 8 EXPERT SYSTEMS BASICS.ppt
LESSON 8 EXPERT SYSTEMS BASICS.pptJoyleenChemutai1
Ā 
5 ai lecture-05 expert system
5  ai lecture-05 expert system5  ai lecture-05 expert system
5 ai lecture-05 expert systemAhmad sohail Kakar
Ā 
Ai lecture 05 expert system
Ai lecture 05 expert systemAi lecture 05 expert system
Ai lecture 05 expert systemAhmad sohail Kakar
Ā 
Expert System in Artificial Intelligence
Expert System in Artificial IntelligenceExpert System in Artificial Intelligence
Expert System in Artificial Intelligences7118080008
Ā 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1Ahmad Hussein
Ā 
Lecture_8.ppt
Lecture_8.pptLecture_8.ppt
Lecture_8.pptadil104135
Ā 
Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5DigiGurukul
Ā 
Artificial Intelligence Approaches
Artificial Intelligence  ApproachesArtificial Intelligence  Approaches
Artificial Intelligence ApproachesJincy Nelson
Ā 
AI_Unit-4_Learning.pptx
AI_Unit-4_Learning.pptxAI_Unit-4_Learning.pptx
AI_Unit-4_Learning.pptxMohammadAsim91
Ā 
1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.pptRISHI643981
Ā 
BI UNIT V CHAPTER 12 Artificial Intelligence and Expert System.pptx
BI UNIT V CHAPTER 12   Artificial Intelligence and Expert System.pptxBI UNIT V CHAPTER 12   Artificial Intelligence and Expert System.pptx
BI UNIT V CHAPTER 12 Artificial Intelligence and Expert System.pptxTGCbsahil
Ā 
Evolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.comEvolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.comSimon Hughes
Ā 
4_6_Expert Systems_1.pptx
4_6_Expert Systems_1.pptx4_6_Expert Systems_1.pptx
4_6_Expert Systems_1.pptxshwetadubey244305
Ā 
4.component of expert system
4.component of expert system4.component of expert system
4.component of expert systemMdFazleRabbi18
Ā 

Similar to Lec 4 expert systems (20)

Expert system (unit 1 & 2)
Expert system (unit 1 & 2)Expert system (unit 1 & 2)
Expert system (unit 1 & 2)
Ā 
Expert system
Expert systemExpert system
Expert system
Ā 
Chapter 4.ppt mizan Tepi university student population
Chapter 4.ppt mizan Tepi university student populationChapter 4.ppt mizan Tepi university student population
Chapter 4.ppt mizan Tepi university student population
Ā 
LESSON 8 EXPERT SYSTEMS BASICS.ppt
LESSON 8 EXPERT SYSTEMS BASICS.pptLESSON 8 EXPERT SYSTEMS BASICS.ppt
LESSON 8 EXPERT SYSTEMS BASICS.ppt
Ā 
5 ai lecture-05 expert system
5  ai lecture-05 expert system5  ai lecture-05 expert system
5 ai lecture-05 expert system
Ā 
Ai lecture 05 expert system
Ai lecture 05 expert systemAi lecture 05 expert system
Ai lecture 05 expert system
Ā 
Expert System in Artificial Intelligence
Expert System in Artificial IntelligenceExpert System in Artificial Intelligence
Expert System in Artificial Intelligence
Ā 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1
Ā 
MIS Unit-2.pptx
MIS Unit-2.pptxMIS Unit-2.pptx
MIS Unit-2.pptx
Ā 
Lecture_8.ppt
Lecture_8.pptLecture_8.ppt
Lecture_8.ppt
Ā 
Sh ch01
Sh ch01Sh ch01
Sh ch01
Ā 
Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5Artificial Intelligence Notes Unit 5
Artificial Intelligence Notes Unit 5
Ā 
Artificial Intelligence Approaches
Artificial Intelligence  ApproachesArtificial Intelligence  Approaches
Artificial Intelligence Approaches
Ā 
AI_Unit-4_Learning.pptx
AI_Unit-4_Learning.pptxAI_Unit-4_Learning.pptx
AI_Unit-4_Learning.pptx
Ā 
Expert systems
Expert systemsExpert systems
Expert systems
Ā 
1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.ppt
Ā 
BI UNIT V CHAPTER 12 Artificial Intelligence and Expert System.pptx
BI UNIT V CHAPTER 12   Artificial Intelligence and Expert System.pptxBI UNIT V CHAPTER 12   Artificial Intelligence and Expert System.pptx
BI UNIT V CHAPTER 12 Artificial Intelligence and Expert System.pptx
Ā 
Evolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.comEvolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.com
Ā 
4_6_Expert Systems_1.pptx
4_6_Expert Systems_1.pptx4_6_Expert Systems_1.pptx
4_6_Expert Systems_1.pptx
Ā 
4.component of expert system
4.component of expert system4.component of expert system
4.component of expert system
Ā 

More from Eyob Sisay

Lec 9 conclusion
Lec 9  conclusionLec 9  conclusion
Lec 9 conclusionEyob Sisay
Ā 
Lec 8 ai implementation
Lec 8  ai implementationLec 8  ai implementation
Lec 8 ai implementationEyob Sisay
Ā 
Lec 7 genetic algorithms
Lec 7 genetic algorithmsLec 7 genetic algorithms
Lec 7 genetic algorithmsEyob Sisay
Ā 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learningEyob Sisay
Ā 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertaintyEyob Sisay
Ā 
Lec 3 1 reasoning
Lec 3  1 reasoningLec 3  1 reasoning
Lec 3 1 reasoningEyob Sisay
Ā 
Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inferenceEyob Sisay
Ā 
Lec 2 1 informed search
Lec 2 1  informed searchLec 2 1  informed search
Lec 2 1 informed searchEyob Sisay
Ā 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agentsEyob Sisay
Ā 
Lec 0 about the course
Lec 0 about the courseLec 0 about the course
Lec 0 about the courseEyob Sisay
Ā 
Lec 1 introduction
Lec 1  introductionLec 1  introduction
Lec 1 introductionEyob Sisay
Ā 
Security and Privacy Challenges in Cloud Computing Environments
Security and Privacy Challenges in Cloud Computing EnvironmentsSecurity and Privacy Challenges in Cloud Computing Environments
Security and Privacy Challenges in Cloud Computing EnvironmentsEyob Sisay
Ā 
A Survey on Wireless Mesh Networks (WMN)
A Survey on Wireless Mesh Networks (WMN)A Survey on Wireless Mesh Networks (WMN)
A Survey on Wireless Mesh Networks (WMN)Eyob Sisay
Ā 

More from Eyob Sisay (13)

Lec 9 conclusion
Lec 9  conclusionLec 9  conclusion
Lec 9 conclusion
Ā 
Lec 8 ai implementation
Lec 8  ai implementationLec 8  ai implementation
Lec 8 ai implementation
Ā 
Lec 7 genetic algorithms
Lec 7 genetic algorithmsLec 7 genetic algorithms
Lec 7 genetic algorithms
Ā 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learning
Ā 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertainty
Ā 
Lec 3 1 reasoning
Lec 3  1 reasoningLec 3  1 reasoning
Lec 3 1 reasoning
Ā 
Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inference
Ā 
Lec 2 1 informed search
Lec 2 1  informed searchLec 2 1  informed search
Lec 2 1 informed search
Ā 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agents
Ā 
Lec 0 about the course
Lec 0 about the courseLec 0 about the course
Lec 0 about the course
Ā 
Lec 1 introduction
Lec 1  introductionLec 1  introduction
Lec 1 introduction
Ā 
Security and Privacy Challenges in Cloud Computing Environments
Security and Privacy Challenges in Cloud Computing EnvironmentsSecurity and Privacy Challenges in Cloud Computing Environments
Security and Privacy Challenges in Cloud Computing Environments
Ā 
A Survey on Wireless Mesh Networks (WMN)
A Survey on Wireless Mesh Networks (WMN)A Survey on Wireless Mesh Networks (WMN)
A Survey on Wireless Mesh Networks (WMN)
Ā 

Recently uploaded

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
Ā 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Ā 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
Ā 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
Ā 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
Ā 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
Ā 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
Ā 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
Ā 
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”soniya singh
Ā 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
Ā 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
Ā 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
Ā 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
Ā 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
Ā 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
Ā 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
Ā 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
Ā 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
Ā 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
Ā 

Recently uploaded (20)

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
Ā 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Ā 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
Ā 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
Ā 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Ā 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
Ā 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Ā 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Ā 
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Model Call Girl in Narela Delhi reach out to us at šŸ”8264348440šŸ”
Ā 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Ā 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Ā 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
Ā 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
Ā 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
Ā 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
Ā 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Ā 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Ā 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
Ā 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
Ā 

Lec 4 expert systems

  • 2. OUTLINE 1. Introduction 2. Comparison of a human expert and an expert system 3. Roles of an expert system 4. How are expert systems used? 5. Expert System Structure 6. Characteristics of expert systems 7. Programming vs Knowledge Engineering 8. People Involved in an Expert system project 9. Inference Mechanisms 10. Design of Expert Systems
  • 3. What is an expert? ā€¢ Traits that characterize experts are: ā€¢ They possess specialized knowledge in a certain area ā€¢ They possess experience in the given area ā€¢ They can provide, upon elicitation, an explanation of their decisions ā€¢ The have a skill set that enables them to translate the specialized knowledge gained through experience into solutions. ā€¢ Examples skin specialist, heart specialist, car mechanic, architect, software designer.
  • 4. What is an expert system? ā€¢ An expert system is a computer program that represents and reasons with knowledge of some specialist subject with a view to solving problems or giving advice. ā€¢ a computer system that emulates the decision-making ability of a human expert in a restricted domain ā€¢ An intelligent computer program that uses knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solutions. ā€¢ The expert systems model ā€¢ Knowledge ā€¢ reasoning
  • 6. Broad Classes of Expert Systems
  • 7. Comparison of a human expert and an expert system
  • 8. Roles of an expert system ā€¢An expert system may take two main roles, relative to the human expert. ā€¢replace the expert or ā€¢assist the expert
  • 9. How are expert systems used?
  • 10. Appropriate domains for expert systems
  • 11. Expert System Structure ā€¢Expert has the following: ā€¢Focused area of expertise ā€¢Specialized Knowledge (Long-term Memory, LTM) ā€¢Case facts (Short-term Memory, STM) ā€¢ Reasons with these to form new knowledge ā€¢Solves the given problem
  • 12. Human Expert vs Expert Systems
  • 14. Knowledge Base ā€¢ The knowledge base is the part of an expert system that contains the domain knowledge, i.e ā€¢ Problem facts, rules ā€¢ Concepts ā€¢ Relationships ā€¢ the power of an ES lies to a large extent in its richness of knowledge. ā€¢ the prime roles of the expert system designer is to act as a knowledge engineer. ā€¢ overcome the knowledge acquisition bottleneck ā€¢ find an effective way to get information from the expert and ā€¢ encode it in the knowledge base,
  • 15. Working memory ā€¢ The working memory is the ā€˜part of the expert system that contains the problem facts that are discovered during the sessionā€™ ā€¢ One session in the working memory corresponds to one consultation. ā€¢ During a consultation: ā€¢ User presents some facts about the situation. ā€¢ These are stored in the working memory. ā€¢ Using these and the knowledge stored in the knowledge base, new information is inferred and also added to the working memory.
  • 16. Inference Engine ā€¢ The inference engine is the processor in an expert system that matches the facts contained in the working memory with the domain knowledge contained in the knowledge base, to draw conclusions about the problem. ā€¢ It works with the knowledge base and the working memory, and draws on both to add new facts to the working memory. ā€¢ If the knowledge of an ES is represented in the form of IF-THEN rules, the Inference Engine has the following strategy: ā€¢ Match given facts in working memory to the premises of the rules in the knowledge base, ā€¢ if match found, ā€˜fireā€™ the conclusion of the rule, i.e. add the conclusion to the working memory. ā€¢ Do this repeatedly, while new facts can be added, until you come up with the desired conclusion.
  • 19. Explanation facility ā€¢ The explanation facility is a module of an expert system that allows transparency of operation, by providing an explanation of how it reached the conclusion. ā€¢ In the family example above, how does the expert system draw the conclusion that Ali likes Ahmed?
  • 23. Programming vs. knowledge Engineering ā€¢ Conventional programming is a sequential, three step process: Design, Code, Debug. ā€¢ Knowledge engineering, which is the process of building an expert system, also involves assessment, knowledge acquisition, design, testing, documentation and maintenance. ā€¢ key differences between the two programming paradigms. ā€¢ Conventional programming focuses on solution, ā€¢ ES programming focuses on problem. ā€¢ An ES is designed on the philosophy that if we have the right knowledge base, the solution will be derived from that data using a generic reasoning mechanism. ā€¢ Once framework is made, addition of knowledge dictates growth of ES.
  • 24. People involved in an expert system project
  • 25. Inference Mechanisms ā€¢ The two formal inference mechanisms; ā€¢ Forward Chaining ā€¢ Backward chaining
  • 26. Forward Chaining Example: Doctor ā€¢ How a doctor goes about diagnosing a patient. ā€¢ He asks the patient for symptoms and ā€¢ then infers diagnosis from symptoms. ā€¢ Forward chaining is an ā€œinference strategy that begins with a set of known facts, derives new facts using rules whose premises match the known facts, and continues this process until a goal sate is reached or until no further rules have premises that match the known or derived factsā€ . ā€¢ It is a data-driven approach.
  • 27. Forward Chaining Approach 1. Add facts to working memory (WM) 2. Take each rule in turn and check to see if any of its premises match the facts in the WM 3. When matches found for all premises of a rule, place the conclusion of the rule in WM. 4. Repeat this process until no more facts can be added. Each repetition of the process is called a pass.
  • 31. Doctor Example (forward chaining) Third Pass
  • 32. Issues in forward chaining ā€¢ Undirected search ā€¢ The forward chaining inference engine infers all possible facts from the given facts. ā€¢ It has no way of distinguishing between important and unimportant facts. ā€¢ Therefore, equal time spent on trivial evidence as well as crucial facts. ā€¢ Conflict resolution ā€¢ what to do when the premises of two rules match the given facts. Which should be fired first? ā€¢ If we fire both, they may add conflicting facts,
  • 33. Conflict Resolution Strategies ā€¢ Fire first rule in sequence (rule ordering in list). ā€¢ Assign rule priorities (rule ordering by importance). ā€¢ More specific rules (more premises) are preferred over general rules. ā€¢ Prefer rules whose premises were added more recently to WM (timestamping). ā€¢ Parallel Strategy (view-points).
  • 34. Backward Chaining Approach 1. Start with the goal. 2. Goal may be in WM initially, so check and you are done if found! 3. If not, then search for goal in the THEN part of the rules (match conclusions, rather than premises). This type of rule is called goal rule. 4. Check to see if the goal ruleā€™s premises are listed in the working memory. 5. Premises not listed become sub-goals to prove. 6. Process continues in a recursive fashion until a premise is found that is not supported by a rule, i.e. a premise is called a primitive, if it cannot be concluded by any rule 7. When a primitive is found, ask user for information about it. Back track and use this information to prove sub-goals and subsequently the goal. ā€¢ Backward chaining is like depth first search.
  • 35. Backward chaining example- Doctor ā€¢ Rules
  • 36.
  • 37.
  • 38. Forward vs. backward chaining ā€¢ Backward chaining is more focused and tries to avoid exploring unnecessary paths of reasoning. ā€¢ Forward chaining is like an exhaustive search.
  • 39. Design of Expert Systems ā€¢ The general stages of the expert system development lifecycle or ESDLC are ļ¶Feasibility study ļ¶Rapid prototyping ļ¶Alpha system (in-house verification) ļ¶Beta system (tested by users) ļ¶Maintenance and evolution
  • 40. Linear Model of ES Development ā€¢ A linear sequence of steps is applied repeatedly in an iterative fashion to develop the ES. ā€¢ The main phases of the linear model sequence are ļ¶ Planning ļ¶ Knowledge acquisition and analysis ļ¶ Knowledge design ļ¶ Code ļ¶ Knowledge verification ļ¶ System evaluation
  • 41. Planning phase ā€¢This phase involves the following steps o Feasibility assessment o Resource allocation oTask phasing and scheduling oRequirements analysis
  • 42. Knowledge Acquisition ā€¢ knowledge engineer works with the domain expert to acquire, organize and analyze the domain knowledge for the ES. ā€¢ Knowledge acquisition is the bottleneck in the construction of expert systems. ā€¢ The main steps in this phase are ā€¢ Knowledge acquisition from expert ā€¢ Define knowledge acquisition strategy (consider various options) ā€¢ Identify concrete knowledge elements ā€¢ Group and classify knowledge. Develop hierarchical representation ā€¢ Identify knowledge source, i.e. expert in the domain ā€¢ Identify potential sources (human expert, expert handbooks/ manuals), ā€¢ Rank by importance ā€¢ Rank by availability ā€¢ Select expert/panel of experts ā€¢ If more than one expert has to be consulted, consider a blackboard system, where more than one knowledge source (kept partitioned), interact through an interface called a Blackboard
  • 43. Knowledge Acquisition Techniques ā€¢ Knowledge elicitation by interview ā€¢ Brainstorming session with one or more experts. Try to introduce some structure to this session by defining the problem at hand, prompting for ideas and looking for converging lines of thought. ā€¢ Electronic brainstorming ā€¢ On-site observation ā€¢ Documented organizational expertise, e.g. troubleshooting manuals
  • 44. Knowledge Elicitation ā€¢ Getting knowledge from the expert is called knowledge elicitation vs. the broader term knowledge acquisition. ā€¢ Elicitation methods may be broadly divided into: ā€¢ Direct Methods ā€¢ Interviews ā€¢ Very good at initial stages ā€¢ Reach a balance between structured (multiple choice, rating scale) and un- structured interviewing. ā€¢ Record interviews (transcribe or tape) ā€¢ Mix of open and close ended questions ā€¢ Informal discussions (gently control digression, but do not offend expert by frequent interruption) ā€¢ Indirect methods ā€¢ Questionnaire
  • 45. Problems In Knowledge Elicitation ā€¢ Expert may not be able to effectively articulate his/her knowledge. ā€¢ Expert may not provide relevant information. ā€¢ Expert may provide incomplete knowledge ā€¢ Expert may provide inconsistent or incorrect knowledge
  • 46. Knowledge Analysis ā€¢ The goal of knowledge analysis is to analyze and structure the knowledge gained during the knowledge acquisition phase. ā€¢ The key steps to be followed during this stage are ā€¢ Identify specific knowledge elements, at the level of concepts, entities, etc. ā€¢ From the notes taken during the interview sessions, extract specific knowledge ā€¢ Identify strategies (as a list of points) ā€¢ Translate strategies to rules ā€¢ Identify heuristics ā€¢ Identify concepts ā€¢ Represent concepts and their relationships using some visual mechanism like cognitive maps
  • 48. Inference Networks ā€¢ Inference networks encode the knowledge of rules and strategies.
  • 49. Flowcharts ā€¢ Flow charts also capture knowledge of strategies. ā€¢ They may be used to represent a sequence of steps that depict the order of application of rule sets. ā€¢ Try making a flow chart that depicts the following strategy. ā€¢ The doctor begins by asking symptoms. ā€¢ If they are not indicative of some disease the doctor will not ask for specific tests. ā€¢ If it is symptomatic of two or three potential diseases, the doctor decides which disease to check for first and rules out potential diagnoses in some heuristic sequence
  • 50. Knowledge Design ā€¢ In this phase, we have
  • 51. Code ā€¢ This phase occupies the least time in the ESDLC. ā€¢ It involves coding, preparing test cases, commenting code, developing userā€™s manual and installation guide. ā€¢ At the end of this phase the system is ready to be tested. ā€¢ CLIPS is an expert system tool which provides a complete environment for the construction of rule and object based expert systems. Download CLIPS for windows (CLIPSWin.zip) from: http://www.ghg.net/clips/download/executables/pc/. Also download the complete documentation including the programming guide from: http://www.ghg.net/clips/download/documentation/