Skip to content

Solving simple Reinforcement Learning Problems - Q learning and Deep Q Networks

Notifications You must be signed in to change notification settings

pulakk/ReinforcementLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning

Simple Q Learning Test

Simple 1D game having a starting point and an ending point separated by 5 steps. Objective : reach from one end to the other end

Open AI Gym (Cartpole environment)

An attempt to solve the cartpole problem simply using the bellman equation for Q Learning - After about 1000 iterations, the algorithm is seen to last around 150 to 200 time steps on an average.

DQN - Open AI Gym (Cartpole environment)

Solving OpenAI Gym CartPole Problem using a Deep Q Network with 2 layers and ReLU activations - The network can reach 300+ time steps on an average in a few hundred iterations. A particular trained model saved as 450.h5 in the models folder beat the game by lasting 500 time steps consecutively non stop for as many test episodes it was run.

About

Solving simple Reinforcement Learning Problems - Q learning and Deep Q Networks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages