/qlearning

Basic Clojure implementation of QLearning

Primary LanguageClojure

Q-Learning

A basic implementation of the Q-Learning algorithm in Clojure. This code was initiall written for a presentation given at LispNYC several years ago.

Reinforcement Learning and Neural Nets

It has been updated for a simple Clojure and Reinforcement Learning workshop.

Clojure Setup

Setting up Clojure, Leiningen and Cursive

Demo

Once you have succesfully installed Leiningen, you can simple run the demo examples by typing the following in the project root directory. The parameter n should be a number between 1 and 4 inclusive.

lein run n

Details for examples 2 & 4 can be found here:

Example 2 details

Example 4 details

Project

Here is a simple workshop project:

Non-deterministic Q-Learning

Resources

Clojure Resources

Reinforcement Learning Resources

License

Copyright © 2019

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version. "# qlearning"