January 2020
Intermediate to advanced
432 pages
10h 18m
English
Now with our solid example of DQN, we can move on to solve more difficult environments, like LunarLander. In this exercise, we set up the DQN agent to solve the LunarLander environment in order to compare our previous attempts with discretized SARSA:
env_id = 'LunarLander-v2'env = gym.make(env_id)
epsilon_decay = 1000buffer_size = 3000neurons = 192
Read now
Unlock full access