CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez and D. D. Dankel.

Slides:



Advertisements
Similar presentations
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Advertisements

CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
CS62S: Expert Systems Knowledge acquisition and system implementation Based on Chap. 12: The Engineering of Knowledge-based Systems: Theory and Practice,
Inferences The Reasoning Power of Expert Systems.
B. Ross Cosc 4f79 1 Forward chaining backward chaining systems: take high-level goal, and prove it by reducing it to a null goal - to reduce it to null,
Knowledge Engineering.  Process of acquiring knowledge from experts and building knowledge base  Narrow perspective  Knowledge acquisition, representation,
Rule Based Systems Michael J. Watts
Chapter 12: Expert Systems Design Examples
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Chapter 6: Design of Expert Systems
SAK4610 Knowledge-Based Systems Design. SAK4610 KBS Development Lifecycle  Questions to ask  What is the problem that need to solved by an expert? 
01 -1 Lecture 01 Artificial Intelligence Topics –Introduction –Knowledge representation –Knowledge reasoning –Machine learning –Applications.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Artificial Intelligence
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
Lecture 04 Rule Representation
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
EXPERT SYSTEMS Part I.
Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition.
Building Knowledge-Driven DSS and Mining Data
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
Chapter 11 Managing Knowledge. Dimensions of Knowledge.
Expert Systems Infsy 540 Dr. Ocker. Expert Systems n computer systems which try to mimic human expertise n produce a decision that does not require judgment.
1 Backward-Chaining Rule-Based Systems Elnaz Nouri December 2007.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Knowledge Acquisition. Concepts of Knowledge Engineering Knowledge engineering The engineering discipline in which knowledge is integrated into computer.
Invitation to Computer Science 5th Edition
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
 Define A.I and discuss its application areas in detail.  Explain Turing test. why it is not justifiable to use it to test whether the machine is intelligent.
Chapter 10 Artificial Intelligence. © 2005 Pearson Addison-Wesley. All rights reserved 10-2 Chapter 10: Artificial Intelligence 10.1 Intelligence and.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
13: Inference Techniques
Some Thoughts to Consider 1 What is so ‘artificial’ about Artificial Intelligence? Just what are ‘Knowledge Based Systems’ anyway? Why would we ever want.
Knowledge based Humans use heuristics a great deal in their problem solving. Of course, if the heuristic does fail, it is necessary for the problem solver.
1 ISAT 252: Analytical Methods IV Knowledge-Based Systems (KBS) and Declarative Programming KBS development and KBSDT Details Reading Assignment: Corvid.
Chapter 9: Rules and Expert Systems Lora Streeter.
MNF IT-272 Kunstig intelligens - høst 2002 Forelesning 6. Emner: Kunnskapsintensiv problemløsning - kunnskapbaserte systemer, ekspertsystemer Regelbaserte.
Logical Agents Logic Propositional Logic Summary
Knowledge Engineering Applying Rule-based Expert System to Develop an Intelligent Collaborative Design Platform Professor: Dr Amy J.C. Professor: Dr Amy.
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
1 CHAPTER 14 Intelligent Systems Development Steven Kuo Brian Lin.
 Dr. Syed Noman Hasany 1.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing.
Chapter 13 Artificial Intelligence and Expert Systems.
CS62S: Expert Systems Requirements Specification and Design Based on Chap. 12: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez.
Overview Of Expert System Tools Expert System Tools : are all designed to support prototyping. Prototype : is a working model that is functionally equivalent.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
 Dr. Syed Noman Hasany.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing and.
ES component and structure Dr. Ahmed Elfaig The production system or rule-based system has three main component and subcomponents shown in Figure 1. 1.Knowledge.
Chapter 15: KNOWLEDGE-BASED INFORMATION SYSTEMS. What is Knowledge? Data: Raw facts, e.g., Annual Expenses = $2 million Information: Data given context,
COM362 Knowledge Engineering Inferencing 1 Inferencing: Forward and Backward Chaining John MacIntyre
 Dr. Syed Noman Hasany.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing and.
Inferencing in rule-based systems: forward and backward chaining.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Expert System Seyed Hashem Davarpanah University of Science and Culture.
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.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Knowledge Representation
Chapter 3: Methods of Inference
SOFTWARE ENGINEERING - SOFTWARE LIFECYCLE MODELS
RESEARCH APPROACH.
Chapter 3: Methods of Inference
Architecture Components
Chapter 6: Design of Expert Systems
CS62S: Expert Systems Based on:
Jess Architecture Diagram WORKING MEMORY INFERENCE ENGINE EXECUTION ENGINE PATTERN MATCHER RULE BASE Here you can see how all the parts fit.
Verification and Validation
Knowledge Representation
Presentation transcript:

CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez and D. D. Dankel

Rule-based systems (part 2) Backward reasoning Starting with the goal, rules are searched to see if the facts can lead to a value for the goal.

Backward reasoning steps: 1. Form a stack of all goals. 2. Find all rules that support the first goal. 3. Examine each rule: a) If rule supports goal then remove goal from stack and go to step 2. b) If another rule is needed to satisfy the parameter of a rule’s premise then that is a subgoal and is placed on the stack c) Otherwise, ask the user for a value. If this value is not satisfactory, move on to the next rule. 4. When the stack is empty, end execution.

Rule-based architecture Inference network Nodes – facts, intermediate goals Rules connect the nodes All interconnections are known prior to execution

Pattern-matching systems Relationships are formed during execution The premise of the rules are patterns, and may include Wild cards: ? Single field, $ zero or more fields Logical operators: ~ NOT, | OR Relational operators: Arithmetic operators

Traditionally pattern-matching is used with forward chaining and inference net for backward chaining. However, either may be used with any reasoning method.

Rete Algorithm pattern-network Tree formed from the premise in the rules. Root is the first item in the premise. join network. Connects the tree nodes and compares similarly named variable for consistency in values

Knowledge-based systems lifecycle Waterfall model used in software engineering: Problem analysis Requirements specification Design Implementation Testing Maintenance

Problem analysis Requirements specification Preliminary design Initial prototype Detailed design Knowledge acquisition Validation and verification Design adjustment Maintenance

Feasibility Analysis Is there a need? Suitable for expert systems techniques? Is the knowledge heuristic? Does it mimic human problem solving methods? Does the knowledge change periodically? Is the knowledge well understood by experts? Are the input data always correct and complete? Can conventional programming solve it? Does it pass the telephone test? Is an expert system really justified?

Feasibility Analysis (cont) Resources Management support Available expert Competent Articulate Close proximity