Book Image

Hands - On Reinforcement Learning with Python [Video]

By : Rudy Lai
Book Image

Hands - On Reinforcement Learning with Python [Video]

By: Rudy Lai

Overview of this book

<p>Reinforcement learning (RL) is hot! This branch of machine learning powers AlphaGo and Deepmind's Atari AI. It allows programmers to create software agents that learn to take optimal actions to maximize reward, through trying out different strategies in a given environment.</p> <p>This course will take you through all the core concepts in Reinforcement Learning, transforming a theoretical subject into tangible Python coding exercises with the help of OpenAI Gym. The videos will first guide you through the gym environment, solving the CartPole-v0 toy robotics problem, before moving on to coding up and solving a multi-armed bandit problem in Python. As the course ramps up, it shows you how to use dynamic programming and TensorFlow-based neural networks to solve GridWorld, another OpenAI Gym challenge. Lastly, we take the Blackjack challenge and deploy model free algorithms that leverage Monte Carlo methods and Temporal Difference (TD, more specifically SARSA) techniques.</p> <p>The scope of Reinforcement Learning applications outside toy examples is immense. Reinforcement Learning can optimize agricultural yield in IoT powered greenhouses, and reduce power consumption in data centers. It's grown in demand to the point where its applications range from controlling robots to extracting insights from images and natural language data. By the end of this course, you will not only be able to solve these problems but will also be able to use Reinforcement Learning as a problem-solving strategy and use different algorithms to solve these problems.</p> <p>All the code and supporting files for this course are available on Github at - <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Hands-On-Reinforcement-Learning-with-Python-" target="blank">https://github.com/PacktPublishing/Hands-On-Reinforcement-Learning-with-Python-</a></p> <h2>Style and Approach</h2> <p>Reinforcement Learning is about two things: framing the action, state, and reward correctly, and optimizing the policy that the software agent will use to approach the problem.</p> <p>This action-packed course is grounded in Python code that you can follow along with and takes you through all the main pillars of Reinforcement Learning. Leveraging Python, TensorFlow, NumPy, and OpenAI Gym, you get to try things out and understand a powerful technology through practical examples.</p>
Table of Contents (8 chapters)
Chapter 7
Model-Free Prediction & Control With Monte Carlo (MC)
Content Locked
Section 3
Visualizing the Outcomes of a Simple Blackjack Strategy
Visualizing the prediction step in Monte Carlo. - Learn how numpy.meshgrid work - Take the value estimate over possible values - Plot a 3D visualization