This repo contains a simple cartpole implementation using Q-learning.
Clone this repo using:
https://github.com/lcao300/cartpole.git
To download the necessary libraries (preferably in a conda environment with python 3.6), run:
./install.sh
To train the cartpole algorithm from random initializations, run:
python main.py -train
To test the cartpole algorithm using q_table.npy, run:
python main.py -test