© 2002 Franz J. Kurfess Expert System Examples 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.

Slides:



Advertisements
Similar presentations
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
Advertisements

© C. Kemke Constructive Problem Solving 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Chapter 11 user support. Issues –different types of support at different times –implementation and presentation both important –all need careful design.
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Rules, page 1 CSI 4106, Winter 2005 Representing knowledge with rules Points Definitions Production systems Conflict resolution strategies Examples A financial.
© Franz J. Kurfess Expert System Design CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Intelligent systems Lecture 6 Rules, Semantic nets.
Rule Based Systems Michael J. Watts
© 2002 Franz J. Kurfess Expert System Design 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
CPE/CSC 481: Knowledge-Based Systems
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Object-Oriented Analysis and Design
Chapter 6: Design of Expert Systems
© 2005 Franz J. Kurfess Expert System Examples 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
© Franz J. Kurfess Approximate Reasoning 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Knowledge Acquisitioning. Definition The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
© 2002 Franz J. Kurfess Approximate Reasoning 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
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.
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
© 2001 Franz J. Kurfess Introduction 1 CPE/CSC 580: Knowledge Management Dr. Franz J. Kurfess Computer Science Department Cal Poly.
© Franz J. Kurfess Expert System Design 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
EXPERT SYSTEMS Part I.
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Specialized Business Information Systems Chapter 11.
Building Knowledge-Driven DSS and Mining Data
© 2001 Franz J. Kurfess Introduction 1 CPE/CSC 580: Knowledge Management Dr. Franz J. Kurfess Computer Science Department Cal Poly.
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
THE MODEL OF ASIS FOR PROCESS CONTROL APPLICATIONS P.Andreeva, T.Atanasova, J.Zaprianov Institute of Control and System Researches Topic Area: 12. Intelligent.
Sepandar Sepehr McMaster University November 2008
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Chapter 8: Problem Solving
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
MAPLDDesign Integrity Concepts You Mean We’re Still Working On It? Sustaining a Design.
An Introduction to Design Patterns. Introduction Promote reuse. Use the experiences of software developers. A shared library/lingo used by developers.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Lecture 7: Requirements Engineering
Configuration Systems - CSE Sudhan Kanitkar.
Principles of Information Systems, Sixth Edition Specialized Business Information Systems Chapter 11.
Expert System Design 1 Expert Systems Dr. Samy Abu Nasser.
Intro to Computation and AI Dr. Jill Fain Lehman School of Computer Science Lecture 6: December 4, 1997.
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 3 Part II Describing Syntax and Semantics.
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Research Word has a broad spectrum of meanings –“Research this topic on ….” –“Years of research has produced a new ….”
Artificial Intelligence
Expert System Seyed Hashem Davarpanah University of Science and Culture.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
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.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
Knowledge Representation. A knowledge base can be organised in several different configurations to facilitate fast inferencing Knowledge Representation.
Resource Management IB Computer Science.
Introduction Characteristics Advantages Limitations
The following materials are borrowed from Prof. Ken Forbus’ class
Architecture Components
Chapter 6: Design of Expert Systems
Review for the Midterm Exam
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Chapter 4 Entity Relationship (ER) Modeling
CPE/CSC 481: Knowledge-Based Systems
Practical Software Engineering
Chapter 11 user support.
Presentation transcript:

© 2002 Franz J. Kurfess Expert System Examples 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly

© 2002 Franz J. Kurfess Expert System Examples 2 Course Overview u Introduction u Knowledge Representation u Semantic Nets, Frames, Logic u Reasoning and Inference u Predicate Logic, Inference Methods, Resolution u Reasoning with Uncertainty u Probability, Bayesian Decision Making u Expert System Design u ES Life Cycle u CLIPS Overview u Concepts, Notation, Usage u Pattern Matching u Variables, Functions, Expressions, Constraints u Expert System Implementation u Salience, Rete Algorithm u Expert System Examples u Conclusions and Outlook

© 2002 Franz J. Kurfess Expert System Examples 3 Overview ES Examples u Motivation u Objectives u Chapter Introduction u Review of relevant concepts u Overview new topics u Terminology u R1/XCON u System Configuration u Knowledge Representation u Reasoning u Important Concepts and Terms u Chapter Summary

© 2002 Franz J. Kurfess Expert System Examples 4 Logistics u Introductions u Course Materials u textbooks (see below) u lecture notes u PowerPoint Slides will be available on my Web page u handouts u Web page u u Term Project u Lab and Homework Assignments u Exams u Grading

© 2002 Franz J. Kurfess Expert System Examples 5 Bridge-In

© 2002 Franz J. Kurfess Expert System Examples 6 Pre-Test

© 2002 Franz J. Kurfess Expert System Examples 7 Motivation  reasons to study the concepts and methods in the chapter  main advantages  potential benefits  understanding of the concepts and methods  relationships to other topics in the same or related courses

© 2002 Franz J. Kurfess Expert System Examples 8 Objectives  regurgitate  basic facts and concepts  understand  elementary methods  more advanced methods  scenarios and applications for those methods  important characteristics  differences between methods, advantages, disadvantages, performance, typical scenarios  evaluate  application of methods to scenarios or tasks  apply  methods to simple problems

© 2002 Franz J. Kurfess Expert System Examples 9 Evaluation Criteria

© 2002 Franz J. Kurfess Expert System Examples 10 R1/XCON  one of the first commercially successful expert systems  application domain  configuration of minicomputer systems  selection of components  arrangement of components into modules and cases  approach  data-driven, forward chaining  consists of about 10,000 rules written in OPS5  results  quality of solutions similar to or better than human experts  roughly ten times faster (2 vs. 25 minutes)  estimated savings $25 million/year

© 2002 Franz J. Kurfess Expert System Examples 11 System Configuration  complexity  tens or hundreds of components that can be arranged in a multitude of ways  in theory, an exponential problem  in practice many solutions ``don't make sense'', but there is still a substantial number of possibilities  components  important properties of individual components  stored in a data base  constraints  functional constraints derived from the functions a component performs  e.g. CPU, memory, I/O controller, disks, tapes  non-functional constraints  such as spatial arrangement, power consumption,

© 2002 Franz J. Kurfess Expert System Examples 12 Knowledge Representation  configuration space  constructed incrementally by adding more and more components  the correctness of a solution often can only be assessed after it is fully configured  subtasks are identified  make the overall configuration space more manageable  component knowledge  retrieved from the external data base as needed  control knowledge  rules that govern the sequence of subtasks  constraint knowledge  rules that describe properties of partial configurations

© 2002 Franz J. Kurfess Expert System Examples 13 Example Component  partial description of RK611* disk controller  facts are retrieved from the data base and then stored in templates RK611* Class:UniBus module Type:disk drive Supported:yes Priority Level:buffered NPR Transfer Rate:212...

© 2002 Franz J. Kurfess Expert System Examples 14 Example Rule  rules incorporate expertise from configuration experts, assembly technicians, hardware designers, customer service, etc. Distribute-MB-Devices-3 If the most current active context is distributing Massbus devices & there is a single port disk drive that has not been assigned to a Massbus & there are no unassigned dual port disk drives & the number of devices that each Massbus should support is known & there is a Massbus that has been assigned at least one disk drive and that should support additional disk drives & the type of cable needed to connect the disk drive to the previous device is known Then assign the disk drive to the Massbus

© 2002 Franz J. Kurfess Expert System Examples 15 Configuration Task  check order; identify and correct omissions, errors  configure CPU; arrange components in the CPU cabinet  configure UniBus modules; put modules into boxes, and boxes into expansion cabinets  configure panels; assign panels to cabinets and associate panels with modules  generate floor plan; group components and devices  determine cabling; select cable types and calculate distances between components  this set of subtasks and its ordering is based on expert  experience with manual configurations

© 2002 Franz J. Kurfess Expert System Examples 16 Reasoning  data-driven (forward chaining)  components are specified by the customer/sales person  identify a configuration that combines the selected components into a functioning system  pattern matching  activates appropriate rules for particular situations  execution control  a substantial portion of the rules are used to determine what to do next  groups of rules are arranged into subtasks

© 2002 Franz J. Kurfess Expert System Examples 17 Performance Evaluation  notoriously difficult for expert systems  evaluation criteria  usually very difficult to define  sometimes comparison with human experts is used  empirical evaluation  Does the system perform the task satisfactorily?  Are the users/customers reasonably happy with it?  benefits  faster, fewer errors, better availability, preservation of knowledge, distribution of knowledge, etc.  often based on estimates

© 2002 Franz J. Kurfess Expert System Examples 18 Development of R1/XCON  R1 prototype  the initial prototype was developed by Carnegie Mellon University for DEC  XCON commercial system  used for the configuration of various minicomputer system families  first VAX 11/780, then VAX 11/750, then other systems  reimplementation  more systematic approach to the description of control knowledge  clean-up of the knowledge base  performance improvements

© 2002 Franz J. Kurfess Expert System Examples 19 Extension of R1/XCON  addition of new knowledge  wider class of data  additional computer system families  new components  refined subtasks  more detailed descriptions of subtasks  revised descriptions for performance or systematicity reasons  extended task definition  configuration of ``clusters''  tightly interconnected multiple CPUs  related system XSEL  tool for sales support

© 2002 Franz J. Kurfess Expert System Examples 20 Summary R1/XCON  commercial success  after initial reservations within the company, the system was fully accepted and integrated into the company's operation  widely cited as one of the first commercial expert systems  domain-specific control knowledge  the availability of enough knowledge about what to do next was critical for the performance and eventual success of the system  suitability of rule-based systems  appropriate vehicle for the encoding of expert knowledge  subject to a good selection of application domain and task

© 2002 Franz J. Kurfess Expert System Examples 21 Figure Example

© 2002 Franz J. Kurfess Expert System Examples 22 Post-Test

© 2002 Franz J. Kurfess Expert System Examples 23 Evaluation u Criteria

© 2002 Franz J. Kurfess Expert System Examples 24 Important Concepts and Terms  agenda  backward chaining  common-sense knowledge  conflict resolution  expert system (ES)  expert system shell  explanation  forward chaining  inference  inference mechanism  If-Then rules  knowledge  knowledge acquisition  knowledge base  knowledge-based system  knowledge representation  Markov algorithm  matching  Post production system  problem domain  production rules  reasoning  RETE algorithm  rule  working memory

© 2002 Franz J. Kurfess Expert System Examples 25 Summary Chapter-Topic

© 2002 Franz J. Kurfess Expert System Examples 26