Professional Documents
Culture Documents
Chapter 4 Knowledge Application Sytems New
Chapter 4 Knowledge Application Sytems New
1
Artificial Intelligence
case-based reasoning
Ch
3
Rule Based Expert System
Ch
Rule based ...
Ch
The Architecture of Expert Systems
• Expert knowledge
derived from
human experts
• Purpose:
Diagnose
illnesses
Provide
recommendations
Solve other
Problems
13
Examples of Expert System
based Rule Base systems
Ch
How a CBR system works:
the process
Current
Case
284742
Current
Case
284742
Current
Case
284742
Current
Case
284742
Current
Case
284742
Current
Case
284742
Input
2. Retrieve Similarity
Case memory
metrics
Output
How a CBR system works
2. Retrieve Similarity
Case memory
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
10
9
8
7
6
5
4
3
2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
7
6
5
A system of
3-dimensional
8
9
10
co-ordinates Ch
z 39
“Nearest neighbour”
algorithm
10
9
8
7
6
5
4
- case 1
3
2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
7
6
5
The 1st case
represented
8
9
10
as a point Ch
z 40
“Nearest neighbour”
algorithm
10
9
8
7
6
5
4
3
2 - case 2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
7
6
5
The 2nd case
10
9 8 represented
as a point Ch
z
“Nearest neighbour”
algorithm
10
9
8
7
6
5 - case 1
4
3 - case 2
2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
7
6
5
The two cases
10
9 8 represented
as points Ch
z
“Nearest neighbour”
algorithm
10
9
8
7
6
5 - case 1
4
3 - case 2
2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
7
6
5
The distance
between the
8
9
10
two cases Ch
z
“Nearest neighbour”
algorithm
10
9
8
- case 1
7
6
- case 2
5
4
- case 3
3
2
1
1 x
3
2
0 1 2 3 4 5 6 7 8 9
4 10
6 5
Adding a
7
third case:
8
9
10
(2, 3, 9) Ch
z
“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
1. Obtain data for cases.
2. Design cases based on data.
3. Determine the case memory structure.
4. Decide the case retrieval method.
5. Decide whether a case adaptation procedure
is appropriate (and, if so, implement it).
6. Develop the rest of the system (e.g. the
user interface).
Some currently-available
CBR tools (with
vendors)
Esteem (Esteem Software)
CBR Express & CBR v.2.0 (Inference)
ReMind (Intelligent Applications, Cognitive
Systems)
ReCall (ISoft)
KATE-CBR (Acknosoft)
Some of these are UK products, some
American,
some French.
Advantage of CBR over Rule
Base
Ch
60
Capabilities ...
Ch
Fault diagnosis ...
Ch
Help Desk ....