Skip to content

shiba24/rlLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement learning

Simple library of reinforcement learning (Q learning and Deep Q Network).

Overview

Q learning is a classical algorithm for reinforcement learning and deep Q Network (DQN) is originated from Human-level control through deep reinforcement learning by Volodymyr Mnih et al.

Also, now Double-DQN is appearing soon and Dueling Network in prep.

With this library, you can solve some sample tasks with either algorithm. Other tasks like some games are now in prep.

You can also define your own task with little effort and solve it with q-learning or dqn algorithm easily.

Requirements

Q-learning

DQN

Usage: Solve sample tasks

Q-learning

Learning the shortest way to the destination of given field, using q-learning algorithm with epsilon-greedy strategy.

$ python qlearn.py --task "Searchway"

Learning how to swimg up the pendulum, using deep-q network.

$ python qlearn.py --task "Pendulum"

DQN

Learning the tasks using Deep Q Network.

$ python dqn.py --task "Searchway"
$ python dqn.py --task "Pendulum"

Usage: Define your own task

Now in prep...

Author

shiba24, March, 2016

About

Environment-flexible Q-learning and DQN library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages