Reinforcement Learning

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

18CS71 - ARTIFICIAL INTELLIGENCE AND

MACHINE LEARNING – Module 5


Part2: Reinforcement Learning
Module 5: Topics
⚫ Instance-Base Learning
◦ Introduction
◦ k-Nearest Neighbour Learning
◦ Locally weighted regression
◦ Radial basis function
◦ Case-Based reasoning
⚫ Reinforcement Learning
◦ Introduction
◦ The learning task
◦ Q-Learning
Introduction
⚫ Reinforcement learning is learning what to do—how to
map situations to actions—so as to maximize a
numerical reward signal.
⚫ The learner is not told which actions to take, but instead
must discover which actions yield the most reward by
trying them.
⚫ Neither fully supervised nor completely unsupervised
Reinforcement – What it is?
⚫ Reinforcement learning addresses the question of how an
autonomous agent that senses and acts in its environment can
learn to choose optimal actions to achieve its goals. This very
generic problem covers tasks such as learning to control a mobile
robot, learning to optimize operations in factories, and learning to
play board games. Each time the agent performs an action in its
environment, a trainer may provide a reward or penalty to indicate
the desirability of the resulting state. For example, when training an
agent to play a game the trainer might provide a positive reward
when the game is won, negative reward when it is lost, and zero
reward in all other states. The task of the agent is to learn from this
indirect, delayed reward, to choose sequences of actions that
produce the greatest cumulative reward.
Example
Example
Convergence of Q-learning Algorithm

Q-Learning algorithm converges under the following assumptions


• System is a deterministic MDP
• Immediate reward values are bounded
• Agent selects actions in such a fashion that it visits every possible state-action
pair infinitely often

You might also like