Professional Documents
Culture Documents
Lectures 08 Part 21 Expert Systems
Lectures 08 Part 21 Expert Systems
Resources
Wikipedia [link]
handout from AI illuminated, pages
46-50, 75-78, 81-83, 144-152, 267-284
http://www.cs.usfca.edu/www.AlanTuring.net/turing_archive/pages/Referenc
[distance learning link]
AI
So far: Machine Learning
– Inductive reasoning
Now: Logical Inference
– Deductive reasoning
An expert system is a computer program
dedicated to solving problems and giving advice
within a specialised area of knowledge.
A good system can match the performance of a
human specialist; expert systems are in wide
commercial use.
Uses include medical diagnosis, chemical
analysis, credit authorization, financial
management, corporate planning, automobile
design and manufacture, camera lens design,
computer installation design, airline scheduling,
cargo placement, and on and on….
Expert Systems
“Common sense” hard to program - just
so broad.
http://www.myacquire.com/aiinc/sto
edural Knowledge
to implement this
c in a computer program
n knowledge not
cally “stored” in this way
Big View
Knowledge Base
User
Inference Engine
Knowledge Base
stores facts about a domain
often in form of “if-then”
rules
example
[FROM CS Illuminated p 420]
example rule in
knowledge base
(from MYCIN - bacterial infections -
1972)
r
p → q, ¬q ¬p contraposit
ive
p ∨ q, ¬p q
Example Deduction:
“whodunnit”
1. If Pat was involved, then
Quinn was too.
2. Pat or Ralph did it.
3. If Ralph did it, then so did
Sam.
•
4. P → has
Sam Q a good alibi.
• P ∨ R Translation into logic statements
• R → S
• ¬S
n P → Q
n P ∨ R
n R → S
n ¬S
stmt 3, 4, contrapositive,
gives:
n ¬R
stmt 2, 5 implies
9. P
stmts 6, 1 implies
11. Q
MORE FACTS
CONCLUSIONS
Do we have an algorithm
for Logical Inference?
Input assumptions + G
Keep applying each rule of
inference.
Stop when we get to G