Module 12
Module 12
● Identification Phase:
– He tries to determine the type and scope of the problem, the kind
of resources required, goal and objective of the ES.
● Conceptualization Phase:
● Implementation Phase:
● Testing Phase:
Expert System
Inference Engine
Special Interfaces
Inference & Control
Static database
User User Interface
Dynamic database
(working memory)
Explanation Module
– rules and facts which is complied as a part of the system and does
not change during execution of the system.
Inference Engine
• Inference means search through knowledge base and derive new knowledge.
• There are mainly two types of control mechanism viz., forward chaining
and backward chaining.
Knowledge Acquisition
– insertion,
– deletion and
Case History
● Case History stores the file created by inference engine using the
dynamic database created at the time of consultation.
● These cases are used for solving problem using Case Base Reasoning
(CBR).
Explanation module
● Most expert systems have explanation facilities that allow the user to ask
the system why it asked some question, and how it reached to conclusion.
– The sub-module ‘How’ tells the user about the process through w
● Questions are answered by referring to the system goals, the rules being used,
and any existing problem data.
Explanation Modules Responses
User Interfaces
● This is a major area of expert systems research that involves methods for
reasoning with uncertain data and uncertain knowledge.
● Knowledge is generally incomplete and uncertain.
● A rule based expert system is one in which knowledge base is in the form
of rules and facts.
symptom(running_nose),symptom(conjunctivitis),
symptom(rash).
● The system starts with consultation predicate, that initiates dialog with
user to get information about various symptoms.
Query:?-consultation.
Medical Consultation System
hypothesis(Dis), !,
hypothesis(flu) :- symptom(fever),
symptom(headache),
symptom(body_ache),
symptom(sore_throat),
symptom(cough),
symptom(chills),
symptom(running_nose),
symptom(conjunctivitis).
clear_consult_facts :- retractall(negative(_)).
Expert system :
• The knowledge base may or may not be separated from the processing.