Skip to content

My second submission to the Pacman coursework in Machine Learning class at King's College London.

Notifications You must be signed in to change notification settings

nghible/PacmanSARSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PacmanSARSA

My second submission to the Pacman coursework in Machine Learning class at King's College London.

Paraphrase of Coursework:

This coursework solves the Pacman game using a basic SARSA reinforcement learning algorithm. Details of SARSA: https://en.wikipedia.org/wiki/State%E2%80%93action%E2%80%93reward%E2%80%93state%E2%80%93action

The implementation is in the "mlLearningAgents.py" file.

To run the algorithm, type into the terminal:

python pacman.py -p QLearnAgent -x 2000 -n 2010 -l smallGrid

The algorithm will be trained on 2000 games and will be tested on 10 games. smallGrid is the map.

Berkeley License:

This coursework is based on the PacmanAI from UC Berkeley: http://ai.berkeley.edu/project_overview.html

About

My second submission to the Pacman coursework in Machine Learning class at King's College London.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages