Jupyter notebook in which students can learn to evolve the controller for the AI gym continuous cart problem.
The easiest way to install and run the Jupyter notebook locally is to: (1) Create a virtual environment for Python (venv) (see, e.g., this explanation for Windows ). (2) Install the required packages with the help of the requirements.txt file (see, e.g., here how to do that). (3) Add the environment as a Kernel to Jupyter notebook (see, e.g., this blog).
On Windows in the (GIT) command window:
git clone git@github.com:guidoAI/evolve_cart.git
python -m venv evolve_cart
cd evolve_cart
.\Scripts\activate.bat
pip install -r requirements.txt
pip install ipykernel
python -m ipykernel install --user --name=evolve_cart
pip install notebook
jupyter notebook
Then, in the Jupyter notebook, select evolve_cart
as a Kernel.