Summary
In this chapter, we learned how to implement reinforcement learning algorithms in Keras. For the sake of keeping the examples simple, we used Keras; you can implement the same networks and models with TensorFlow as well. We only used a one-layer MLP, as our example game was very simple, but for complex examples, you may end up using complex CNN, RNN, or Sequence to Sequence models.
We also learned about OpenAI Gym, a framework that provides an environment to simulate many popular games in order to implement and practice the reinforcement learning algorithms. We touched on deep reinforcement learning concepts, and we encourage you to explore books specifically written about reinforcement learning to learn deeply about the theories ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access