CS 378 Assignment 6: Expert Systems
Due: April 22, 2021.
The goals of this assignment are to get some experience with expert
systems and writing of rules for expert systems.
- Run the Snakes example using the TMYCIN expert system tool.
(You do not need to turn in anything for this.)
After starting lisp on a lab machine, and within the directory
where the files are located, enter the following:
(load "tmycin.lsp") or (load "/u/mylogin/.../tmycin.lsp")
It is not necessary to answer all questions; some questions might be
answered by unk (unknown).
After running the consultation, try some why and whynot
(why poisonous yes)
- Write a small expert system of about 20-30 rules to perform some
finite classification task. You can choose one of the following options:
- Extend the expert system in snakes.lsp by adding the
Add to the data values as needed.
The book I used in the example was an earlier edition of
Lone Star Field Guide to Texas Snakes. However, you should
not need a book; a Google search will give many photos and
detailed information about various snakes.
Some photos of snakes from Austin are at:
Most of these are taken from the Nextdoor bulletin board, where
people often ask "What snake is this?"
- Choose a task for which you have the expert
knowledge or for which you can find a good source, such as a field manual.
Use TMYCIN as the expert system tool. The file snakes.lsp
can be used as an example. A manual for TMYCIN is available on the web at
Given the short time available for this assignment, only a modest
expert system is expected. Qualities that make a good expert system
- Ability to use data that can be observed by a non-expert user.
Poor: Does the rock have hardness 6.5?
Better: Can the rock be scratched by a knife?
- Intermediate conclusions, such as compromised host in MYCIN.
- Multiple ways to reach a conclusion.
- Tolerance of uncertain or missing data.