Book Image

Keras 2.x Projects

By : John Bura
Book Image

Keras 2.x Projects

By: John Bura

Overview of this book

Keras is a Python library that provides a simple and clean way to create a range of deep learning models. This course introduces you to Keras and shows you how to create applications with maximum readability. You take your first steps by getting introduced to Keras, its benefits, and its applications. As you get comfortable with Keras, you will learn how to predict business outcomes using time series data and various forecasting techniques. By learning the basic concepts of reinforcement learning, you will be able to create algorithms that can learn and adapt to environmental changes and control your robots. Then, you will learn various natural language processing techniques and use the Natural Language Toolkit to analyze, classify, and tag text. By the end of the course, you’ll have the skills and the confidence to work on existing deep learning projects or create your own applications. The code bundle for this course can be downloaded from here: https://github.com/TrainingByPackt/Keras-2.X-Projects-eLearning
Table of Contents (4 chapters)
Chapter 3
Robot Control System Using Deep Reinforcement Learning
Content Locked
Section 8
Q-learning Solution
Now we have to face the most demanding phase: training of our system. In the Q-learning section, we learnt that the Gym library is focused on the episodic setting of reinforcement learning. The agent's experience is divided into a series of episodes. The initial state of the agent is randomly sampled by a distribution, and the interaction proceeds until the environment reaches a terminal state. This procedure is repeated for each episode, with the aim of maximizing the total reward expectation per episode and achieving a high level of performance in the fewest possible episodes.