Kaixhin / Easy21

Reinforcement Learning Assignment: Easy21

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy21

Assignment from David Silver's Reinforcement Learning course. Coded for clarity, not efficiency.

Requires Torch7 with the Moses package.

Run monte-carlo.lua first to generate Q* and the plot of V (below), then sarsa-lambda.lua and lin-fun-approx.lua to generate their plots.

Includes an additional method without value functions - policy-gradient.lua - that uses a simple neural network.

V

About

Reinforcement Learning Assignment: Easy21

License:MIT License


Languages

Language:Lua 100.0%