Académique Documents
Professionnel Documents
Culture Documents
Chapter Objectives
Inductive shells
Rule-based shells
Hybrid shells
Special purpose shells
Developing a system from scratch
Figure 8.1
Intelligent
Program
User
User
Interface
Workspace
Figure 8.2
Development
Shell
Knowledge
Acquisition
Tool
Test Case
Database
Intelligent
Program
Knowledge
base
Inference
Engine
Developers
Interface
Figure 8.3
Figure 8.4
Frame: MUSTANG
Manufacturer: Ford
Country of Manufacture: USA
Model: Mustang GT
Number of wheels: 4
Number of doors: 2
Year: 2002
Engine Size: 4.6L-V8
Transmission: Standard
Reliability: Medium
Body Style: Convertible
Color: Red
Miles-per-gallon: 19.7
Serial Number: 12345A67890B
Owner: Avelino
Figure 8.5
Generic AUTOMOBILE Frame
Specializationof: VEHICLE
Generalizationof: (STATIONWAGON COUPE SEDAN CONVERTIBLE)
Manuf acturer:
Value:
Legal-values: (FORD MAZDA BMW SAAB GM CHRYSLER)
Default: FORD
Countryof Manuf acture:
Value:
Legal-values: (USA JAPAN GERMANY SWEDEN)
If-Needed: (GET-ORIGIN)
Default: USA
Model:
Value:
Legal-values: (TAURUS FOCUS MUSTANG CROWN-VICTORIA))
Color:
Value:
Legal-values: (BLACK WHITE RED PERSIANAQUA)
IfNeeded: (EXAMINETITLE or CONSULTDEALER or LOOK
ATAUTOMOBILE)
Reliability:
Value:
Legal-values: (HIGH MEDIUM LOW)
Default: MEDIUM
MilesPerGallon:
Value:
Range: (0 100)
Year:
Value:
Range: (1940 1990)
IfChanged: (ERROR: Value cannot be modified)
Owner:
Value:
IfAdded: (APPLYFORTITLE and OBTAINTAG and PAY
SALESTAX)
Figure 8.6
Doors:
Value: 2
Figure 8.7
VEHICLE
Generic frame
AUTOMOBILE
Generic frame
COUPE
Generic frame
MUSTANG
Generic frame
AVELINOSAUTOMOBILE
Instance-level frame
(Describes a real automobile)
Figure 8.8
Figure 8.9
AVELINOS- AUTOMOBILE Frame
Specializationof: Mustang
Manufacturer:
Value: Ford
Vehicle ID No.:
Value: 12345AJG67890
CountryOfManufacture:
Value:
Color:
Value: Red
Reliability:
Value: Medium
MilesPerGallon:
Value: 19.7
Year:
Value: 2002
Owner:
Value: AVELINO
Do o r s :
Value:
Becerra-Fernandez, et al. -- Knowledge Management 1/e -- 2004 Prentice Hall
Figure 8.10
Facts
Facts
Step 1
Match
Rul
es
New Facts
Applicable
Rules
Step 2
Conflict
Resolution
Knowledge
Step 3 Execution
Selected
Rule
New
Rules
Figure 8.11
Execution
Cycle
1
2
3
4
Applicable
rules
3,4
3,4
3,4, 11
3, 4, 11
Selected
rule
Derived
Fact
3
4
Fruitclass = tree
Seedclass = stonefruit
Fruit = cherry
11
Conclusions
The student should be familiar with:
Rules and how they are used to represent and
exercise conditional knowledge.
Frames and how they are used and exercise
structured knowledge.
The meaning of a knowledge-based system shell and
the types of shells commercially available.
Chapter 8