DEV Community

Cover image for Reinforcement Learning

Posted on

Reinforcement Learning

What is Reinforcement Learning in the First Place?

The Answer for that is: Reinforcement learning (RL) is a type of ML which is all about taking suitable action to maximize reward in a particular situation. It is employed by various software and machines to find the best possible behavior or path it should take in a specific situation.
Alt Text
In the Above example :

  1. The kid will get the reward as encouragement from parents and failure as the falling of the kid.
  2. By Learning from the failure and rewards,the kid will learn to walk. Now, Let's see an image that showcases a similar problem: Alt Text As we can see from the image that Reinforcement learning focuses on Action and regarding Reward. Where do we see Reinforcement learning in day to day life? We can see the use of reinforcement learning in many things for example : 1.Gaming 2.Robot Locomotion etc. So in the above image, we can see that for every set of actions, there is an associated Reward. Alt Text Alt Text Alt Text A Reinforcement learning setup is composed of 2 main components, an agent and an environment.Alt Text This is the Main Working principle of Reinforcement Learning.

Top comments (0)