AI UNIT-3-PPT
AI UNIT-3-PPT
AI UNIT-3-PPT
-----------------------------------------------------------------
Planning
This diagram shows interaction of AI with real world and
components involved in showing intelligent.
Execution
• PERCEPTION: It retrieves the data or information from the environment and
finds the source of noises and also checks if the AI was damaged by
anything and also sends to respond when any sense has been detected.
• LEARNING: Learns from the captured data by perception, focuses on self
improvement to learn new things, requires knowledge acquisition, past
searches, and inferences.
• KNOWLEDGE REPRESENTATION: Human likes intelligent in machine.
Simply, it represents all about understanding intelligent.
• REASONING: Instead of understanding knowledge or building from bottom-
up, the main goal is to understand intelligent behaviour from top-down and
focuses on what an intelligent system need to know in order to behave
intelligently.
• PLANNING & EXECUTION: This depend on the analysis of knowledge
representation and reasoning. (Planning includes initial state and finding
the every conditions and facts)
Relationship Between Knowledge and
Intelligence
• Knowledge plays a vital role in the real world.
Sensing Knowledge
Decision
maker
• But assume what happens if we remove knowledge part. (It could not be able to display any
intelligent behaviour)
Techniques (other knowledge representation
schemes)
• 4 techniques:
1.Logic representation
2.Semantic network programming
• IS-A relation (inheritance)
• Kind of relation
3.Frame representation
4.Production rules
Requirements of Knowledge Representation:
1. Representation Accuracy: It is defined as that it should represent all
kind of required knowledge.
2. Inferential Adequacy: It is described as that it should be able to
manipulate the representation structure to produce new knowledge
corresponding to the existing structure.
3. Inferential Efficiency: It is the ability to direct the inferential
knowledge mechanism into the most productive system.
4. Acquisitional Efficiency: It is the ability to acquire new knowledge
easily using automatic methods.
Knowledge Representation
Issues
• The main goal is to facilitate the knowledge.
• The following are the some of the issues where represents the
knowledge.
1. Important attributes.
2. Relationship among attributes.
3. Choosing granularity.
4. Set of objects.
5. Finding the structure.
Important Attributes:
• In this any attributes of object that may occur in every problem
domain?
• There might be a chance of occurring 2 attributes namely
1. Instance.
2. Is-of
The above 2 attributes are important to represent the knowledge
because they help in inheritance.
Relationship Among Attributes:
This type of attributes may suspect that is there any important relation
between different attributes of objects?
There are four properties define to have relation between different attribute
of objects:
1. Inverse
2. Existence in an hierarchy
This defines in terms of generalization and specialization.
3. Reasoning for a value.
4. Single value attribute.
Choosing Granularity:
In this we define up to what level the knowledge can be represented
and what are the primitives?
Set of Objects
In this we define how set of objects can be represented?
Using universal quantifiers objects can be represented.
If the data
doesn’t exist in
Finding the Structure: the knowledge
Each sentence can be translated into sentence using syntax and semantics.
• Semantic Network
When do you say a particular sentence or statement is meaningful?
• A sentence is meaningful when we can really understand it and map it
to some of the known concepts of the real world in which we live or
see or can visualize or realize.
• Global Database: The global database is the central data structure used by the
production system in Artificial Intelligence.
• Set of Production Rules: The production rules operate on the global database.
Each rule usually has a precondition that is either satisfied or not by the global
database. If the precondition is satisfied, the rule is usually be applied. The
application of the rule changes the database.
• A Control System: The control system then chooses which applicable rule
should be applied and ceases computation when a termination condition on
the database is satisfied. If multiple rules are to fire at the same time, the
control system resolves the conflicts.
Features of Production System
The main features of the production system include:
1. Simplicity: The structure of each sentence in a production system is unique and
uniform as they use the “IF-THEN” structure. This structure provides simplicity in
knowledge representation. This feature of the production system improves the
readability of production rules.
2. Modularity: This means the production rule code the knowledge available in discrete
pieces. Information can be treated as a collection of independent facts which may be
added or deleted from the system with essentially no deleterious side effects.
3. Modifiability: This means the facility for modifying rules. It allows the development of
production rules in a skeletal form first and then it is accurate to suit a specific
application.
i. If a coin is flipped there is an equal chance of it landing on head side or tail side, consider
H1 is for heads and H2 for tails. This scenario is expressed as P(H1)=0.5 and P(H2)=0.5.
ii. The probability of 1st and 2nd toss both landing on heads is 0.5*0.5=0.25.
iii. We can write this as P(H1^H2)-0.25 and in general two independent events P and Q,
P(P^Q)=P(P)*P(Q).
Fuzzy logic:
• In the existing expert systems, uncertainty is dealt with through a
combination of predicate logic and probability-based methods.
• An alternative approach to the management of uncertainty is based
on the use of fuzzy logic, which is the logic underlying approximate or,
equivalently, fuzzy reasoning.
• e.g., most, many, few, not very many, almost all, infrequently, about
0.8, etc.
• In this way, fuzzy logic subsumes both predicate logic and probability
theory, and makes it possible to deal with different types of
uncertainty within a single conceptual framework.
The term fuzzy refers to things which are not clear or are vague.
In the real world many times we encounter a situation when we
can’t determine whether the state is true or false, their fuzzy logic
provides a very valuable flexibility for reasoning. In this way, we
can consider the inaccuracies and uncertainties of any situation.
In boolean system truth value, 1.0 represents absolute truth value
and 0.0 represents absolute false value. But in the fuzzy system,
there is no logic for absolute truth and absolute false value. But in
fuzzy logic, there is intermediate value too present which is
partially true and partially false.
ARCHITECTURE