Lecture Notes 2 Expert Systems
Lecture Notes 2 Expert Systems
B Y:
P R O F. S I LVA N C E O . A B E K A
[email protected]
Lecture Outline:
1) Introduction to Knowledge Representation
2) Types of Knowledge in Expert Systems
3) Techniques of Knowledge Representation
4) Case Studies and Real-World Applications
5) Challenges in Knowledge Representation
1. Introduction to Knowledge Representation
Definition:
Knowledge representation is the process of encoding information about a
domain into a format that a computer system can utilize to solve complex
problems.
Importance:
◦ Enables systems to mimic human reasoning.
◦ Facilitates efficient storage, retrieval, and manipulation of information.
2. Types of Knowledge in Expert Systems
Declarative Knowledge:
◦ Facts or propositions about the domain.
◦ Example: "All patients with a fever should have their temperature monitored regularly."
Procedural Knowledge:
◦ How-to knowledge or processes.
◦ Example: Steps to diagnose a disease based on symptoms.
Heuristic Knowledge:
◦ Rules of thumb or expert intuition.
◦ Example: "If a car engine won’t start and the battery is old, replace the battery first."
Meta-knowledge:
◦ Knowledge about the other types of knowledge is called Meta-knowledge.
Structural knowledge:
• Structural knowledge is basic knowledge to problem-solving.
• It describes relationships between various concepts such as kind of, part of, and grouping of something.
• It describes the relationship that exists between concepts or objects.
3. Techniques of Knowledge Representation
1. Rules (Production Rules):
◦ Represent knowledge as "IF-THEN" statements.
◦ Example:
◦ IF a patient has a sore throat AND a fever, THEN suggest a throat culture test.
◦ Case Study:
◦ MYCIN: A medical expert system used for diagnosing bacterial infections and prescribing treatments.
◦ Production rules system consist of (condition, action) pairs which mean, "If condition then action".
Statements:
Jerry is a cat.
Jerry is a mammal
Jerry is owned by Priya.
Jerry is brown colored.
All Mammals are animal.
Drawbacks in Semantic representation:
• Semantic networks take more computational time at runtime as we need to traverse the complete network tree to
answer some questions. It might be possible in the worst case scenario that after traversing the entire tree, we find
that the solution does not exist in this network.
• Semantic networks try to model human-like memory (Which has 1015 neurons and links) to store the information,
but in practice, it is not possible to build such a vast semantic network.
• These types of representations are inadequate as they do not have any equivalent quantifier, e.g., for all, for some,
none, etc.
• Semantic networks do not have any standard definition for the link names.
• These networks are not intelligent and depend on the creator of the system.