Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 573 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 573 Bytes

Train a Smartcab How to Drive

Using Reinforcement Learning algorithms like Q-Learning to train artificial agents to take optimal actions in an environment.

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