STIN2103. Knowledge. engineering expert systems. Wan Hussain Wan Ishak. SOC 2079 Ext.: Url:

Similar documents
Chapter 2. Knowledge Representation: Reasoning, Issues, and Acquisition. Teaching Notes

Expert Systems. Artificial Intelligence. Lecture 4 Karim Bouzoubaa

Harvard-MIT Division of Health Sciences and Technology HST.952: Computing for Biomedical Scientists. Data and Knowledge Representation Lecture 6

Stepwise Knowledge Acquisition in a Fuzzy Knowledge Representation Framework

INFERENCING STRATEGIES

Chapter 7. Mental Representation

An expert system (Autodoc) for diagnosing diseases and prescribing medication using visual basic.net

ORC: an Ontology Reasoning Component for Diabetes

3. L EARNING BAYESIAN N ETWORKS FROM DATA A. I NTRODUCTION

Overview. cis32-spring2003-parsons-lect15 2

Overview EXPERT SYSTEMS. What is an expert system?

CPS331 Lecture: Coping with Uncertainty; Discussion of Dreyfus Reading

Outline. What s inside this paper? My expectation. Software Defect Prediction. Traditional Method. What s inside this paper?

A FRAMEWORK FOR CLINICAL DECISION SUPPORT IN INTERNAL MEDICINE A PRELIMINARY VIEW Kopecky D 1, Adlassnig K-P 1

A Framework for Medical Diagnosis using Hybrid Reasoning

56 The Evolution of MYCIN s Rule Form

Part I - Multiple Choice. 10 points total.

Causal Knowledge Modeling for Traditional Chinese Medicine using OWL 2

ARTIFICIAL INTELLIGENCE

Health informatics Digital imaging and communication in medicine (DICOM) including workflow and data management

Knowledge Based Systems

Rethinking Cognitive Architecture!

Wason's Cards: What is Wrong?

CS 4365: Artificial Intelligence Recap. Vibhav Gogate

Support for Cognitive Science Experiments

Clinical Decision Support Systems. 朱爱玲 Medical Informatics Group 24 Jan,2003

Thinking and Intelligence

Knowledge is rarely absolutely certain. In expert systems we need a way to say that something is probably but not necessarily true.

Inductive Reasoning. Induction, Analogy, Metaphor & Blending. Abduction Schema. Abduction or Specific Induction

Programming with Goals (3)

Foundations of AI. 10. Knowledge Representation: Modeling with Logic. Concepts, Actions, Time, & All the Rest

Design of the Autonomous Intelligent Simulation Model(AISM) using Computer Generated Force

USING OBSERVATIONS AND INFERENCES IN SCIENCE

Inferencing in Artificial Intelligence and Computational Linguistics

CHAPTER 6 DESIGN AND ARCHITECTURE OF REAL TIME WEB-CENTRIC TELEHEALTH DIABETES DIAGNOSIS EXPERT SYSTEM

LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES

Sample Interaction: Explanation. Sample Interaction (cont d) Sample Interaction: Therapy. Sample Interaction: Diagnosis. How It Worked: Representation

Assignment Question Paper I

Pythia WEB ENABLED TIMED INFLUENCE NET MODELING TOOL SAL. Lee W. Wagenhals Alexander H. Levis

Concepts and Categories

An experimental investigation of consistency of explanation and graph representation

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

What Is A Knowledge Representation? Lecture 13

COGNITION. Does the way we think really matter? Another term for thinking, knowing and remembering

Improving the Accuracy of Neuro-Symbolic Rules with Case-Based Reasoning

80 Appendix A. Fig. A.1 Repository of ABPM information containing measurements of the BP

Term 1 Revision for the Exam

International Journal of Software and Web Sciences (IJSWS)

Coherence Theory of Truth as Base for Knowledge Based Systems

Argument Analysis Using Bayesian Networks

Agent-Based Systems. Agent-Based Systems. Michael Rovatsos. Lecture 5 Reactive and Hybrid Agent Architectures 1 / 19

An Interval-Based Representation of Temporal Knowledge

Poultry Diseases Expert System using Dempster-Shafer Theory

ERA: Architectures for Inference

APPROVAL SHEET. Uncertainty in Semantic Web. Doctor of Philosophy, 2005

Models for Inexact Reasoning. Imprecision and Approximate Reasoning. Miguel García Remesal Department of Artificial Intelligence

Design and Implementation of Fuzzy Expert System for Back pain Diagnosis

A Computational Theory of Belief Introspection

A FUZZY LOGIC BASED CLASSIFICATION TECHNIQUE FOR CLINICAL DATASETS

Exam Review Day One. Please sign in up front!

Phone Number:

Using Bayesian Networks to Analyze Expression Data. Xu Siwei, s Muhammad Ali Faisal, s Tejal Joshi, s

Reasoning with Bayesian Belief Networks

Artificial Intelligence Programming Probability

The Logic of Categorization

Tim Kelly. High Integrity Systems Engineering Group Department of Computer Science

Probabilistic Graphical Models: Applications in Biomedicine

Structures of Life. Investigation 3: Meet the Crayfish. 3 rd Science Notebook. Name:

Fuzzy Decision Analysis in Negotiation between the System of Systems Agent and the System Agent in an Agent-Based Model

Introduction to Categorization Theory

Lecture 2. Social Cognition. September 16th, 2009 : Lecture 2. Social Cognition : Overview (Social) Cognition Basics

Similarity and Categorization : Taxonomic and Meronomic parts of Similes

BIOLOGY 1408 What is Biology?

Computing Intensity Increments For Incremental Exercise Protocols

Lecture 3: Bayesian Networks 1

How do Categories Work?

The Vote! Winners. $100 Question from Ch 10 11/16/11

High-level Vision. Bernd Neumann Slides for the course in WS 2004/05. Faculty of Informatics Hamburg University Germany

Biology & The Characteristics of Life

A Sleep Plan Strategy

Mental Imagery. What is Imagery? What We Can Imagine 3/3/10. What is nature of the images? What is the nature of imagery for the other senses?

GENERAL PSYCHOLOGY I NOTES

Integration of medication monitoring and communication technologies in designing a usability enhanced home solution for older adults

The PRIMHD Summary Report is organised into three major sections that provide information about:

Development of Duck Diseases Expert System with Applying Alliance Method at Bali Provincial Livestock Office

Dynamic Rule-based Agent

Avian Influenza (H5N1) Expert System using Dempster-Shafer Theory

Psychology Research Process

Journal of Experimental Psychology: Learning, Memory, and Cognition

Support system for breast cancer treatment

Underlying Theory & Basic Issues

An Agent-Based Diagnostic System Implemented in G2

Selecting a research method

Knowledge networks of biological and medical data An exhaustive and flexible solution to model life sciences domains

VCE VET SPORT AND RECREATION

Appendix I Teaching outcomes of the degree programme (art. 1.3)

Design the Flexibility, Maintain the Stability of Conceptual Schemas

Embracing Complexity in System of Systems Analysis and Architecting

Chapter 02 Developing and Evaluating Theories of Behavior

BEFORE YOU WATCH THE VIDEO - DO THIS SECTION

Transcription:

& Knowledge STIN2103 engineering expert systems Wan Hussain Wan Ishak SOC 2079 Ext.: 4786 Email: hussain@uum.edu.my Url: http://www.wanhussain.com

Outline Knowledge Representation Types of knowledge Knowledge representation techniques Rule-based ES

reformulation Knowledge Engineering Phases exploration Problem Assessment Knowledge Acquisition & Analysis Design & Implementation Testing Documentation Maintenance

Design & Implementation Tasks Involve the following tasks: Task 1: Select knowledge representation technique Task 2: Select control technique Task 3: Select ES development software Task 4: Develop the prototype Task 5: Develop the interface Task 6: Develop the product

Knowledge What is knowledge? What? How? When? Why?

Knowledge What is knowledge? Intelligent requires knowledge Intelligence refers to the capacity to acquire and apply knowledge.

Knowledge What is knowledge? Definition: Understanding gained through experience; familiarity with the way to do something to perform a task; an accumulation of facts, procedural rules or heuristics

Knowledge Facts KNOWLEDGE Heuristic Procedural Rules

Knowledge Facts KNOWLEDGE Heuristic Procedural Rules

Types of knowledge Types of knowledge

Types of knowledge Types of knowledge Procedural knowledge Declarative knowledge Meta-knowledge Heuristic knowledge Structural knowledge Rules Strategies Agendas Procedures Concepts Objects Facts Knowledge about the other types of knowledge and how to use them Rules of thumb Rule sets Concepts relationships Concept to object relationships

Types of knowledge Example: Procedural knowledge to boil an egg we must do then Declarative knowledge my room no. is 2079 Meta-knowledge if you want to know about heart attack, please read this book Heuristic knowledge the clouds looks dark and heavy, heavy rain might fall Structural Knowledge a cat has four legs

Knowledge Hierarchy This is Siti phone number Information Data Siti Fatimah Phone No. Knowledge

Knowledge Representation Definition Knowledge representation is a science of translating actual knowledge into a format that can be used by the computer.

Knowledge Representation Knowledge Usage Knowledge Representation Knowledge Source

Knowledge Representation Why needs to represent knowledge?... You are given a project to develop a system that can diagnose heart attack? How can you get information about heart attack? How do you understand the knowledge? Which knowledge to get into computer?

Knowledge Representation Object Knowledge Representation Methods Logic Rule

Knowledge Representation Object-Attribute-Value (O-A-V) Color Gold Object Attribute Value Car Color Gold

Knowledge Representation Object-Attribute-Value (O-A-V) Describe Doraemon

Knowledge Representation Semantic Network Definition :: method of knowledge representation using a graph made up of nodes and arcs Graphical view of problem s important objects, properties and relationships. Nodes represent objects & arcs represent the relationship. Arcs are commonly labeled with terms IS-A or HAS Exceptional handling some exceptions for certain cases. All birds can fly and ostrich is bird can ostrich fly?

Knowledge Representation Semantic Network has Wings Parrot is-a Ostrich Bird travel Fly is-a Animal breathe Air travel Walk

Knowledge Representation Frame Definition :: a data structure for representing stereotypical knowledge of some concept or object

Frame Knowledge Representation

Knowledge Representation Rule Definition :: Rules a knowledge structure that relates some known information to other information and that can be concluded or inferred to be known

Knowledge Representation Rule Statement IF antecedent and THEN consequent IF <antecedent> THEN <consequent> IF thirsty THEN drink_a_water

Knowledge Representation Logic Often referred to propositional logic and predicate calculus.

Knowledge Representation Logic Propositional logic The ball color is blue ball_color_blue Predicate calculus. She likes chocolate likes (she, chocolate).

Selecting Knowledge Representation Should choose a knowledge representation technique that best matches the way the expert mentally models the problem s knowledge. For practical reasons, you will have to consider the organization s resources and capabilities.

Selecting Knowledge Representation Rule-based Suitable if the expert discusses the problem primarily using IF/THEN type statements. Frame-based Appropriate if the experts describes the problem by referencing important objects and their relationships. When the expert considers several similar objects when solving the problems.

Rule-Based ES Production system Is the basis of today s rule-based system. Definition: Production Term used in cognitive psychology to describe the relationship between situations and actions, and more commonly referred to today as a rule. ANTECEDENT CONSEQUENT Situation Action Or IF Situation THEN Action

Rule-Based ES Production system When solving some problem humans use a set of productions from their long-term memory that apply to a given situation that is stored in their short-term memory. The situation causes some production to fire resulting in its action being added to their short-term memory. This process is similar to human reasoning: inferring new information from known information. With this additional information added to the short-term memory, the situation changes which could cause other productions to fire. This human problem solving model of evoking productions from long-term memory and changing the content of the short-term memory became known as the production system.

Rule-Based ES Production system model Long-term Memory (Productions) Short-term Memory (Situations) Reasoning Actions Situations Production System Model

Rule-Based ES Definition - Production System A model of human problem solving where problem situations contained in the shortterm memory are combined with productions in the long-term memory to infer new information which is added to the short-term memory.

Rule-Based ES Definition - Rule-Based Expert System A computer program that processes problem-specific information contained in the working memory with set of rules contained in the knowledge base, using an inference engine to infer new information.

Rule-Based ES Modules in rule-based ES: Knowledge Base Models a human s long-term memory as a set of rules. Working Memory Models a human s short-term memory and contains problem facts both entered and inferred by the firing of the rules. Inference Engine Models human reasoning by combining problem facts contained in the working memory with rules contained in the knowledge base to infer new information.

Conclusions Rule-Based ES Rule-based model Knowledge Base (Rules) Working Memory (Facts) Inference Engine Facts

Rule-Based ES Rule contained in the knowledge base represent the productions contained in the long-term memory and the facts contained in the working memory represent the situations in the short-term memory. The inference engine acts as the reasoning module and compares the facts with the antecedents or premises of the rules to see which ones can fire. Not necessarily an exact match for human problem solving, but provide a reasonable model for replicating the behavior with a computer.

Rule-Based ES Additional subsystems: User interface the medium which the user views and interacts with the system. Developer interface the medium which the knowledge engineer develops the system. Explanation facility the subsystem for providing explanations on the reasoning of the system. External programs that support the system such as database, spreadsheets, etc.

Rule-Based ES Rule-based system architecture Inference Engine Working Memory Explanations Facility Knowledge Base External Programs User Interface Developer Interface User Knowledge Engineer

Rule-Based ES Advantages of rule-based ES Natural Expression human naturally express their solving knowledge in IF THEN type statements. Separation of Control from Knowledge separates the knowledge contained in the knowledge base from its control by inference engine a trademark of all ES. Modularity of knowledge easily review and verify its correctness. Ease of expansion can expend and add new rules. Proportional Growth of Intelligence as the number of rules increase, the system s level of intelligence about the problem likewise increases.

Rule-Based ES Advantages of rule-based ES Use of Relevant Knowledge system will use only the rules that are relevant to the problem. Derivation of Explanations from Rigid Syntax explain the user how it reaches the conclusion. Consistency Checking to assure that the same situations do not lead to different actions. Exp: IF hungry THEN eat IF hungry THEN drink Utilization of Heuristic Knowledge use heuristic knowledge in rules.

Rule-Based ES Advantages of rule-based ES Utilization of Uncertain Knowledge rules can be easily be written that capture this uncertain relationship. Exp: IF it is raining THEN class cancel CF 99 Can Incorporate Variables variables can be bound to a number of instances in the working memory and tested by the rule. Exp: IF THEN?Get high marks?student excellent

Rule-Based ES Disadvantages of rule-based ES Require Exact Matching antecedents in rules must match with facts in working memory. Have Opaque Rule Relationships difficult to determine how rules are logically related through an inference chain. Exp: IF THEN IF THEN IF THEN C D B C A B

Rule-Based ES Disadvantages of rule-based ES Can be Slow systems with a large set of rules can be slow. Are Inappropriate for Some Problems shortcoming of the rule-based system occurs when rules do not efficiently or naturally capture the representation of the domain s knowledge.