Introduction To Expert Systems
Introduction To Expert Systems
Expert Systems
Objectives
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
3
What is an expert system?
4
Fig 1.1 Areas of Artificial
Intelligence
5
Expert system technology
may include:
• Special expert system languages – CLIPS
• Programs
6
Expert System Main Components
7
Figure 1.2 Basic Functions
of Expert Systems
8
Problem Domain vs. Knowledge
Domain
• 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.
9
Figure 1.3 Problem and
Knowledge Domain Relationship
10
Advantages of Expert Systems
• Increased availability
• Reduced cost
• Reduced danger
• Performance
• Multiple expertise
• Increased reliability
11
Advantages Continued
• Explanation
• Fast response
• Intelligent tutor
• Intelligent database
12
Representing the Knowledge
13
Knowledge Engineering
14
Development of an Expert System
15
The Role of AI
16
Uncertainty
17
Limitations of Expert Systems
18
Early Expert Systems
19
Table 1.3 Broad Classes
of Expert Systems
20
Problems with Algorithmic
Solutions
• Conventional computer programs generally solve
problems having algorithmic solutions.
21
Considerations for Building
Expert Systems
• Can the problem be solved effectively by
conventional programming?
• 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 can understand it.
• Is the problem-solving knowledge mainly
heuristic and uncertain?
22
Languages, Shells, and Tools
23
Expert systems Vs
conventional programs I
24
Expert systems Vs
conventional programs II
25
Expert systems Vs
conventional programs III
26
Elements of an Expert System
27
Elements Continued
28
Production Rules
29
Figure 1.6 Structure of a
Rule-Based Expert System
30
Rule-Based ES
31
Example Rules
32
Inference Engine Cycle
33
Foundation of Expert Systems
34
General Methods of Inferencing
35
Production Systems
36
Post Production System
39
Rete Algorithm
• Markov: too inefficient to be used with many rules
• Functions like a net – holding a lot of information.
• Much faster response times and rule firings can occur
compared to a large group of IF-THEN rules which
would have to be checked one-by-one in conventional
program.
• Takes advantage of temporal redundancy and structural
similarity.
• Looks only for changes in matches (ignores static data)
• Drawback is high memory space requirements.
40
Procedural Paradigms
41
Figure 1.8 Procedural
Languages
42
Imperative Programming
44
Nonprocedural Paradigms
45
Figure 1.9 Nonprocedural
Languages
46
What are Expert Systems?
47
Summary
48
Summary Continued
49