7 - C Knowledge Representation
7 - C Knowledge Representation
Knowledge Representation
Contents
Logical Agents
Knowledge-based Agents
Data Information Knowledge
Knowledge Representation
KR Characteristics
Logical Agents
Humans know things and do reasoning, which are important
for artificial agents
intelligence of humans is achieved by processes of reasoning
that operate on internal representations of knowledge
In AI, this approach to intelligence is embodied in
knowledge-based agents
Knowledge-based Agents
The central component is the knowledge base, or KB
A knowledge base is a set of sentences
A sentence,
expressed in a language called a knowledge representation language
logic languages
represents some assertion about the world
Operations,
TELL - add new sentences to the KB
ASK - a way to query what is known
Both operations may involve inference - deriving new
sentences from old
Knowledge-based agent
KB initially contain some background knowledge
Each time the agent program is called, it does three things.
First, it TELLs the knowledge base what it perceives.
Second, it ASKs the knowledge base what action it should perform.
extensive reasoning may be done about the current state, the
Knowledge
The teacher can see that student’s results are showing a downward trend.
The teacher applies the rule of 40% for a pass to gain the knowledge that
student has passed Tests 1 and 2, and failed Test 3.
Data Information Knowledge
Ice Cream Shop Profit 2017 2018 2019
Month Profit in lakhs
200
2017 2018 2019 190
[None, None, None, None, None] [None, Breeze, None, None, None]
The Wumpus World
[Stench, None, None, None, None] [Stench, Breeze, Glitter, None, None]
The End…
18