A reinforcement learning approach to teaching a machine how to balance a pole on a frictionless cart.
Since the model has already been created, you can run the model using python mp6.py --model tabular.py --episodes 8 --epsilon 0
You may specify any number of episodes.
You can also create a new model by running python tabular.py
Please make sure you have pytorch, gym, and numpy installed. You may install these dependencies using pip.