Beruflich Dokumente
Kultur Dokumente
NEED
Some of the reasons for the need of an
Expert System to replace an expert are:
To enable the use of expertise after
working hours or at different locations.
To automate a routine task that
reqquires human expertise all the time
unattended, thus reducing operational
costs.
To replace a retiring or an leaving
employee who is an expert.
To hire an expert is costly.
INTRODUCTION
AI programs that achieve expert level competence
(ability) in solving problems in particular task area by use
of knowledge base about that particular task area are
known as KNOWLEDGE BASED OR EXPERT
SYSTEMS.
These are complex AI programs.
Expert systems are generally software's.
These software helps us to provide an answer to a
problem.
It helps to clarify uncertainties that comes in system.
What is an Expert
System(ES)?
Definition 1: ES can handle real-world
complex problems which need an experts
interpretation and solve problems by using
a computer model of human expert
reasoning to reach the same conclusions
that the human expert would do if he or she
faces with a comparable problem.
Definition 2: ES is an intelligent computer
program that uses knowledge and inference
procedures to solve problems that are
difficult enough to require significant
human expertise for their solutions.
In short, an ES is an
intelligent computer program
that can perform special and
difficult task(s) in some
field(s) at the level of human
experts.
TASK-DOMAIN
The human intellectual (requiring the use of
mind) trying to be captured in an expert
system is called the task domain.
TASKmeans some goal oriented, problem
solving activity.
DOMAINmeans area within which the task
is being performed.
PERFORMANCE
Performance of the expert system is based on
following methods:Knowledge engineering:Building an expert system is known as
KNOWLEDGE ENGINEERING.
In this knowledge gathers from subject matter
experts and then codifying this knowledge
according to the formalism.
Persons doing this are called KNOWLEDGE
ENGINEER.
Knowledge
Base
Communication
Interface
Interpreter
Plan
Planner
Agenda
Coordinator
Blackboard
Reasoning
Machine
Solution
Architecture of an ideal expert system
Adjuster
SYSTEM ARCHITECHTURE
COMPONENTS OF EXPERT
SYSTEMS
BUILIDING BLOCKS OF
EXPERT SYSTEM: Every expert system consist of
two principal parts:
(a) Knowledge base
(b) Reasoning or
inference
Knowledge Base
The component of an expert
system that contains the
systems knowledge.
Expert systems are also known
as Knowledge-based systems.
Knowledge Representation
Knowledge is represented in a
Knowledge Representation
If flammable liquid was spilled then call
Reasoning
Chaining of IF-THEN rules to form
a line of reasoning
Forward chaining (facts driven)
Backward chaining (goal driven)
ES-Reasoning Machine(2)
Reasoning Machine
To memorize the reasoning rules
and the control strategies applied.
According to the information from
the knowledge base, the reasoning
machine can coordinate the whole
system in a logical manner, draw
inference and make a decision.
Reasoning
Two methods of reasoning when using inference
rules:
(i) Backward chaining: it starts with list of goals and
works backward if there is data which will allow it to
conclude these goals.
(ii) Forward chaining: it starts with data available and
then concludes a desired goal.
Rules Creation
Rules are divided into two operators:
IF, called before (a premise or condition);
and
THEN, it is called effect (conclusions or
actions).
In general, rules can have a few
conditions by relating each condition to
the keywords AND, OR or a combination
(AND and OR). On the contrary, it is better
to avoid combining both in one rule.
AND<condition n>
THEN<action>
Instructions
IF car cannot start
AND tank is empty
THEN put petrol in the
tank
Relationship
IF tank is empty
THEN car cannot start
Suggestion
IF monsoon season
AND cloudy sky
AND weather station
predicted rain
THEN you are advised
to bring an umbrella
Strategy
IF car cannot start
AND tank is empty
THEN put petrol in the tank
Step 1 is done
IF Step 1 is done
AND tank is full
THEN check the car battery
Step 2 is done
Heuristic
IF fluid spills
AND pH of the spill < 6
AND smells acidic or sour
THEN the spills is an acetic
acid
Inference Engine
(Reasoning)
An inference engine tries to derive
ES- Interpreter(4)
Interpreter
Through the user interface,
interpreter explains user questions,
commands and other information
generated by the expert system,
including answers to questions,
explanations and justifications for its
behavior, and requests for data.
ES-Blackboard (5)
Blackboard
To record intermediate hypotheses
and decisions that the expert system
manipulates.
ES-Note
Note:
Almost no exiting expert system
contains all the components shown
above, but some components,
especially the knowledge base and
reasoning machine, occur in almost all
expert systems.
Many ESs use global database in
place of the blackboard. The global
database contains information related
to specific tasks and the current state.
Who is involved?
Knowledge Engineer
A knowledge engineer is a
computer scientist who
knows how to design and
implement programs that
incorporate artificial
intelligence techniques.
Domain Expert
A domain expert is an
individual who has
significant expertise in the
domain of the expert
system being developed.
Knowledge Engineering
The art of designing and
building the expert systems is
known as KNOWLEDGE
ENGINEERING knowledge
engineers are its practitioners.
Knowledge engineering relies
heavily on the study of human
experts in order to develop
intelligent & skilled programs.
Problem identification
Knowledge conceptualization
Concept formulization
Rule formulation
Rule validation
IndentifiIndentification
cation
Knowledge
ConceptuConceptualization
alization
Concepts
Re-designment
Refinements
use knowledge
representation
method to represent
the knowledge.
FormaliFormalization
zation
Rule
Rule
Formalization
Formalization
Conclusion
Representation
check the
correctness of
rules or
knowledge
Validation
Validation
Problem Addressed
Interpretatio
n
Prediction
Diagnosis
Design
Planning
Monitoring
Debugging
Repair
Instruction
Control
Permanent
Easy to transfer
Easy to
document
Consistent
Affordable
(f) Flexible
Due to the large amount knowledge possessed by an ES, it is
important for the ES to have an efficient mechanism to
administer the compilation of the existing knowledge in it.
(g) Symbolic Reasoning
The Expert system represents knowledge in symbolic terms by
using one set of symbols that represents all the concepts of the
problem in the specific domain. All the symbols, when
combined or paired, will demonstrate arelationship between
the problems. When this relationship is represented in a
programme they are called structured symbols.
Focus Expertise
Most experts are skilful and knowledgeable in their own field only.
The ES
must be made to focus on a specific domain and not mix up the
knowledge
of two experts from different domains.
ADVANTAGES
1. COSISTENT: it provides consistent answer
for repetitive decisions, processes and tasks
2. MAINTAINS: it holds and maintain levels of
information
3. CLARIFY: it clarify the logic of decision
making
4. NO HUMAN NEED: it cannot needs human,
it works continuously
5. MULTIUSER: a multi user expert system can
serve more users at a time
DIS-ADVANTAGES
1. SENSE: it lacks common sense needed
in decision making
2. CREATIVENESS: it cannot respond
creatively like a human expert would in
unusual circumstances
3. ERRORS: in knowledge base errors may
occur and this leads wrong decisions
4. ENVIRONMENTS: if knowledge base is
changed it cannot adapt changing
environments
USES OF EXPERT
SYSTEMS
1. In medical field
2. In agricultural
3. In education etc.
IN MEDICAL FIELD
EXAMPLES OF ES IN MEDICAL
(1) PXDES
(2) CaDet
It is for early cancer detection.
Clinical data related to early cancer detection
and to cancer risk factors was collected and
incorporated in database, together with
heuristic rules for evaluating this data.
(3) DXplain
It is used for diagnosis.
Its data based contain approximately 4,500
suggestion for over 2,000 different diseases.
(4) MYCIN
It is simple example of ES.
It performs a task normally done by a human
expert.
It attempts to recommend appropriate therapies
for patient with bacterial infections.
It uses LISP structures for writing internally rules.
It uses these rules to reason backward to the
clinical data available from its goal of finding
disease-causing organism.
Expert system-MYCIN
An early expert system developed in
early 1970s at Stanford University
Wrote by Lisp Language
Author: Bruce G. Buchanan & Edward
H. Shortliffe
<<Rule-Based Expert Systems:
The MYCIN Experiments of the Stanford
Heuristic Programming Project >>
Diagnostic Reasoning:
Internist
Internist is a medical expert system
for general disease diagnosis.
Knowledge in system consists of
disease profiles , giving symptoms
associated with disease and
strength of association.
(5) GERMWATCHER
It is for infection control.
AGRICULTURAL EXPERT
SYSTEMS
WHY?
It is same as other knowledge based systems.
It uses to give answer about pest control, the
need to spray, selection of a chemical to spray,
weather damage recovery such as freeze etc.
ARICULTURAL EXPERT
SYSTEM
(1) RICE-CROP DOCTOR:
This ES is developed by NATIONAL INSTITUTE OF AGRICULTURAL EXTENSION
MANAGEMENT.
Its main work is to diagnose pests and diseases for rice crop and suggest preventive measures.
It has knowledge about diseases and pests for identification and suggesting preventive
measures.
(1) DISEASES:
Rice blast
Brown spots
Rice tungro virus
Bacterial leaf blight etc
(2) PESTS:
Stem borers
Brown plant hopper
Rice leaf folder
Green leaf hopper etc
AGRICULTURAL EXPERT
SYSTEM
(2) AGREX:
It gives correct advice to farmers.
Topics of advice are fertilizer application, crop
protection, irrigation scheduling and diagnosis
of diseases in paddy and post harvest
technology of fruits and vegetables
AGRICULTURAL EXPERT
SYSTEM
NAMES OF SOME OTHER EXPERT
SYSTEMS:
CLIPS
GIS
LEY
CALEX
AGRICULTURAL EXPERT
SYSTEM
ADVANTAGES:1.It has ability to imitate human thought and
reasoning.
2.It makes modification of knowledge very
convenient.
3.It helps increases the production of crops
4.It has ability to handle uncertain information
5.It helps the farmers to take single point decision.
EXPERT SYSTEMS IN
EDUCATION
WHY?
Because it allow users to ask question on some
education problems.
IN EDUCATION
FIELDS:
Computer animation
Computer science
Engineering
Language (expert system teaches language)
IN EDUCATION
This figure shows the architecture of ITS for
teaching engineering student which has
embedded expert system inside.
For each student expert system will create
performance of student and change levels (like
easy to difficult).
IN EDUCATION
This figure shows the architecture of ITS for
teaching engineering student which has
embedded expert system inside.
For each student expert system will create
performance of student and change levels (like
easy to difficult).