EXPERT SYSTEMS Part I.

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 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
1 Rule Based Systems Introduction to Production System Architecture.
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
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.
ICT IGCSE 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,
Reasoning System.  Reasoning with rules  Forward chaining  Backward chaining  Rule examples  Fuzzy rule systems  Planning.
Intelligent systems Lecture 6 Rules, Semantic nets.
Rule Based Systems Michael J. Watts
Chapter 12: Expert Systems Design Examples
Knowledge Representation and Expert Systems by Sujan Pakala Stephen Brown.
Rule Based Systems Alford Academy Business Education and Computing
Expert System Human expert level performance Limited application area Large component of task specific knowledge Knowledge based system Task specific knowledge.
Introduction to Expert Systems
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.
Artificial Intelligence CAP492
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.
Rules and Expert Systems
© 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.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Building Knowledge-Driven DSS and Mining Data
ES: Expert Systems n Knowledge Base (facts, rules) n Inference Engine (software) n User Interface.
Artificial Intelligence CSC 361
An expert system is a package that holds a body of knowledge and a set of rules on a subject that has been gained from human experts. An expert system.
Expert Systems Expert systems are AI programs that solve a highly technical problem in some domain Expert systems are AI programs that solve a highly technical.
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.
1 Backward-Chaining Rule-Based Systems Elnaz Nouri December 2007.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Rule-Based Expert Systems
Introduction to Expert Systems. 2 Objectives Learn the meaning of an expert system Understand the problem domain and knowledge domain Learn the advantages.
13: Inference Techniques
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition.
IDDS: Rules-based Expert Systems
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.
Chapter 9: Rules and Expert Systems Lora Streeter.
 Architecture and Description Of Module Architecture and Description Of Module  KNOWLEDGE BASE KNOWLEDGE BASE  PRODUCTION RULES PRODUCTION RULES 
CSC 554: Knowledge-Based Systems Part-1 By Dr. Syed Noman Hasany Assistant Professor, CoC Qassim University.
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
Expert System Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
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.
Rules and Expert Systems
1 Knowledge Based Systems (CM0377) Lecture 10 (Last modified 19th March 2001)
Inferencing in rule-based systems: forward and backward chaining.
Expert Systems. Expert systems Also known as ‘Knowledge-based systems’:  Computer programs that attempt to replicate the performance of a human expert.
EXPERT SYSTEMS or KNOWLEDGE BASED SYSTEMS a. When we wish to encode a rich source of knowledge within the program. and b. The scope of systems.
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.
Chapter 9. Rules and Expert Systems Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
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
Forward and Backward Chaining
Expert System Seyed Hashem Davarpanah University of Science and Culture.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
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.
Artificial Intelligence: Applications
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
Lecture 20. Recap The main components of an ES are –Knowledge Base (LTM) –Working Memory (STM) –Inference Engine (Reasoning)
Advanced AI Session 2 Rule Based Expert System
Chapter 9. Rules and Expert Systems
Introduction to Expert Systems Bai Xiao
Architecture Components
CS62S: Expert Systems Based on:
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Chapter 9. Rules and Expert Systems
Presentation transcript:

EXPERT SYSTEMS Part I

What is there in an expert system? Components of an expert system Knowledge acquisition and knowledge engineering Explanations User interface Expert system shells Expert systems demos

Introduction Expert systems solve real problems which normally would require a specialized human expert (such as a doctor or a lawyer). Knowledge characteristics: heuristic in nature, based on ``rules of thumb''

Domains Medicine Engineering Geology Computer Science Business Law etc

Types of problems diagnosis (e.g., of a system fault, disease or student error) design (of a computer systems, hotel etc) interpretation (of, for example, geological data

Rule Based Production Systems Most ES are rule-based production systems Their knowledge is represented in the form of production rules to provide diagnoses or advice on the basis of input data. Production rules are if-then rules IF it rains, then you will get wet IF it rains, then you should wear a coat

Components of an expert system User Inter- face Explanation system Inference engine Knowledge base editor Case specific data: Working storage Knowledge base Expert system shell

Expert system knowledge base Domain inference rules and object descriptions Case specific data Knowledge base editor: creating and updating the knowledge base

Knowledge acquisition and knowledge engineering Domain expert Knowledge engineer Knowledge acquisition : The process of "extracting" the knowledge from the domain expert and representing the knowledge in a suitable form that can be used by the expert system

Inference Engine Forward chaining: derive all conclusions given certain facts Select applicable rules Choose a rule (conflict resolution) Execute the rule and update the case-specific data Backward chaining: prove a given goal by verifying the conditions in the IF-THEN rules Coping with uncertainty Mixed reasoning

Forward Chaining Forward chaining is a reasoning model that works from a set of facts and rules towards a set of conclusions, diagnoses or recommendations. When a fact matches the antecedent of a rule, the rule fires, and the conclusion of the rule is added to the database of facts.

Conflict Resolution More than one rule will may be used A conflict resolution strategy decides which rule to use. Strategies: give rules priorities and use the conclusion that has the highest priority. apply the rule with the longest antecedent apply the rule whose condition was most recently added to the database.

Rete Algorithm for Forward Chaining Reorganize the rules in a network so that the conditions are linked to the rules, i.e. rules are indexed by their antecedents When a new conclusion is made or a new fact arrives, examine only those rules whose antecedents contain the new conclusions or facts The algorithm makes forward chaining much faster at the expense of greater memory requirements

Backward Chaining Used when a particular conclusion is to be proved. Works back from a conclusion towards the original facts. When a conclusion matches the conclusion of a rule in the database, the system tries to prove the antecedents of the rule.

Coping with uncertainty The ability of the system to reason with rules and data which are not precisely known. Certainty factors: Apply to the known facts: how much we trust the recorded facts Apply to the rules: how much we trust the rules

Meta Rules Meta rules : knowledge about how the system works. Example of meta rules: The rules that determine the conflict resolution strategy Meta rules might define that knowledge from Expert A is to be trusted more than knowledge from Expert B.

Meta Rules Implementation of meta rules: Implicit – in the inference engine (e.g. conflict resolution) Explicit - treated by the system like normal rules, but are given higher priority

Mixed Reasoning Collect initial data and use forward reasoning to determine a set of possible conclusions Use backward reasoning to prove or disprove each conclusion

Example of Mixed Reasoning in Medical ES Collect data to build hypotheses For each hypothesis H: If H is in the facts database, it is proved. Otherwise, if H can be determined by asking a question, then enter the user’s answer in the facts database. Hence, it can be determined whether H is true or false. Otherwise, find a rule whose conclusion is H. Now apply this algorithm to try to prove this rule’s antecedents. If none of the above applies, we have failed to prove H.

Explanations Why a particular question is asked How a conclusion has been reached Why not some other conclusion What if a particular symptom is present Terminology – explain the terms used by the system

User interface End-users Knowledge engineer Experts Requirements: Self-consistent Consistent with widely used interface systems Provide navigation help Incorporate user model

Expert System Shells The shell is a piece of software which contains the user interface, a format for declarative knowledge in the knowledge base, and an inference engine. The knowledge engineer uses the shell to build a system for a particular problem domain.

CLIPS CLIPS is C Language Integrated Production System – an expert system shell. CLIPS uses a LISP-like notation to enter rules.

CYC A frame based production system. Uses a database of over 1,000,000 facts and rules, encompassing all fields of human knowledge. CYC can answer questions about all kinds of knowledge in its database, and can even understand analogies, and other complex relations.