Mountain car is a reinforcement learning environment in gym. Here I've tried Q Learning and Deep Q Learning two different algorithms.
- Tensorflow
- gym
$ python q_learn.py
Could choose to use a trained-well model
$ python run.py [--reuse=True, False]
For more details please see the report.pdf file
As for DQN algorithm implementation, I reference this tutorial: https://morvanzhou.github.io/tutorials/machine-learning/reinforcement-learning/