Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

Chapter 11 user support. Issues –different types of support at different times –implementation and presentation both important –all need careful design.
Intelligent Systems Lecture 8 Acquisition of knowledge and learning, tools of knowledge engineering.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Frame-based expert systems
Alternate Representational Methods CS 531: LUMS Lahore Dr. M M Awais Frames Graphical Representation: Semantic Nets.
Knowledge Representation
Knowledge Representation
Frame-Based Expert Systems
Frame Based Expert System
CSM6120 Introduction to Intelligent Systems Knowledge representation.
CS 484 – Artificial Intelligence
Intelligent systems Lecture 6 Rules, Semantic nets.
Knowledge Engineering
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Chapter 12: Expert Systems Design Examples
Rule Based Systems Alford Academy Business Education and Computing
Research topics Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department Lecture 6 Knowledge Representation Non-Formal Method.
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
AI – CS364 Hybrid Intelligent Systems Overview of Hybrid Intelligent Systems 07 th November 2005 Dr Bogdan L. Vrusias
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Building Knowledge-Driven DSS and Mining Data
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Sepandar Sepehr McMaster University November 2008
Intelligent Tutoring Systems Traditional CAI Fully specified presentation text Canned questions and associated answers Lack the ability to adapt to students.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Rule-Based Expert Systems. Expert Systems  Acknowledge that computers do not posses general knowledge (common sense)  Attempt to train computer in a.
Knowledge Representation Semantic Network dan Frame.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Artificial Intelligence LECTURE 2 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
@Anupam Basu Frames Lecture Basu What is a Frame? A frame is a prototype of a concept –Denoting the attributes of the concept –The class of.
ARTIFICIAL INTELLIGENCE DR. ABRAHAM AI a field of computer science that is concerned with mechanizing things people do that require intelligent.
Chapter 13 Artificial Intelligence and Expert Systems.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Knowledge Representation
Chapter 4: Inference Techniques
CSE (c) S. Tanimoto, 2008 ISA Hierarchies 1 ISA Hierarchies: A Basis for Knowledge Representation with Semantic Networks Outline: Introduction The.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
1 Chapter 3 Knowledge Representation. 2 Chapter 3 Contents l The need for a good representation l Semantic nets l Inheritance l Frames l Object oriented.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 10: Tools.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
From NARS to a Thinking Machine Pei Wang Temple University.
Common Sense Inference Let’s distinguish between: Mathematical inference about common sense situations Example: Formalize theory of behavior of liquids.
Artificial Intelligence Knowledge Representation.
Knowledge Representation
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
COMPUTER SYSTEM FUNDAMENTAL Genetic Computer School INTRODUCTION TO ARTIFICIAL INTELLIGENCE LESSON 11.
Definition and Technologies Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
Artificial Intelligence
Knowledge Representation
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Knowledge Representation
Knowledge Representation
Artificial Intelligence (CS 370D)
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
File Systems and Databases
Artificial Intelligence introduction(2)
Knowledge Representation and Inference
KNOWLEDGE REPRESENTATION
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Weak Slot-and-Filler Structures
Chapter 11 user support.
Knowledge Representation
Semantic Nets and Frames
Subject : Artificial Intelligence
Presentation transcript:

Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations

Frames Author of idea – Marvin Minsky. He invited frames for representation of scene in technical vision from different points of view. Frames are a variant of nets that are one of the most popular ways of representing non-procedural knowledge in an expert system. In a frame, all the information relevant to a particular concept is stored in a single complex entity, called a frame. Superficially, frames look pretty much like record data structures. However frames, at the very least, support inheritance. They are often used to capture knowledge about typical objects or events, such as a typical bird, or a typical restaurant meal.

Example of frame “elephant” Mammal subclass: Animal warm_blooded: yes Elephant subclass: Mammal * colour: grey * size: large Clyde instance: Elephant colour: pink owner: Fred Nellie: instance: Elephant size: small A particular frame (such as Elephant) has a number of attributes or slots such as colour and size where these slots may be filled with particular values, such as grey. We have used a ``*'' to indicate those attributes that are only true of a typical member of the class, and not necessarily every member. Most frame systems will let you distinguish between typical attribute values and definite values that must be true.

One final useful feature of frame systems is the ability to attach procedures to slots. So, if we don't know the value of a slot, but know how it could be calculated, we can attach a procedure to be used if needed, to compute the value of that slot. Maybe we have slots representing the length and width of an object and sometimes need to know the object's area - we would write a (simple) procedure to calculate it, and put that in place of the slot's value. Such mechanisms of procedural attachment are useful, but perhaps should not be overused, or else our nice frame system would consist mainly of just lots of procedures, interacting in an unpredictable fashion. Inheritance is simple where each object/class has a single parent class, and where slots take single values. If slots may take more than one value it is less clear whether to block inheritance when you have more specific information. For example, if you know that a mammal has_part head, and that an elephant has_part trunk you may still want to infer that an elephant has a head. It is therefore useful to label slots according to whether they take single values or multiple values.

Example of frame Name – Ground area Number of sides: (4) Lengths of sides: Angles: Area:IF_NEEDED: Calculation of area() IF_ADDED: Calculation of cost() Cost:

Using of value of slot equal name of any frame we can to create complex nets of frames connected by different relations (links) Solving of task is similar as in semantic networks: 1) with Inheritance and 2) Intersection search Query for search is any frame-goal with any determined slots and any unknown ones. It is needed to find its values. This frame-goal can content slots from different frames of knowledge base. Could say that it is virtual frame. And during searching values of these slots are finding by inheritance, default values, moving between frames on links.

Example of net of frames: Name: real estate Tax: needed Parent:Capital Name: Ground area Parent: real estate Number of sides: (4) Lengths of sides: Angles: Area: Cost: Name: building Parent: real estate Type: (fabric, house,…) Area: Number of floors: Name: Dormitory Parent: building Number of floors: 5 Area: 3000 Name: Stadium Parent: Ground area Area: Similar: Court Link to other frame

Examples of frames in ESWin Frame=Goal Parent: How to begin: () Chances: () EndF Frame=You Parent: Employment: (Unemployment; Engineer; Businessman) Old [How are You old ?]: (young; old) EndF Frame=She Parent: Women Old: (young; middle old) EndF Frame=Women Parent: Like flowers: (yes) EndF Frame=Goal Parent: Knowledge representation method: () Tool for Developer: () EndF Frame=Parameters Parent: Area: (Computer Science; Technology; Medicine) Task: (CAD; CAM; Monitoring; Diagnostics) EndF

Methods of knowledge representation All methods of representations are similar It is relatively easy to transform from one to another (except neural networks) Part of them is oriented on suitable understanding of human (semantic nets, frames), part of them – on suitable of formalization and programming (different logics). Rules is such popular because ones are suitable for both goals Logics may be basis for building of more complex methods (many of rule-based or frame- based applied systems and tools was developed on languages of logic programming – Prolog and Lisp)

Combinations of knowledge representations Frames & rules – ESWin, ECLIPS, FLEX, XCON, many of medicine diagnostic expert systems (for example, CENTAUR) Semantic nets & rules – PROSPECTOR Rules & neural networks – in Hybrid Intelligent Systems (later)

Methods of solving of tasks Searching in state space –Depth-first search, – breadth-first search, – different heuristics Logical inference –Resolution, – unification, – forward chaining, – backward chaining Matching – comparison any pattern with knowledge in knowledge base –Syntactic –Parametrical –Semantic determined fuzzy With using of context

Methods of solving of tasks All methods of solving of tasks may be viewed as searching of relevant knowledge to any pattern (goal, query and so on) It is explained by it’s genesis from processing of input patterns from sensors in human brain