Desingning FC Rule-Based Systems Designing Forward-Chaining Rule-Based Systems Instructor: Mr. Halavati By: Shahin Jabbari Arfaee Pooya Esfandiar 7/2/20151.

Slides:



Advertisements
Similar presentations
System Development Life Cycle (SDLC)
Advertisements

STRONG METHOD PROBLEM SOLVING
Int 2 Computing Software Development.
G-RCA: A Generic Root Cause Analysis Platform for Service Quality Management in Large IP Networks He Yan, Lee Breslau, Zihui Ge, Dan Massey, Dan Pei, Jennifer.
Mgt 240 Lecture Decision Support Systems March 3, 2005.
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.
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer.
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.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Bahar Qarabaqi Azar 19 th, FC Inferencing Initial information about the problem being asserted into working memory. Database Sensors User.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
Sepandar Sepehr McMaster University November 2008
Strong Method Problem Solving.
Daphne Koller Bayesian Networks Application: Diagnosis Probabilistic Graphical Models Representation.
1. Learning Outcomes At the end of this lecture, you should be able to: –Define the term “Usability Engineering” –Describe the various steps involved.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 1 The Systems.
1 Backward-Chaining Rule-Based Systems Elnaz Nouri December 2007.
S/W Project Management
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
1 USING EXPERT SYSTEMS TECHNOLOGY FOR STUDENT EVALUATION IN A WEB BASED EDUCATIONAL SYSTEM Ioannis Hatzilygeroudis, Panagiotis Chountis, Christos Giannoulis.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design.
B. Ross Cosc 4f79 1 Commercial tools Size of system: –small systems 400 rules single user, PC based –larger systems narrow, problem-type specific or hybrid.
1 SYS366 Lecture 1: Introduction to Systems. 2 What is Software Development? Software Development implies developing some software – but it does not involve.
Explanation Facility دكترمحسن كاهاني
Course Instructor: K ashif I hsan 1. Chapter # 2 Kashif Ihsan, Lecturer CS, MIHE2.
School of Computer Science and Technology, Tianjin University
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.
 Architecture and Description Of Module Architecture and Description Of Module  KNOWLEDGE BASE KNOWLEDGE BASE  PRODUCTION RULES PRODUCTION RULES 
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
1 Introduction to Software Engineering Lecture 1.
CSC 554: Knowledge-Based Systems Part-1 By Dr. Syed Noman Hasany Assistant Professor, CoC Qassim University.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Using the Right Method to Collect Information IW233 Amanda Murphy.
CS62S: Expert Systems Requirements Specification and Design Based on Chap. 12: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez.
Systems Analysis and Design in a Changing World, Fourth Edition
Object-Oriented Software Engineering using Java, Patterns &UML. Presented by: E.S. Mbokane Department of System Development Faculty of ICT Tshwane University.
SOFTWARE ENGINEERING MCS-2 LECTURE # 4. PROTOTYPING PROCESS MODEL  A prototype is an early sample, model or release of a product built to test a concept.
1 PVDI personal vehicle diagnostic interpreter Grandma Photo courtesy of Getty Images.
7 Service Information and Work Orders Chapter Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc. Objectives After.
Srinivas Cheekati( ) Instructor: Dr. Dong-Chul Kim
1 Knowledge Based Systems (CM0377) Lecture 10 (Last modified 19th March 2001)
Inferencing in rule-based systems: forward and backward chaining.
Metadata By N.Gopinath AP/CSE Metadata and it’s role in the lifecycle. The collection, maintenance, and deployment of metadata Metadata and tool integration.
Expert Systems. Expert systems Also known as ‘Knowledge-based systems’:  Computer programs that attempt to replicate the performance of a human expert.
COM362 Knowledge Engineering Exam Revision 1 John MacIntyre
Expert Systems. Learning Objectives: By the end of this topic you should be able to: explain what is meant by an expert system describe the components.
Backward-Chaining Rule-Based Systems
Artificial Intelligence
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
The article written by Boyarshinova Vera Scientific adviser: Eltyshev Denis THE USE OF NEURO-FUZZY MODELS FOR INTEGRATED ASSESSMENT OF THE CONDITIONS OF.
Artificial Intelligence: Applications
Lecture 25.
CMPE 280 Web UI Design and Development August 29 Class Meeting
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Architecture Components
Diagnose the Common Problems in the Car Before it too Late.
Data Science Process Chapter 2 Rich's Training 11/13/2018.
Tools of Software Development
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
TOPIC: Course Name Informational Technology Management Course Code
COMP444 Human Computer Interaction Usability Engineering
Test-Driven Ontology Development in Protégé
K.S. School of Business Management (MIS)
Presentation transcript:

Desingning FC Rule-Based Systems Designing Forward-Chaining Rule-Based Systems Instructor: Mr. Halavati By: Shahin Jabbari Arfaee Pooya Esfandiar 7/2/20151

Desingning FC Rule-Based Systems Introduction General Design Methodologies for FC Systems Project objective definition The major issues How experts recommend using available information Development tasks Automobile Diagnostics Domain Most diagnostic ES used BC because most problems had a finite number of possible faults Diagnostic problem with an automobile (many possible faults) 7/2/20152

Desingning FC Rule-Based Systems Tasks in Developing an FC System 1.Define the problem 2.Define input data 3.Define data-driven structure 4.Write initial code 5.Test the system 6.Design the interface 7.Expand the system 8.Evaluate the system 7/2/20153

Desingning FC Rule-Based Systems Task 1: Define the Problem The initial design step like BC In our problem: learn about automobile diagnostics by locate a good car mechanic as an expert Alternative approach: use a “troubleshooting” manual probably written by an expert 7/2/20154

Desingning FC Rule-Based Systems Manuals Repair Manuals For many diagnostic problems Can aid problem troubleshooting Step-by-step series of test to isolate the problem Shortcomings: The manual must be readily available The manual must be easy to follow Some one must maintain the manual 7/2/20155

Desingning FC Rule-Based Systems Manuals (Cont’d) Auto Repair Manuals Many excellent ones exist Help to identify and repair various car problems Most have a troubleshooting section The troubleshooting section is divided according to the principal problems 7/2/20156

Desingning FC Rule-Based Systems Manuals (Cont’d) 7/2/20157

Desingning FC Rule-Based Systems Manuals (Cont’d) 7/2/20158

Desingning FC Rule-Based Systems Manuals (Cont’d) 7/2/20159

Desingning FC Rule-Based Systems Task1 (Cont’d) Problem Specification After developing the system’s structure to address this problem, we should have a good idea of how to manage other possible car problems Our problem specification:  Address problem associated with “engine won’t start”  Address only “cranking system” problems 7/2/201510

Desingning FC Rule-Based Systems Task 2: Define Input Data Every FC system need some initial data to get started Write rules whose only task is to ask for some information about the question Rule 1 start diagnosis IF Task IS begin THEN ASK Car problem Car won’t start Car hesitates at high speeds Car idles rough … 7/2/201511

Desingning FC Rule-Based Systems Task 3: Define Data-Driven Structure FC system works by firing rules (using working memory) IF A THEN Infer or do something Adequate result in small applications Manual => Decision Tree => Rules 7/2/201512

Desingning FC Rule-Based Systems Task 3: Define Data-Driven Structure (Cont’d) In our problem IF Task is test battery connection → TEST AND Lights do not brighten → RESULTS THEN Task is test battery → PROCEED TO 7/2/201513

Desingning FC Rule-Based Systems Task 4: Write Initial Code Determine if we have effectively captured the problem’s knowledge A good rule structure provides: – correct results – a template to follow rules RULE test cranking system IFCar problem IS car won’t start THEN Task IS test cranking system 7/2/201514

Desingning FC Rule-Based Systems Task 4: Write Initial Code (Cont’d) 7/2/201515

Desingning FC Rule-Based Systems Task 5: Test the System 7/2/ Typical Tests A snapshot: System: Please turn on the ignition. How does the engine turn? 1) Slowly or not at all 2) Normally User: Normally

Desingning FC Rule-Based Systems Task 6: Design the Interface Attention to Interface after most of knowledge base has been complete Begin early and develop it in parallel with the development of knowledge base 7/2/201517

Desingning FC Rule-Based Systems Task 6: Design the Interface (Cont’d) Dynamic GUI ES’s were text based Today shells offer features to customize the interface 7/2/201518

Desingning FC Rule-Based Systems Task 6: Design the Interface (Cont’d) Dynamic Graphical Interface (Cont’d) Knowledge base contains: Information that is displayed on the interface FC rules that works with the information IF Inc Speed THEN Speed = Speed + 5 AND Speed increase IF Speed increase THEN Temperature = (Speed * 2) AND Oil pressure = (Speed * 0.5) /2/201519

Desingning FC Rule-Based Systems Task 6: Design the Interface (cont’d) Screen Contents Display Screens  Introduction Screen  Intermediate Finding Screen  Conclusion Screen Question Screen 7/2/201520

Desingning FC Rule-Based Systems Task 6: Design the Interface (Cont’d) 7/2/201521

Desingning FC Rule-Based Systems Task 6: Design the Interface (Cont’d) 7/2/201522

Desingning FC Rule-Based Systems Task 7: Expand the System 7/2/ Developing additional rules! => additional screens

Desingning FC Rule-Based Systems Task 8: Evaluate the System The evaluation is concerned with testing the prototype with some real test case Turn to our Expert for the test case! 7/2/201524

Desingning FC Rule-Based Systems Task 8: Evaluate the System (Cont’d) 7/2/201525

Desingning FC Rule-Based Systems Task 8: Evaluate the System (Cont’d) 7/2/201526

Desingning FC Rule-Based Systems Summary on FC design The design of FC expert systems is a highly iterative process. The systems should be tested immediately after introduction of new rules FC inference is preferred over BC if either the goals are not known a priori or their number is very large. Defining the initial data is the starting point for a FC design process. 7/2/201527

Desingning FC Rule-Based Systems Summary on FC design (Cont’d) Rules used in FC system keeps track of the state of the problem solving Design of the system’s interface should begin early in the project and develop in parallel 7/2/201528

Desingning FC Rule-Based Systems Thank you for your patience! Any Question?