UNIT IIfgs
UNIT IIfgs
1. Declarative Knowledge:
2. Procedural Knowledge
3. Meta-knowledge:
4. Heuristic knowledge:
5. Structural knowledge:
AI knowledge cycle:
An Artificial intelligence system has the following components for
displaying intelligent behavior:
o Perception
o Learning
o Knowledge Representation and Reasoning
o Planning
o Execution
The above diagram is showing how an AI system can interact with the
real world and what components help it to show intelligence. AI
system has Perception component by which it retrieves information
from its environment. It can be visual, audio or another form of
sensory input. The learning component is responsible for learning
from data captured by Perception comportment. In the complete
cycle, the main components are knowledge representation and
Reasoning. These two components are involved in showing the
intelligence in machine-like humans. These two components are
independent with each other but also coupled together. The planning
and execution depend on analysis of Knowledge representation and
reasoning
Types of Reasoning :
In artificial intelligence, reasoning can be divided into the following
categories:
o Deductive reasoning
o Inductive reasoning
o Abductive reasoning
o Common Sense Reasoning
o Monotonic Reasoning
o Non-monotonic Reasoning
Deductive reasoning:
Deductive reasoning is deducing new information from logically
related known information. It is the form of valid reasoning, which
means the argument's conclusion must be true when the premises are
true.
Example:
2. Inductive Reasoning:
Inductive reasoning is a form of reasoning to arrive at a conclusion
using limited sets of facts by the process of generalization. It starts
with the series of specific facts or data and reaches to a general
statement or conclusion.
Inductive reasoning is a type of propositional logic, which is also
known as cause-effect reasoning or bottom-up reasoning.
Example:
Premise: All of the pigeons we have seen in the zoo are white.
3. Abductive reasoning:
Abductive reasoning is a form of logical reasoning which starts with
single or multiple observations then seeks to find the most likely
explanation or conclusion for the observation.
Example:
Example:
5. Monotonic Reasoning:
In monotonic reasoning, once the conclusion is taken, then it will
remain the same even if we add some other information to existing
information in our knowledge base. In monotonic reasoning, adding
knowledge does not decrease the set of prepositions that can be
derived.
Example:
6. Non-monotonic Reasoning
In Non-monotonic reasoning, some conclusions may be invalidated if
we add some more information to our knowledge base.
Logical agent : Logical agents are those that reason logically. They are
the basis for many AI applications. They are able to draw inferences from
a set of premises. For example, a logical agent might be able to deduce
that all men are mortal, from the premises that Socrates is a man and
Socrates is mortal.
Example:
a) It is Sunday.
b) The Sun rises from West (False proposition)
c) 3+3= 7(False proposition)
d) 5 is a prime number.
a. Atomic Propositions
b. Compound propositions
Example:
a) 2+2 is 4, it is an atomic proposition as it is a true fact.
b) "The Sun is cold" is also a proposition as it is a false fact.
Compound proposition: Compound propositions are constructed by
combining simpler or atomic propositions, using parenthesis and
logical connectives.
Example:
a) "It is raining today, and street is wet."
b) "Ankit is a doctor, and his clinic is in Mumbai."
Truth Table:
In propositional logic, we need to know the truth values of
propositions in all possible scenarios. We can combine all the possible
combination with logical connectives, and the representation of these
combinations in a tabular format is called Truth table. Following are
the truth table for all logical connectives:
Truth table with three propositions:
We can build a proposition composing three propositions P, Q, and R.
This truth table is made-up of 8n Tuples as we have taken three
proposition symbols.