DQN applies deep learning to reinforcement learning by replacing a Q-table with a neural network that estimates action values. The Q-learning equation supplies the training target, so the network learns through a supervised-training process while acting in an environment. section 11.2 section 11.6
Lunar Lander
A DQN agent can be trained on Gym’s LunarLander environment by configuring batch size and episode count, reshaping observations, selecting actions, storing transitions, and replaying batches. Training results can be inspected through reward, exploration-rate, memory-usage, and loss plots. section 11.5
