Rule-Based/Expert Systems Catie Welsh CSE 435 – IDSS October 13, 2006.

Slides:



Advertisements
Similar presentations
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Advertisements

Chapter 3 Program Design And Branching Structures.
CS 484 – Artificial Intelligence1 Announcements Choose Research Topic by today Project 1 is due Thursday, October 11 Midterm is Thursday, October 18 Book.
Supporting Business Decisions Expert Systems. Expert system definition Possible working definition of an expert system: –“A computer system with a knowledge.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
4 Intelligent Systems.
Chapter 12: Expert Systems Design Examples
Rule Based Systems Alford Academy Business Education and Computing
Chapter 11 Artificial Intelligence and Expert Systems.
Introduction to Expert Systems
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.
Specialized Business Information Systems Chapter 11.
EXPERT SYSTEMS Part I.
Chapter 12: Intelligent Systems in Business
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Specialized Business Information Systems Chapter 11.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 11 Management Decision Making.
“Get outa here!”.
Building Knowledge-Driven DSS and Mining Data
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
ICT in Healthcare Expert Systems.
Chapter 11 Management Decision Making
Sepandar Sepehr McMaster University November 2008
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.
Fundamentals of Information Systems, Second Edition 1 Specialized Business Information Systems Chapter 7.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Expert Systems 10 May Journal Expert vs. Expert System Expert: someone who has an extraordinary amount of knowledge within a narrow domain Expert.
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.
1 Using Information Systems for Decision Making BUS Abdou Illia, Spring 2007 (Week 13, Thursday 4/5/2007)
11 C H A P T E R Artificial Intelligence and Expert Systems.
Copyright R. Weber INFO 629 Concepts in Artificial Intelligence Expert Systems Fall 2004 Professor: Dr. Rosina Weber.
School of Computer Science and Technology, Tianjin University
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
1 ISAT 252: Analytical Methods IV Knowledge-Based Systems (KBS) and Declarative Programming KBS development and KBSDT Details Reading Assignment: Corvid.
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives Artificial intelligence systems form a broad and diverse set of.
CSE (c) S. Tanimoto, 2002 Expert Systems 1 Expert Systems Outline: Various Objectives in Creating Expert Systems Integration of AI Techniques into.
Information knowledge based systems (IKBS) and expert systems.
CSC 554: Knowledge-Based Systems Part-1 By Dr. Syed Noman Hasany Assistant Professor, CoC Qassim University.
Principles of Information Systems, Sixth Edition Specialized Business Information Systems Chapter 11.
Fundamentals of Information Systems, Second Edition 1 Specialized Business Information Systems.
Principles of Information Systems, Sixth Edition Specialized Business Information Systems Chapter 11.
Chapter 13 Artificial Intelligence and Expert Systems.
Artificial Intelligence and Expert Systems. ARTIFICIAL INTELLIGENCE (AI) is the science of R L Being able to Ability to solve a problem.
Impact of ICT on Society – Part the first ICT 1_6.
Course Instructor: K ashif I hsan 1. Chapter # 3 Kashif Ihsan, Lecturer CS, MIHE2.
Expert Systems. L EARNING O BJECTIVES : By the end of this topic you should be able to: explain what is meant by an expert system describe the components.
Artificial intelligence
Chapter 4 Decision Support System & Artificial Intelligence.
Artificial Intelligence, Expert Systems, and Neural Networks Group 10 Cameron Kinard Leaundre Zeno Heath Carley Megan Wiedmaier.
Expert Systems. Expert systems Also known as ‘Knowledge-based systems’:  Computer programs that attempt to replicate the performance of a human expert.
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.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
Artificial Intelligence
ITEC 1010 Information and Organizations Chapter V Expert Systems.
Artificial Intelligence, simulation and modelling.
1 Chapter 13 Artificial Intelligence and Expert Systems.
Expert System / Knowledge-based System Dr. Ahmed Elfaig 1.ES can be defined as computer application program that makes decision or solves problem in a.
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
Expert Systems. Knowledge base Inference engine ReasoningControl User interface user Components of an rule based Expert System.
Kozeta Sevrani - Sistemet e Informacionit11.1 Specialized Business Information Systems Chapter 11.
Decision Support and Business Intelligence Systems (9 th Ed., Prentice Hall) Chapter 12: Artificial Intelligence and Expert Systems.
Tools Of Structured Analysis
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
DSS & Warehousing Systems
Introduction to Expert Systems Bai Xiao
Artificial Intelligence
Expert Systems by Melinda Smith - c  .
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
Expert Systems.
Presentation transcript:

Rule-Based/Expert Systems Catie Welsh CSE 435 – IDSS October 13, 2006

Outline Defining Expert Systems Describing uses and components of Expert Systems Showing an example of an Expert System Describing the underlying programming used to build an expert system.

Definition Expert systems are: – Knowledge based systems – Part of the Artificial Intelligence field – Computer programs that contain some subject-specific knowledge of one or more human experts – Made up of a set of rules that analyze user supplied information about a specific class of problems. – Systems that utilize reasoning capabilities and draw conclusions.

Terms Associated with Expert Systems Knowledge Engineering – building an expert system Knowledge Engineers – the people who build the system Knowledge Representation – the symbols used to represent the knowledge Factual Knowledge – knowledge of a particular task domain that is widely shared Heuristic Knowledge – more judgmental knowledge of performance in a task domain.

Uses of Expert Systems Very useful to companies with a high-level of experience and expertise that cannot easily be transferred to other members. Solves problems that would normally be tackled by a medical or other professional. Currently used in fields such as accounting, medicine, process control, financial service, production, and human resources

Prominent Expert Systems MYCIN – used to diagnose infectious blood diseases and recommend antibiotics. DENDRAL – embedded a chemist’s knowledge of mass spectrometry rules to use in analysis. CADUCEUS – used to analyze blood-borne infectious bacteria CLIPS and Prolog programming languages are both used in expert systems – The Age of Empire game uses CLIPS to control its AI

Building an Expert System Can be built from scratch – using lots of if-then-else statements. There are many products being sold to make programming these systems easier. – A few that I’m aware of: Exsys – – provides an easy to use user interface to develop traditional applications or web-based solutions. Barisoft – – developed by a PSU professor and finely tuned by his studentswww.barisoft.com CLIPS - provides a complete environment for the construction of rules and/or object based expert systems Jess – the Rule Engine, built on top of CLIPS, for the Java Platform

Components of an Expert System Set of Rules – derived from the knowledge base and used by the interpreter to evaluate the inputted data Knowledge Engineer – decides how to represent the experts knowledge and how to build the inference engine appropriately for the domain Interpreter – interprets the inputted data and draws a conclusion based on the users responses.

Problem-solving Models Forward-chaining – starts from a set of conditions and moves towards some conclusion Backward-chaining – starts with a list of goals and the works backwards to see if there is any data that will allow it to conclude any of these goals. Both problem-solving methods are built into inference engines or inference procedures

Knowledge Objects Classes – questions the user is asked Parameters – place holder for a character string which can be variable and used to decide if/when a question is asked Procedures – definitions of calls to external procedures Rule Nodes – inferencing is done by a tree structure (decision trees!) and the nodes are called rule nodes.

Rule Base as a forest of trees Top node is called the goal node. Leaves are rule nodes – several types of rule nodes – Evidence node – functions to obtain information from the operator by asking specific questions – External node – indicates that data will be used which was obtained from a procedure call – Reference node – refers to another tree or subtree

Advantages of Expert Systems Provide consistent answers for repetitive decisions, processes and tasks. Hold and maintain significant levels of information. Reduce employee training costs Centralize the decision making process. Create efficiencies and reduce the time needed to solve problems.

Advantages (cont’d) Combine multiple human expert intelligences Reduce the amount of human errors. Give strategic and comparative advantages creating entry barriers to competitors Review transactions that human experts may overlook.

Disadvantages of Expert Systems Lack human common sense needed in some decision making. Will not be able to give the creative responses that human experts can give in unusual circumstances. Domain experts cannot always clearly explain their logic and reasoning. Challenges of automating complex processes. Lack of flexibility and ability to adapt to changing environments. Not being able to recognize when no answer is available.

Example Expert System This is an example expert system built to help show a user their potential risk of contracting colon cancer based on their lifestyle and family history.

Example System OBJECT NUMBER 21 Name: [Age_Related] Prompt: How OLD were you when you were FIRST diagnosed with any of the other related cancer? Max. selections: 100 Legal Values: OBJECT NUMBER 22 Name: {orc_age_rpt} Prompt: Please enter a value for the ORC_AGE_RPT. Max. selections: open Legal Values: -OPEN STRING OBJECT NUMBER 23 Name: Two_Related_Cancers Prompt: Have you ever been diagnosed with any TWO or more of the following cancers? Colon, Gastric, Small Bowel, Hepatobiliary, Pancreatic, Endometrial, Ovarian, Renal pelvis, or Ureter. Max. selections: 1 Legal Values: -Yes -No OBJECT NUMBER 24 Name: {Non_Related_Cancers} Prompt: Please enter any additional CANCERS for which YOU have been diagnosed. Example: Breast, Lymphoma. If no other cancers, then type None. Max. selections: open Legal Values: -OPEN STRING

Example System (cont’d) * * * * RULES SUMMARY * * * * No. of rules defined: 129 RULE NUMBER 1:disclaimer-no IF Disclaimer=No - I do not agree to the terms and conditions in the disclaimer THEN {status}=stop program !Action=!LOOP RULE NUMBER 2:disclaimer-yes IF Disclaimer=Yes - I have read the disclaimer and agree to all of its terms and conditions THEN {status}=continue with program RULE NUMBER 3:Object Initialization IF THEN [LS_Score]=0 RULE NUMBER 4:BMI Calculation IF [height]==!NOTBLANK [weight]==!NOTBLANK THEN [bmi]=([weight]*703)/([height]*[height])

More Rules for the Example System RULE NUMBER 123:Calc Greater Next or Suggested IF [age]==!NOTBLANK [Suggested_Screen_Age]==!NOTBLANK [Next_Scrn_Age]==!NOTBLANK THEN [Dif_Next]=[Next_Scrn_Age]-[Suggested_Screen_Age] RULE NUMBER 124:If Next later than Suggested IF [Dif_Next]=>0 THEN [Age_Difference]=[age]-[Next_Scrn_Age] RULE NUMBER 125:If Next less or equal Suggested IF [Dif_Next]=<1 THEN [Age_Difference]=[age]-[Suggested_Screen_Age] RULE NUMBER 126:Get1stScrn Now IF [Age_Difference]==0 THEN {screening_rec_age_rpt}=Schedule Screening Now at Age ([age]). [Get_Screened_Age]=[age]

Conclusions Very interesting field of AI. Expert Systems are extremely useful in the right domain. They are inflexible and require a lot of collaboration between a knowledge engineer and a domain expert. When implemented correctly, expert systems remove human error from the equation.

References “Expert Systems and Artificial Intelligence”. Engelmore, R., Feigenbaum, E., Chapter “The Origin of Rule-Based Systems in AI”, Davis, R., King, J. “Expert System – Wikipedia”,