RyosukeHonda / smartcab

Implement q-learning to find the best way in the crowded traffic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train a Smartcab How to Drive

Reinforcement Learning Project

Install

This project requires Python 2.7 with the pygame library installed:

https://www.pygame.org/wiki/GettingStarted

Code

Open smartcab/agent.py and implement LearningAgent. Follow TODOs for further instructions.

Run

Make sure you are in the top-level project directory smartcab/ (that contains this README). Then run:

python smartcab/agent.py

OR:

python -m smartcab.agent

About

Implement q-learning to find the best way in the crowded traffic


Languages

Language:Jupyter Notebook 98.3%Language:Python 1.2%Language:TeX 0.6%