/cart-pole

Python code for watching a ANN play cart-pole

Primary LanguageJupyter NotebookMIT LicenseMIT

Neural Networks learning to play Cart-Pole

Introduction

The idea of CartPole is that there is a pole standing up on top of a cart. The goal is to balance this pole by wiggling/moving the cart from side to side to keep the pole balanced upright.

Libraries

Here I have used

  • Open AI's GYM
  • TfLearn
  • NumPy

Using

How to use the code?
Simply install the required libraries and run the Jupyter Notebook on your system!

Reference

Link to Sentdex's awesome tutorial.