Expert System__ Ai (1)
Expert System__ Ai (1)
KNOWLEDGE BASE
INFERENCE ENGINE
USER INTERFACE
KNOWLEDGE BASE:
● It is a data-driven strategy.
● The inference process moves from the facts of the case to a
goal
● The inference engine attempts to match the condition(IF)part of
each rule in the knowledge base with the facts currently
available in the working memory.
Fact 1
AND
Fact 2
Decision 1
Decision 3
AND
Fact 3
OR
Decision 2
Fact 4
Backward Chaining:
Fact 2
Decision 1
AND Decision 3
Decision 2
Fact 3
OR
Fact 4
User Interface:
High performance:
The expert system provides high performance for solving any type of complex
problem of a specific domain with high efficiency and accuracy.
Understandable:
It responds in a way that can be easily understandable by the user, and it can take
input in human language and provides the output in the same way.
Reliable:
Highly responsive:
ES provides the result for any complex query within a very short period of time.
Application of Expert system
● Medical Diagnosis: Expert systems assist doctors by analyzing symptoms and medical
history to suggest possible diagnosis or treatment options. For example, MYCIN, an early
expert system, helped identify bacterial infections and recommend antibiotics .
● Financial Services: In finance, expert systems are used for credit scoring, fraud detection, and
investment advice. They analyze financial data and patterns to make informed decisions.
● Technical Support: Expert systems can troubleshoot and provide solutions for technical
issues. They guide users through problem-solving steps based on predefined rules and
knowledge.
User Input:
MedDiagno's Output:
For example:
IF the patient has a high fever AND the blood culture is positive for gram-positive
cocci, THEN the likely diagnosis is a streptococcal infection.
2. Inference Engine: The system used an inference engine to apply these rules to the patient's
data (like symptoms, lab results, etc.) to diagnose the infection and suggest a treatment.
1. Data Input: The doctor inputs the patient's symptoms, lab test results (like
blood cultures), and other relevant information into MYCIN.
For example: If the blood culture is positive for a specific type of bacteria (like
gram-negative rods), MYCIN might identify the bacteria as Escherichia coli and
diagnose the patient with an E. coli infection.
SAFA SHERIN
NASIHA
SUMAIYA FARVEEN