Based on PARL, we provide a simple example of the DQN algorithm.
- Paper: DQN in Human-level Control Through Deep Reinforcement Learning
Performance of DQN playing CartPole-v0
# To train a model for CartPole-v0 game
python train.py
For DQN variants such as Double DQN and Dueling DQN, please check here