Lesson 9 Knowledge-Based Systems
Lesson 9 Knowledge-Based Systems
Knowledge-based Systems:
Rule-based Knowledge Systems
Knowledge-based Systems
(Expert Systems)
Rule-based systems:
Overview:
Deductive versus Reactive rule-systems
“Zookeeper”: a deductive rule-system
“Bagger”: a reactive rule-system
Procedures for inference in Rule-systems
Explanation facilities
Winston’s notation:
Know Deduced
facts facts
AND gate
CSC 215: Introduction to A.I 3
Basics for Deduction Systems:
true true
assertions facts
false
The working memory = a collection of assertions
Know Deduced
facts facts
New
Hypothesis
hypothesis
CSC 215: Introduction to A.I 4
ZOOKEEPER:
Winston’s simplification of MYCIN.
Robby robot attempts to identify animals in the ZOO.
Z1 If ?x has hair
Then ?x is a mammal
Z2 If ?x gives milk
Then ?x is a mammal
Z3 If ?x has feathers
Then ?x is a bird
Fourth rule
Has hair Is a mammal
Z1
Second rule tried
Eats meat Is a carnivore
Z5
First rule used
Has a tawny color
Z9
Has dark spots Is a cheetah
CSC 215: Introduction to A.I 9
Old backward/forward
choice:
Mostly: the branching factor argument.
Winston terminology: “fan out”, “fan in”
Also:
Are you able to gather more facts?
If not: just forward chain to see what you can
get as conclusions
If you are only interested in a specific question:
Is it a carnivore?
– Backward better
Example rule:
If ?x ’s type is primary bacteremia
the suspected entry point of ?x is the gastrointestinal tract
the site of the culture of ?x is one of the sterile sites
Then there is evidence that ?x is bacteroides
Use a
database
of objects
If there is a rule:
If a and b and c and d
Then e