Professional Documents
Culture Documents
Systems
Dr Afaf Mousa
Course Objectives
?
What is an expert system?
Expertise:
Exhibit expert performance
Have high level of skill
Symbolic reasoning
Represent knowledge symbolically
Depth
Handle difficult problem domains
Use complex rules
Self-knowledge
Examine its own reasoning
Explain its operation
Expert System Advantages
economical
lower cost per user
availability
accessible anytime, almost anywhere
response time
often faster than human experts
reliability
can be greater than that of human experts
no distraction, fatigue, emotional involvement, …
explanation
reasoning steps that lead to a particular conclusion
Expert system Problems
limited knowledge
“shallow” knowledge
no “deep” understanding of the concepts and their relationships
no “common-sense” knowledge
no knowledge from possibly relevant related domains
“closed world”
the ES knows only what it has been explicitly “told”
it doesn’t know what it doesn’t know
mechanical reasoning
may not have or select the most appropriate method for a particular
problem
some “easy” problems are computationally very expensive
lack of trust
users may not want to leave critical decisions to machines
Expert System Main Components
Expert Systems:
Human Expertise
Knowledge base –
User
Expertise
Knowledge Base
User Interface
Facts / Information
Inference Engine
Expertise
Developer
HOW TO BUILD AN EXPERT SYSTEM
?
1. The knowledge engineer establishes
a dialog with the human expert.
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
Representing knowledge
21
Structure of a Rule-Based Expert System
Knowledge Base
Knowledge
Acquisition
Facility
User Interface
Explanation
Facility
Working Memory
Drawing inferences from rules
Forward chaining
Backward chaining
Forward chaining
Forward chaining
(data-driven)– reasoning from facts to the conclusions,
26
General Methods of Inferencing
Consider the following knowledge base:
Rule1
If A and C then F
Rule 2 WM:A,B, E, G, D
If A and E then G
Rule 3
KB:
A and C then F Agenda
If B then E A and E then G B then E
Rule 4 B then E A and E then G
G then D G then D
If G then D
Problem: prove that if A&B is true then D is true
27
EXPERT SYSTEM vs
CONVENTIONAL SYSTEM
?