230 likes | 577 Views
Chapter 4 Knowledge Representation (continue). 323-670 Artificial Intelligence ดร.วิภาดา เวทย์ประสิทธิ์ ภาควิชาวิทยาการคอมพิวเตอร์ คณะวิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์. Property Inheritance. Frame. Baseball-Player isa : Adult-Male bats: (EQUAL handed) height: 6-1
E N D
Chapter 4Knowledge Representation (continue) 323-670 Artificial Intelligence ดร.วิภาดา เวทย์ประสิทธิ์ภาควิชาวิทยาการคอมพิวเตอร์ คณะวิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์
Property Inheritance Page 2
Frame • Baseball-Player isa : Adult-Male bats: (EQUAL handed) height: 6-1 batting-average: .252 figure 4.7 The End Inferential Knowledge figure 4.7 Page 3
Procedural Knowledge as Rules The End similar to figure 4.7 Page 4
Redundant Representation The End John punched Mary Mary punched John Page 5
Similarity Net liking among set of frame The End Page 6
Knowledge Representation • important attribute : isa and instance • relationship among attributes • at what level of detail should the world be represented? • Mary is Sue’s cousin. เมรี่เป็นหลานของซู • Mary = daughter(brother(mother(Sue))) • Mary = daughter(sister(mother(Sue))) • Mary = daughter(brother(father(Sue))) • Mary = daughter(sister(father(Sue))) • Mary = daughter(sibling(parent(Sue))) The End Page 7
Knowledge Representation • John broke the window • Sequence ? ...... pick up hard object , Hurl the object to the window • Cause hand / foot to move fast and crash into the window • Shut the window so hard that the glass breaks • Finding the right structure • John went to Sizzer last night. He ordered a large rare steak, paid his bill, and left. • Did john eat dinner last night? • John flew to New York. • John flew a kite. • John flew down the street. The End Page 8
Frame Problem The End • on(plan12,table34), under(table34, window13), and in(table34,room15) : the facts may change • run out of memory : when description is very long • above(ceiling, floor) : this fact never change Page 9
End Chapter 4 The End Even if you're on the right track, you'll get run over if you just sut there. Will Rogers Page 10