Open In Colab

DQN Algorithm Solving Lunar Lander

Import modules

Set up Q network

Create a DQN agent

Function to run above classes

Run the DQN for CartPole

This serves as a toy problem for the algorithm to check it is functioning properly.

Plot the graphs