Chapter 1: Introduction to Expert Systems

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

3rd Annual Plex/2E Worldwide Users Conference 13A Batch Processing in 2E Jeffrey A. Welsh, STAR BASE Consulting, Inc. September 20, 2007.
AP STUDY SESSION 2.
1
Chapter 7 System Models.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
1 Hyades Command Routing Message flow and data translation.
David Burdett May 11, 2004 Package Binding for WS CDL.
Introduction to Algorithms 6.046J/18.401J
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt FactorsFactors.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Wants.
Programming Language Concepts
Chapter 7 Sampling and Sampling Distributions
The 5S numbers game..
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
1.
Week 2 The Object-Oriented Approach to Requirements
Pole Placement.
Break Time Remaining 10:00.
Chapter 11: Models of Computation
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
Database Performance Tuning and Query Optimization
PP Test Review Sections 6-1 to 6-6
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Adding Up In Chunks.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Prof.ir. Klaas H.J. Robers, 14 July Graduation: a process organised by YOU.
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
Chapter 12 Analyzing Semistructured Decision Support Systems Systems Analysis and Design Kendall and Kendall Fifth Edition.
Chapter 12 Working with Forms Principles of Web Design, 4 th Edition.
Essential Cell Biology
Clock will move after 1 minute
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
9. Two Functions of Two Random Variables
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Chapter 12: Expert Systems Design Examples
Introduction to Expert Systems
Chapter 1: Introduction to Expert Systems
EXPERT SYSTEMS Part I.
Chapter 1: Introduction to Expert Systems
Chapter 1: Introduction to Expert Systems
Chapter 1: Introduction to Expert Systems
Sepandar Sepehr McMaster University November 2008
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Introduction to Expert Systems. 2 Objectives Learn the meaning of an expert system Understand the problem domain and knowledge domain Learn the advantages.
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition.
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition Original by Course Technology Modified by Ramin Halavati.
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition Original by Course Technology Modified by Ramin Halavati.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
Survey on Expert System Seung Jun Lee Dept. of Nuclear and Quantum Engineering KAIST Mar 3, 2003.
Chapter 1: Introduction to Expert Systems
Introduction Characteristics Advantages Limitations
Introduction to Expert Systems Bai Xiao
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Expert Systems.
Chapter 1: Introduction to Expert Systems
Presentation transcript:

Chapter 1: Introduction to Expert Systems

Objectives Learn the meaning of an expert system Understand the problem domain and knowledge domain Learn the advantages of an expert system Understand the stages in the development of an expert system Examine the general characteristics of an expert system

Objectives Examine earlier expert systems which have given rise to today’s knowledge-based systems Explore the applications of expert systems in use today Examine the structure of a rule-based expert system Learn the difference between procedural and nonprocedural paradigms

What is an expert system? “An expert system is a computer system that emulates, or acts in all respects, with the decision-making capabilities of a human expert.” Professor Edward Feigenbaum Stanford University

Fig 1.1 Areas of Artificial Intelligence

Expert system technology may include: Special expert system languages – CLIPS Programs Hardware designed to facilitate the implementation of those systems

Expert System Main Components Knowledge base – obtainable from books, magazines, knowledgeable persons, etc. Inference engine – draws conclusions from the knowledge base

Figure 1.2 Basic Functions of Expert Systems

Problem Domain vs. Knowledge Domain An expert’s knowledge is specific to one problem domain – medicine, finance, science, engineering, etc. The expert’s knowledge about solving specific problems is called the knowledge domain. The problem domain is always a superset of the knowledge domain.

Figure 1.3 Problem and Knowledge Domain Relationship

Advantages of Expert Systems Increased availability Reduced cost Reduced danger Performance Multiple expertise Increased reliability

Advantages Continued Explanation Fast response Steady, unemotional, and complete responses at all times Intelligent tutor Intelligent database

Representing the Knowledge The knowledge of an expert system can be represented in a number of ways, including IF-THEN rules: IF you are hungry THEN eat

Knowledge Engineering The process of building an expert system: The knowledge engineer establishes a dialog with the human expert to elicit knowledge. The knowledge engineer codes the knowledge explicitly in the knowledge base. The expert evaluates the expert system and gives a critique to the knowledge engineer.

Development of an Expert System

The development of ES technology The roots of ES lie in many disciplines. In particular one of the major roots of ES is the area of human information processing called Cognitive science Cognition is the study of how humans process information. In other words cognition is the study of how people think especially when solving problems. The study of cognition is very important if we want to make computers emulate human experts.

One of the most significant results demonstrated by Newell and simon was that much of human problem solving or cognition could be expressed by IF........THEN type production rules. eg.IF it looks like its going to rain THEN carry an umbrella A rule corresponds to a small, modular collection of knowledge called a chunk. One theory is that all human memory is organized in chunks. An example of a rule representing a chunk of knowledge is IF the car doesn't run and the fuel gauage reads empty THEN fill the gas tank.

The basic idea is that sensory input provides stimuli to the brain The basic idea is that sensory input provides stimuli to the brain. The stimuli triggers the appropriate rule which produces the appropriate response. The other element necessary for human problem solving is cognitive processor. The cognitive processor tries to find the rules that will be activated by the appropriate stimuli. for eg. you wouldn't want to fill your gas tank every time you heard a siren. only a rule that matched the stimuli would be activated. The inference engine of modern expert systems corresponds to the cognitive processor.

Application Domains of ES ES are designed for symbolic reasoning while conventional programming languages are for problems which have algorithmic solutions and the problems are numeric calculations. Languages such as LISP and prologe are designed for symbolic manipulation and they are more general purpose than other ES language shells It does not mean that it is not possible to build ES using this languages

Table 1.3 Broad Classes of Expert Systems

Early Expert Systems DENDRAL – used in chemical mass spectroscopy to identify chemical constituents *interprets molecular structure(chemistry expert system) MYCIN – Diagnose/remedy bacterial infection(Medical expert system) DIPMETER – geological data analysis for oil(Geology Expert System) PROSPECTOR – geological data analysis for minerals(Geology Expert System) XCON/R1 – configuring computer systems

Considerations for Building Expert Systems Can the problem be solved effectively by conventional programming? if the answer is yes the ES is not the best choice.ES are best suited for problems which there is no efficient algorithm for the solution and reasoning is needed for the solution Is there a need and a desire for an expert system? Is there at least one human expert who is willing to cooperate? Can the expert explain the knowledge to the knowledge engineer can understand it. Even if the expert is willing to cooperate there may be difficulty in expressing in explicit terms. It may a year or longer for the knowledge engineer to even understand what the expert is talking about , let alone translating the knowledge into explicit computer code. Is the problem-solving knowledge mainly heuristic and uncertain? In other words is the knowledge based on experience and the expert system may have to try various approaches in case one doesn’t work(trial and error) than one based on logic and algorithm. If the problem can simply solved by logic and alg. conventional programming

Uncertainty Both human experts and expert systems must be able to deal with uncertainty. It is easier to program expert systems with shallow knowledge than with deep knowledge. Shallow knowledge – based on empirical and heuristic knowledge. Deep knowledge – based on basic structure, function, and behavior of objects.

Limitations of Expert Systems Typical expert systems cannot generalize through analogy to reason about new situations in the way people can. A knowledge acquisition bottleneck results from the time-consuming and labor intensive task of building an expert system.

Problems with Algorithmic Solutions Conventional computer programs generally solve problems having algorithmic solutions. Algorithmic languages include C, Java, and C#. Classical AI languages include LISP and PROLOG.

Languages, Shells, and Tools Expert system languages are post-third generation. Procedural languages (e.g., C) focus on techniques to represent data. More modern languages (e.g., Java) focus on data abstraction. Expert system languages (e.g. CLIPS) focus on ways to represent knowledge.

Expert systems Vs conventional programs I

Expert systems Vs conventional programs II

Expert systems Vs conventional programs III

Elements of an Expert System User interface – mechanism by which user and system communicate. Explanation facility – explains reasoning of expert system to user. Working memory – global database of facts used by rules. Inference engine – makes inferences deciding which rules are satisfied and prioritizes the satisfied rules. and executes the rules with the highest priority

Knowledge Base – includes the rules of the expert system Elements Continued Agenda – a prioritized list of rules created by the inference engine, whose patterns are satisfied by facts or objects in working memory. Knowledge acquisition facility – automatic way for the user to enter knowledge in the system instead of the explicit coding by knowledge engineer. Knowledge Base – includes the rules of the expert system

Figure 1.6 Structure of a Rule-Based Expert System

Production Rules Knowledge base is also called production memory. Production rules can be expressed in IF-THEN pseudocode format. In rule-based systems, the inference engine determines which rule antecedents are satisfied by the facts.

Rule-Based ES

Example Rules

Inference Engine Cycle

Foundation of Expert Systems

Procedural Paradigms Algorithm – method of solving a problem in a finite number of steps. Procedural programs are also called sequential programs. The programmer specifies exactly how a problem solution must be coded.

Figure 1.8 Procedural Languages

Imperative Programming Also known as statement-oriented During execution, program makes transition from the initial state to the final state by passing through series of intermediate states. Provide rigid control and top-down-design. Not efficient for directly implementing expert systems.

Functional Programming Function-based (association, domain, co-domain); f: S T Not much control Bottom-up combine simple functions to yield more powerful functions. Mathematically a function is an association or rule that maps members of one set, the domain, into another set, the codomain. e.g. LISP and Prolog

Nonprocedural Paradigms Do not depend on the programmer giving exact details how the program is to be solved. Declarative programming – goal is separated from the method to achieve it. Object-oriented programming – partly imperative and partly declarative – uses objects and methods that act on those objects. Inheritance – (OOP) subclasses derived from parent classes.

Figure 1.9 Nonprocedural Languages

What are Expert Systems? Can be considered declarative languages: Programmer does not specify how to achieve a goal at the algorithm level. Induction-based programming – the program learns by generalizing from a sample.

Summary During the 20th Century various definitions of AI were proposed. In the 1960s, a special type of AI called expert systems dealt with complex problems in a narrow domain, e.g., medical disease diagnosis. Today, expert systems are used in a variety of fields. Expert systems solve problems for which there are no known algorithms.

Summary Continued Expert systems are knowledge-based – effective for solving real-world problems. Expert systems are not suited for all applications. Future advances in expert systems will hinge on the new quantum computers and those with massive computational abilities in conjunction with computers on the Internet.