Chapter 4 Knowledge Application Sytems
Chapter 4 Knowledge Application Sytems
1
Chapter Objectives
Ch
6
AI ...
Ch
12
Rule based ...
Ch
13
The Architecture of Expert
Systems
• Expert knowledge
derived from
human experts
• Purpose:
Diagnose illnesses
Provide
recommendations
Solve other
problems
14
Examples of Expert System
based Rule Base systems
Ch
15
Case-based reasoning?
Ch
17
How do we solve problems?
Ch
18
How a CBR system works:
the knowledgebase
Ch
21
How a CBR system works:
the process
Current
Case
284742
Input
1. Assign indices
Similarity
Case memory 2. Retrieve metrics
Output
How a CBR system works
Similarity
2. Retrieve metrics
Modification
5b. Store 3. Modify rules
• Retrieval by:
Nearest neighbour case matching
Weighted nearest neighbour case matching
Decision tree methods
Knowledge-guided retrieval
• The last four memory organisation approaches,
and the last two retrieval approaches, might be
thought of as hybrid systems.
“Nearest neighbour”
algorithm: an example
7
6
5
A system of
3-dimensional
8
9
10
co-ordinates Ch
z 44
“Nearest neighbour”
algorithm
y
10
9
8
7
6
5
4
- case 1
3
2
1
1
0
1 2 3 4 5 6 7 8 9 10
x
2
3
4
7
6
5
The 1st case
represented
8
9
10
as a point Ch
z 45
“Nearest neighbour”
algorithm
y
10
9
8
7
6
5
4
3
2 - case 2
1
1
0 1 2 3 4 5 6 7 8 9 10
x
2
3
4
7
6
5
The 2nd case
represented
8
9
10
as a point Ch
z 46
“Nearest neighbour”
algorithm
y
10
9
8
7
6
5
4
- case 1
3
2 - case 2
1
1
0
1 2 3 4 5 6 7 8 9 10
x
2
3
4
7
6
5
The two cases
represented
8
9
10
as points Ch
z 47
“Nearest neighbour”
algorithm
y
10
9
8
7
6
5
4
- case 1
3
2 - case 2
1
1
0
1 2 3 4 5 6 7 8 9 10
x
2
3
4
7
6
5
The distance
between the
8
9
10
two cases Ch
z 48
“Nearest neighbour”
algorithm
y
10
- case 1
9
8
7
6 - case 2
5
4
3 - case 3
2
1
1
0
1 2 3 4 5 6 7 8 9 10
x
2
3
4
6 5
Adding a
7
third case:
8
9
10
(2, 3, 9) Ch
z 49
“Nearest neighbour”
algorithm
• CBR is suitable:
when the domain is broad but shallow.
when experience rather than theory is the
primary source of information.
when the requirement is for the best available
solution, rather than a guaranteed exact
solution.
when solutions are reusable, rather than unique
to each situation.
Example of a successful
system
• Case-based reasoning:
tends to focus on the problem's essential
features.
can solve problems in domains that are
only partially understood.
can provide solutions when no algorithmic
method is available.
can interpret open-ended and ill-defined
concepts.
Steps in building a case-
based reasoning system
64
Capabilities of DSS
Ch
65
Capabilities ...
Ch
66
Fault diagnosis Systems
Ch
67
Fault diagnosis ...
• Model-based reasoning refers to
an inference method used in expert
systems based on a model of the physical world.
• With this approach, the main focus of application
development is developing the model.
• Then at run time, an "engine" combines this model
knowledge with observed data to derive
conclusions such as a diagnosis or a prediction.
• The system can help diagnose faults not previously
experienced Ch
72
Example - cause/effect model of
problems for vehicles:
Ch
73
Summary of Technologies
Ch
74
Limitations of knowledge
application systems
Ch
75
Conclusions