Professional Documents
Culture Documents
Introduction to
Expert Systems
KNOWLEDGE BASED
EXPERT SYSTEM
2/17/2019 1
Objectives
2/17/2019 2
Objectives
• Examine earlier expert systems which have given
rise to today’s knowledge-based systems
• Explore the applications of expert systems in use
today
• Examine the structure of a rule-based expert
system
• Learn the difference between procedural and
nonprocedural paradigms
• What are the characteristics of artificial neural
systems
2/17/2019 3
What is an expert system?
• Programs
2/17/2019 6
Expert System Main Components
2/17/2019 7
Basic Functions of Expert Systems
2/17/2019 8
Problem Domain vs. Knowledge
Domain
• In general, the first step in solving any problem is
defining the problem area or domain to be solved.
• An expert’s knowledge is specific to one problem
domain – medicine, finance, science, engineering,
etc.
• The expert’s knowledge about solving specific
problems is called the knowledge domain.
• The problem domain is always a superset of the
knowledge domain.
• Expert system reasons from knowledge domain.
2/17/2019 9
Problem Domain vs. Knowledge Domain
2/17/2019 10
Problem and Knowledge
Domain Relationship
2/17/2019 11
Advantages of Expert Systems
• Increased availability: on suitable computer hardware
• Reduced cost
2/17/2019 14
Representing the Knowledge
Car Failure Diagnosis
IF the selection is 2 "Run-Stable State"
AND the fuel is not burning well
AND the engine running cycle is ok
AND there is no blue gas
AND the advance is bad
THEN
There is a Dirt in the injections/carburetor
or The adjustment of ear and gasoline is
not good, clear injections/carburetor and
adjust the ear.
2/17/2019 15
Knowledge Engineering
2/17/2019 16
Development of an Expert System
2/17/2019 17
The Role of AI
2/17/2019 20
Early Expert Systems
2/17/2019 21
Broad Classes of Expert Systems
2/17/2019 22
Problems with Algorithmic
Solutions
• Conventional computer programs generally solve
problems having algorithmic solutions.
2/17/2019 23
Considerations for Building Expert
Systems
• Can the problem be solved effectively by
conventional programming? (expert systems are
suited for ill-structured problems- problems with no
efficient algorithmic solution)
• Is there a need and a desire for an expert system?
• Is there at least one human expert who is willing to
cooperate?
• Can the expert explain the knowledge to the
knowledge engineer in a way that can understand it.
• Is the problem-solving knowledge mainly heuristic
2/17/2019 and uncertain? 24
Languages, Shells, and Tools
2/17/2019 25
Elements of an Expert System
2/17/2019 26
Elements Continued
2/17/2019 27
Structure of a
Rule-Based Expert System
2/17/2019 28
Production Rules
2/17/2019 30
Inference engine operates on
recognize-act cycle
- conflict resolution: if there are activations then
select the one with the highest priority. Else done.
- act: sequentially perform the actions. Update the
working memory. Remove the fired activations.
- match: Update the agenda by checking if there
are activation or remove activations if there LHS
is no longer satisfied.
- check for halt: if an halt action is performed or
break command given, then done.
2/17/2019 31
General Methods of Inference
• Forward chaining – reasoning from facts to the
conclusions resulting from those facts – best for
prognosis, monitoring, and control.
2/17/2019 32
Production Systems