Skip to content

timbmg/easy21-rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy21 Implementation

This is an implementation of the Easy21 assignment of David Silver's Reinforcement Learning Course at UCL. The assignment can be found here.

Monte-Carlo Control

python3 mc.py

10 Million Episodes of the game have been evaluated, to obtain the following Value function:

TD Learning

python3 td.py

Mean Squared Error of the state-action function of the Monte-Carlo experiment with different Lambdas. For each lambda, 10 000 Episodes have been evaluated.

Mean Squared Error evolution with different Lambdas.

Linear Function Approximation

python3 lfa.py

The lookup table of the previous experiment is replaced with a linear function approximation. The logic for the feature vector can be found in the assignment.