Unit 5 Part 2
Unit 5 Part 2
Unit 5 Part 2
Code:19EAI232
1. User Interface
2. Inference Engine
3. Knowledge Base
1. USER INTERFACE
With the help of a user interface, the expert system interacts with the
user, takes queries as an input in a readable format, and passes it to
the inference engine.
After getting the response from the inference engine, it displays the
output to the user.
In other words, it is an interface that helps a non-expert user to
communicate with the expert system to find a solution.
2. INFERENCE ENGINE (RULES OF ENGINE)
We will explain the working of an expert system by taking an example of MYCIN. Below are
some steps to build an MYCIN:
a) Firstly, ES should be fed with expert knowledge. In the case of MYCIN, human experts
specialized in the medical field of bacterial infection, provide information about the causes,
symptoms, and other knowledge in that domain.
b) The KB of the MYCIN is updated successfully. In order to test it, the doctor provides a
new problem to it. The problem is to identify the presence of the bacteria by inputting the
details of a patient, including the symptoms, current condition, and medical history.
c) The ES will need a questionnaire to be filled by the patient to know the general
information about the patient, such as gender, age, etc.
d) Now the system has collected all the information, so it will find the solution for the
problem by applying if-then rules using the inference engine and using the facts stored
within the KB.
e) In the end, it will provide a response to the patient by using the user interface.
PARTICIPANTS IN THE DEVELOPMENT OF EXPERT
SYSTEM
4. Not affected by emotions: These systems are not affected by human emotions
such as fatigue, anger, depression, anxiety, etc.. Hence the performance remains
constant.
5. High security: These systems provide high security to resolve any query.
6. Considers all the facts: To respond to any query, it checks and considers all the
available facts and provides the result accordingly. But it is possible that a human
expert may not consider some facts due to any reason.
7. Regular updates improve the performance: If there is an issue in the result
provided by the expert systems, we can improve the performance of the system by
updating the knowledge base.
CAPABILITIES OF THE EXPERT SYSTEM
1. Advising: It is capable of advising the human being for the query of any domain
from the particular ES.
2. Provide decision-making capabilities: It provides the capability of decision
making in any domain, such as for making any financial decision, decisions in
medical science, etc.
3. Demonstrate a device
4. Problem-solving: It has problem-solving capabilities.
5. Explaining a problem: It is also capable of providing a detailed description of an
input problem.
6. Interpreting the input: It is capable of interpreting the input given by the user.
7. Predicting results: It can be used for the prediction of a result.
8. Diagnosis
ADVANTAGES OF EXPERT SYSTEM
1. The response of the expert system may get wrong if the knowledge base
contains the wrong information.
2. Like a human being, it cannot produce a creative output for different scenarios.
3. Its maintenance and development costs are very high.
4. Knowledge acquisition for designing is much difficult.
5. For each domain, we require a specific ES, which is one of the big limitations.
6. It cannot learn from itself and hence requires manual updates.
APPLICATIONS OF EXPERT SYSTEM