# 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 `TODO`s 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```