comp 4200 expert systems l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
COMP 4200: Expert Systems PowerPoint Presentation
Download Presentation
COMP 4200: Expert Systems

Loading in 2 Seconds...

play fullscreen
1 / 10

COMP 4200: Expert Systems - PowerPoint PPT Presentation


  • 341 Views
  • Uploaded on

COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba Example: Automotive Diagnosis Auto Diagnosis – Rule-Base Rule 1 : if the engine is getting gas, and the engine will turn over, then the problem is spark plugs.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'COMP 4200: Expert Systems' - lotus


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
comp 4200 expert systems

COMP 4200: Expert Systems

Dr. Christel Kemke

Department of Computer Science

University of Manitoba

COMP 4200 - Example Autmotive Diagnosis

example automotive diagnosis

Example: Automotive Diagnosis

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis rule base
Auto Diagnosis – Rule-Base

Rule 1: if the engine is getting gas,

and the engine will turn over,

then the problem is spark plugs.

Rule 2: if the engine does not turn over,

and the lights do not come on,

then the problem is battery or cables.

Rule 3: if the engine does not turn over,

and the lights do come on,

then the problem is the starter motor.

Rule 4:if there is gas in the fuel tank,

and there is gas in the carburetor,

then the engine is getting gas.

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis conceptualization
Auto Diagnosis – Conceptualization

Rule 1: if the engine is getting gas, engine-gets-gas

and the engine will turn over, engine-turns

then the problem is spark plugs. problem(spark-plugs)

Rule 2: if the engine does not turn over, not(engine-turns)

and the lights do not come on, not(lights-on)

then the problem is battery or cables. problem(battery-or-cables)

Rule 3: if the engine does not turn over, not(engine-turns)

and the lights do come on, lights-on

then the problem is the starter motor. problem(starter-motor)

Rule 4:if there is gas in the fuel tank, gas-in-tank

and there is gas in the carburetor, gas-in-carburetor

then the engine is getting gas. engine-gets-gas

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis reasoning tree
Auto Diagnosis – Reasoning Tree

Rule 1Rule 2

problem(spark-plugs) problem(battery-or-cables)

andand

engine-gets-gas engine-turns not(engine-turns)not(lights-on)

Rule 3Rule 4

problem(starter-motor) engine-gets-gas

andand

not(engine-turns) lights-on gas-in-tank gas-in-carburetor.

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis reasoning tree6
Auto Diagnosis – Reasoning Tree

spark-plugs battery-or-cables starter-motor

andand

engine-gets-gas engine-turns lights-on

and

gas-in-tank gas-in-carburetor

and

not

not

not

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis simulation
Auto Diagnosis - Simulation

WorkingMemoryMatching Rules

(goals, sub-goals) (backward reasoning)

Rule 1

Rule 2

Rule 3

the problem is x

Select and applyRule 1 Rule Tracking (for explanation)

if the engine is getting gas

and the engine will turn over

thenthe problem is spark plugs

Rule 1

COMP 4200 - Example Autmotive Diagnosis

simulation 2
Simulation 2

WorkingMemoryMatching Rules

(goals, sub-goals) (backward reasoning)

the engine is getting gas

the engine will turn over

the problem is spark-plugs

...

Rule 4

Select and applyRule 4Rule Tracking

if there is gas in the fuel tank,

and there is gas in the carburetor,

thenthe engine is getting gas.

Rule 1

Rule 4

COMP 4200 - Example Autmotive Diagnosis

simulation 3
Simulation 3

WorkingMemoryMatching Rules

(goals, sub-goals) (backward reasoning)

there is gas in the fuel tank

there is gas in the carburetor

the engine is getting gas

the engine will turn over

the problem is spark-plugs

no new applicable rules

there is gas in the fuel tank

there is gas in the carburetor

the engine is getting gas

the engine will turn over

the problem is spark-plugs

ground facts

COMP 4200 - Example Autmotive Diagnosis

auto diagnosis user interaction
Auto Diagnosis – User Interaction

there is gas in the fuel tank

there is gas in the carburetor

the engine is getting gas

the engine will turn over

the problem is spark-plugs

System: Does the engine turn over?

User: Yes, it does.

System: Please check whether there is gas in the fuel tank.

User: Why?

System (justifies): Because if there is gas in the fuel tank and gas in the carburetor then the engine is getting gas(rule 4)andif the engine is getting gas and the engine turns over, then the problem are the spark plugs(rule 1).

COMP 4200 - Example Autmotive Diagnosis