Introduction to First Introduction to First Generation Expert - - PowerPoint PPT Presentation

introduction to first introduction to first generation
SMART_READER_LITE
LIVE PREVIEW

Introduction to First Introduction to First Generation Expert - - PowerPoint PPT Presentation

Introduction to First Introduction to First Generation Expert Generation Expert Systems Systems Prof. Dr. Ahm ed Rafea Prof. Dr. Ahm ed Rafea Topics Topics What is expert system? What is expert system? The structure of an


slide-1
SLIDE 1

Introduction to First Introduction to First Generation Expert Generation Expert Systems Systems

  • Prof. Dr. Ahm ed Rafea
  • Prof. Dr. Ahm ed Rafea
slide-2
SLIDE 2

Topics Topics

  • What is expert system?

What is expert system?

  • The structure of an expert system

The structure of an expert system

  • Characteristics of an expert system

Characteristics of an expert system

  • When are expert systems useful?

When are expert systems useful?

  • The players in the expert system game

The players in the expert system game

  • Evolution of expert systems

Evolution of expert systems

slide-3
SLIDE 3

What is expert system? What is expert system?

An Expert System (Es) is a An Expert System (Es) is a computer program designed to computer program designed to simulate the problem simulate the problem-

  • solving

solving behavior of an expert in a narrow behavior of an expert in a narrow domain or discipline. domain or discipline.

slide-4
SLIDE 4

What is expert system?(cont.) What is expert system?(cont.)

ARTIFICIAL INTELLIGENCE PROGRAMS Exhibit intelligent behavior by skillful application of heuristics make domain knowledge explicit and separate from the rest of the system KNOWLEDGE-BASED SYSTEMS Apply expert knowledge to difficult, real world problems EXPERT SYSTEMS

slide-5
SLIDE 5

The structure of an expert system The structure of an expert system

KNOWLEDGE BASE Domain Knowledge FACTS RULES INTERPRETER SCHEDULER

Organizing Knowledge

EXPERT SYSTEM

INFERENCE ENGINE General problem-solving knowledge

slide-6
SLIDE 6

Representing knowledge Representing knowledge

  • Rule

Rule-

  • based methods

based methods

  • Frame

Frame-

  • based methods

based methods

slide-7
SLIDE 7

Rules Rules

  • A rule is a formal way of specifying a

A rule is a formal way of specifying a recommendation, directive, or advice recommendation, directive, or advice

  • A rule is expressed as

A rule is expressed as IF IF premise premise THEN THEN conclusion conclusion

  • r
  • r

IF IF condition condition THEN THEN action action

slide-8
SLIDE 8

A diagnostic rule A diagnostic rule

IF IF there are spots on leaves, and the color of spots is pale yellow, gray, or purple, and the shape of spots is bounded making acute angle with veins, and the season is spring Then Then the disease is downy mildew - probability = 0.9

slide-9
SLIDE 9

A treatment rule A treatment rule

IF IF the disease is downy mildew THEN THEN the treatment method is chemical spraying, and the material used is redomil+copper

slide-10
SLIDE 10

Drawing inferences from rules Drawing inferences from rules

  • Forward chaining

Forward chaining

  • Backward chaining

Backward chaining

slide-11
SLIDE 11

Frames Frames

  • A frame is a description of an object

A frame is a description of an object that contains that contains slots slots for all of the for all of the information associated with the information associated with the

  • bject
  • bject
  • Slots may contain

Slots may contain (default) values (default) values, ,

  • r
  • r procedures

procedures by which values may by which values may be obtained be obtained

slide-12
SLIDE 12

Soil Frame Soil Frame

Slots Facets Ph value type: real single/multiple: single possible value: > 0.0 & 14.0 EC value type: real single/multiple: single possible value: > 0.0 Texture value type: nominal single/multiple: single possible value: sand, loam, clay, heavy clay, gravely, coarse sand, silty clay, silty clay loam, salt loam, fine sand, sand clay loam, silt loam, sandy loam, loamy fine sand … …

slide-13
SLIDE 13

Frames connected by IS-A relation

Leaf mold Downy mildew Fungal Mosaic Green Mosaic Viral Disease Spiders Broad mite Mites Low temperature Heavy irrigation Environmental aphids Insect Nitrogen Iron Nutrition Deficiency Bromide Bazamide Toxicity Root knot Root lesion Nematode Disorder

Disorder hierarchy Disorder hierarchy

generic specialized

slide-14
SLIDE 14

Drawing inferences from frames Drawing inferences from frames

  • Inheritance

Inheritance

  • Procedure attachment

Procedure attachment

slide-15
SLIDE 15

Characteristics of an expert system Characteristics of an expert system

Expert System Expertise Symbolic reasoning Depth Self-knowledge Exhibit expert performance Have high level of skill Have adequate robustness Represent knowledge symbolically Reformulate symbolic knowledge Handle difficult problem domains Use complex rules Examine its own reasoning Explain its operation

slide-16
SLIDE 16

When are expert systems useful? When are expert systems useful?

  • Nature of the task

Nature of the task

– – Experts can do better than nonexperts Experts can do better than nonexperts – – The task involves reasoning and knowledge, The task involves reasoning and knowledge, not intuitions or reflexes not intuitions or reflexes – – The task can be done by a person in minutes The task can be done by a person in minutes

  • r hours
  • r hours

– – The task is concrete enough to codify The task is concrete enough to codify – – The task is commonly taught to novices in The task is commonly taught to novices in the area the area

slide-17
SLIDE 17

When are expert systems useful? When are expert systems useful?

(Cont.) (Cont.)

  • Availability of knowledge

Availability of knowledge

– – Recognized experts exist Recognized experts exist – – There is general agreement among experts There is general agreement among experts – – Experts are able and willing to articulate the way Experts are able and willing to articulate the way they approach problems they approach problems

slide-18
SLIDE 18

The players in the expert system game The players in the expert system game

Tool builder

EXPERT SYSTEM BUILDING TOOL Domain expert Knowledge engineer EXPERT SYSTEM Clerical Staff End-user Interviews Builds refines and tests Extends and test Builds Uses Uses

slide-19
SLIDE 19

Tools for ES Development Tools for ES Development

  • Programming language

Programming language

  • Shell

Shell

slide-20
SLIDE 20

Shells VS Programming languages Shells VS Programming languages

Features Shells

  • Prog. Lang.

Ease & speed of development Higher Less KB Structure &reasoning Restricted by the tool May be developed As needed KB maintenance Easier Difficult

slide-21
SLIDE 21

Shells VS Programming languages Shells VS Programming languages (Cont.) (Cont.)

Features Shells

  • Prog. Lang.

Interfaces Not always friendly or available Have to be developed Efficiency/ Performance Slower Faster Explanation Restricted by the tool May be developed as needed

slide-22
SLIDE 22

Evolution of expert systems Evolution of expert systems

Development Stage Description Demonstration Prototype The system solves a portion of the problem undertaken, suggesting that the approach is viable and system development is achievable. (test ideas) Research prototype The system displays credible performance on the entire problem but may be fragile due to incomplete testing and revision. (test cases) Field prototype The system displays good performance with adequate reliability and has been revised based on extensive testing in the user environment. (test real problems) Production model The system exhibits high quality, reliable, fast, and efficient performance in the user environment. (extensive field tests) Commercial system The system is a production model being used on a regular commercial basis.