Chapter 6 - Learning
Chapter 6 - Learning
Chapter 6 - Learning
2
Wollo University ,Kombolicha Institute of Technology
By Ashenafi Workie(MSc.)
KIOT@SE by Ashenafi Workie
Major chapters outlines
6
Learning agent
• It allows the agent to operate in unknown environment.
4 components:
1) Learning element.
2) Performance element.
3) Critic.
4) Problem generator.
7
Learning agent
• Learning element:
Responsible for making improvements.
• Performance element:
Responsible for selecting external action. (entire agent)-
Percepts and decides on action.
• Critic:
Learning element uses feedback from critic-how the agent is
doing, how the performance element should be modified to
do better in future.
8
Learning Agent
10
Types of feedback
• Supervised learning: correct answers for each example
• Unsupervised learning: correct answers not given
• Reinforcement learning: occasional rewards
11
Learning Categories
• Supervised Learning- An agent can learn effects of it actions
through condition. Eg: Taxi Driver- instructor shouts “Brake”
• Unsupervised Learning-Involves learning patterns in the input
when no specific output values are supplied. Unsupervised agent
cannot learn what to do because it has no information as to what
constitutes a correct action or a desirable state.
12
Learning Categories
• Reinforcement Learning –Rather than being told what to do, a
reinforcement learning agent must learn from reinforcement.
Reinforcement learning includes the sub-problem of learning how the
environment works.
• Example:
• Chess game the reinforcement is received only at the end of the
game.
• In ping-pong, each point scored can be considered a reward; when
learning to crawl, any forward motion is an achievement .
13
Inductive Learning
• Inductive learning using a particular set of facts or ideas to form a general
principle.
• An algorithm for deterministic supervised learning is given as input the
correct value of the unknown function or for particular inputs and try to
recover something close to it.
• Simplest form: learn a function from examples
14
Inductive Learning
• Simplest form: learn a function from examples
f is the target function
An example is a pair (x, f(x))
Problem: find a hypothesis h such that h ≈ f
given a training set of examples
This is a highly simplified model of real learning:
• Ignores prior knowledge
• Assumes a deterministic, observable environment
• Assumes examples are given
• Assume that the agent wants to learn m f
15
End ….
16