AI UNIT-5
AI UNIT-5
>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
>Inference Engine
The inference engine is known as the brain of the expert system as it is the
main Processing unit of the system. It applies inference rules to the
knowledge base to derive a conclusion or deduce new information.
With the help of an Inference engine, the system extracts the knowledge
from the Knowledge base.
Two types of inference Engine
>Knowledge Base
The Knowledge base is a type of storage that stores knowledge acquired
from the different experts of the particular domain. It is considered as big
storage of knowledge.
It is similar to a database that contains information and rules of a particular
domain or subject.
One can also view the knowledge base as Collections of objects and their
attributes. Such as a lion is an object and its attributes are it is a mammal,
it is not a domestic animal.
1. Forward chaining:
"What can happen next?" The inference engine follows the chain of
conditions and derivations and finally deduces the outcome.
It considers all the facts and rules, and sorts them before concluding to a
solution
This strategy is followed for working on conclusion, result, or effect.
Example, prediction of share market status as an effect of changes in
interest rates.
2. Backward chaining:
An expert system finds out the answer to the question, "Why this
happened?"
On the basis of what has already happened, the inference Engine tries to
find out which conditions could have happened in the past for this result.
This strategy is followed for finding out cause or reason.
Example: diagnosis of blood cancer in humans
COMMON SENSE
Common sense is the mental skills that most people share.
Common Sense is ability to analyze a situation based on its context, using
millions of integrated pieces of common knowledge.
Common sense is what people come to know in the process of growing and
living in the world.
Common sense knowledge includes the basic facts about events and their
effects, facts about knowledge and how it is obtained, facts about beliefs
and desires. It includes the basic facts about material objects and their
properties
Example: Everyone knows that dropping a glass of water, the glass will
break and water will spill on podium. However, this information is not
Obtained by formula or equation for a falling body or equations governing
fluid flow.
The goal of the formal common sense reasoning community is to encode
this implicit knowledge using format logic Common sense is Identified as:
Qualitative physics
Qualitative physics in AI is a way to study the physical world by
representing and reasoning about it.
Qualitative physics uses dimensional analysis to solve problems, which
requires Knowledge of physical variables and dimensional representation.
This allows reasoning about systems and devices without needing to know
the physical laws that govern them.
for eg:, if a problem involves time period, mass, and spring constant, the
variables and their dimensions are t (T), m [M], K[MT-2].
Qualitative Physics can also be used to solve physical system problems,
and can be used for tasks like behavior analysis and conceptual design.
Applications of Ontologists in AI
Expert Systems: Ontologists in AI develop Ontologies that power expert
systems, which mimic human decision-making in a particular domain
Natural Language Processing: Ontologists in AI use ontologies to improve
natural language processing systems, enabling machines to understand
human language
Decision Support Systems: It support decision-making in complex
domains
Data Integration: Ontologists in AI use ontologies to integrate data from
multiple sources, enabling machines to reason about the integrated data.
Robotics and autonomous system: It enable robots and autonomous
systems to understand their environment and make decisions
Benefits of ontology
Improved knowledge organization and sharing
Enhanced reasoning & decision-making capabilities.
Increased data consistency and quality
Better interoperability and integration
More explainable and transparent AI Systems
MEMORY ORGANIZATION
Memory Organization provides a framework within which to understand
the relationship between individual identification, duplicate records, and
the proper functioning of AI
Types of Memory Organization
There are several types of memory Organization used in computer system.
Memory Organization in Artificial Intelligence can include a variety of
techniques that help AI Systems.
Build in Features
Inference Engines: It They are already included, so you don't need to build
One from scratch.
Explanation facilities: These help users understand how the system reaches
its conclusions
Knowledge base Editors: They make organizing and updating information
simple
>User Interface:
Easy-to-use screens for inputting data and getting results
Often includes menus, buttons, forms
Helps non-technical users interact with the system
>Explanation Facility:
Helps users understand how the system reached its decision
shows the steps and rules used in the reasoning process
Builds trust by making the system's logic transparent
>Inference Engine:
The "brain" of the Expert System
Uses the knowledge base to solve problems or make decision
Applies logical reasoning to reach conclusions
>Rule Builder:
Allows users to create if then rules easily
Helps in setting up the logic the system will follow
often includes a visual interface for creating rules.