Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

My big idea: Ancient Brain


CA216      CA249      CA318

CA400      CA651      CA668

Sample code for Q-learning

Here is some sample C++ (pseudo)code for how to implement the major components of Q-learning:

How to implement vectors and the state-space as a lookup table

How to implement Q-learning

Sample implementation - the HouseRobot problem

Feeds      w2mind.org      ancientbrain.com

On the Internet since 1987.