October 2018
Intermediate to advanced
472 pages
10h 57m
English
We will be using numpy, gym, matplotlib, keras, tensorflow, and the keras-rl package in this segment of the exercise. Here, TensorFlow will be used as the backend for Keras. You can install these packages with pip:
import numpy as npimport gymfrom keras.models import Sequentialfrom keras.layers import Dense, Activation, Flattenfrom keras.optimizers import Adamfrom rl.agents import SARSAAgentfrom rl.policy import EpsGreedyQPolicy
Read now
Unlock full access