Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
The series will be in the form of a deep dive into the code with explanations and walkthroughs along side.
Next up will be a series of Posts that will take you through a few concepts in the most beginner appealing way that we can put up.
So What exactly is Reinforcement Learning?
You will receive a full Mathematically and Programmatically sound answer in the series, but here is a fun one to begin with.
Imagine youâre in a Bakery and have been told to bake a Delicious cake by your Supervisor.
Your Supervisor is rather a strict person who leaves you to discover the best recipe. However, since the Supervisor hates you, she will thrash you every time you bake a bad cake (Probably not the best place to work at).
Now, youâre a smart kid! You start out an experiment. You keep a track of your Performance and the taste of every attempt.
Your end goal is to impress your Supervisor (maximise your reward). You start out as an inexperienced person. You play around the Bakery (Your environment) and keep trying until you finally impress your Supervisor (Reward)
You start out by adding Salt, by burning down a few things and get Thrashed every time you do so (Receive a penalty) and since youâre smart, you make sure you donât do this again (Keep a track of previous moves).
In the end you finally get âTrainedâ once youâve baked the Best Cake and received your highest goal.
So this is how RLÂ works.
- There is an Agent:Â You.
- In an Environment: Bakery.
- Whose goal is to maximise the Reward: Receive an appraisal from the Supervisor.
- The agent keeps getting feedback from the Environment: The Supervisor.
- A positive Feedback for a right move and a Negative feedback for a wrong step.
- The Agent has a Memory of itâs previous actions, based on which it Learns.
- The Agent keeps interacting until the Reward is Maximised.
Subscribe to my Newsletter for a Weekly Curated List of Deep Learning and Computer Vision
Reinforcement Learning Part 0 was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.