Escolar Documentos
Profissional Documentos
Cultura Documentos
Brain
Computer
09/04/12
Computer capacities though large are still
not
comparable with those of the brain
Knowledge Representation
09/04/12
Production Rules
frequently used to formulate the knowledge in expert
systems
a grammar is a complete, unambiguous set of production
Forms of Rules
Conclusion, IF premise
Your chance of being audited is high, IF your income is
high
Inclusion of ELSE
IF your income is high, OR your deductions are unusual, THEN your
are more than $75,000, AND pay history is not "poor," THEN
approve a loan up to $10,000, and list the loan in category "B.
Action part may have more information: THEN "approve the loan"
and "refer to an agent"
in such rules
complex knowledge requires many rules
large sets of rules become difficult to understand
and maintain
Search limitations in systems with many rules
Semantic Networks
graphical representation for propositional information
originally developed by M. R. Quillian as a model for
human memory
11
Boy
Needs
Goes to
School
Woman
Joe
Food
Has
a child
Kay
12
prop
isa
isa
two legs
isa
Human
isa
fly
Animal
isa
inst
Bird
isa
inst
prop green
Man
Woman
Giraffe
prop
Cat
prop
inst
john
Parrot
prop
fur
skin, move
Frame
Represents related knowledge about a subject
descriptive slots
contain declarative information or data (static knowledge)
procedural attachments
contain functions which can direct the reasoning process (dynamic
knowledge)
e.g., "activate a certain rule if a value exceeds a given level"
data-driven, event-driven
pointers to related frames/scripts - can be used to transfer control
Slots
each slot contains one or more facets
if-added
procedural attachment which specifies an action to be taken when a
a_part_of
department
hostel
a_part_of
is_a
faculty
nilgiri hostel
ako
science_faculty
is_a
renuka
frame1
frame2
f_name : department
a_part_of : frame0
programme : [Btech, Mtech, Ph.D]
f_name : hostel
a_part_of : frame0
room : (default - 100)
frame11
frame21
f_name: faculty
a_part_of : frame1
age :
range (25 - 60)
nationality: (default - Indian)
qual: (default - Post graduate)
f_name : nilgiri
is_a : frame2
phone : 0116862345
frame12
frame13
f_name : renuka
is_a : frame12
qual : Ph.D
age: 45
adrress: Janak Puri
Description of Frames
Each frame represents either a class or an instance.
Class frame represents a general concept whereas
instance frame represents a specific occurrence of the
class instance.
Class frame generally have default values which can be
redefined at lower levels.
If class frame has actual value facet then decedent
frames can not modify that value.
Value remains unchanged for subclasses and instances.
restaurant
Types:
range:
(Cafeteria, Fast-Food, Seat-Yourself, Wait-To-Be-Seated)
default: Seat-Yourself
if-needed: IF reservations-made THEN Wait-To-Be-Seated,
OTHERWISE Seat-Yourself.
Name:
if-needed: (Look at the MENU)
Food-Style:
range:
(Burgers, Chinese, American, Seafood, French)
default:
American
Times-of-Operation:
range:
a Time-of-Day
default:
open evenings except Mondays
Payment-Form:
range:
(Cash, Credit Card, Check, Washing-Dishes-Script)
Event-Sequence:
default:
Eat-at-Restaurant Script
Alternatives:
Restaurant Script
EAT-AT-RESTAURANT Script
Props:
(Restaurant, Money, Food, Menu, Tables, Chairs)
Roles:
(Hungry-Persons, Wait-Persons)
Point-of-View:
Hungry-Persons
Time-of-Occurrence: (Times-of-Operation of Restaurant)
Place-of-Occurrence: (Location of Restaurant)
Event-Sequence:
first:
Enter-Restaurant Script
then:
if (Wait-To-Be-Seated-Sign or Reservations)
then Get- Waiters Attention Script
then:
Please-Be-Seated Script
then:
Order-Food-Script
then:
Eat-Food-Script unless (Long-Wait) when Exit-Restaurant-Angry
Script
then:
if (Food-Quality is good)
then Compliments-To-The-Chef Script
then:
Pay-For-It-Script
finally: Leave-Restaurant Script
Frame Advantages
important for many applications
similar to human knowledge organization
easier to understand than logic or rules
very flexible