# Reinforcement Learning Package

**URL:** <https://discourse.julialang.org/t/reinforcement-learning-package/5113>\
**Category:** Machine Learning\
**Tags:** package, announcement\
**Created:** [July 28, 2017, 4:43pm UTC](https://discourse.julialang.org/t/reinforcement-learning-package/5113 "2017-07-28T16:43:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrea](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jbrea/32/3879_2.png) [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Post date:** [July 28, 2017, 4:43pm UTC](https://discourse.julialang.org/t/reinforcement-learning-package/5113/1 "2017-07-28T16:43:27Z")

</div>

I started to write a julia package for reinforcement learning:  
[https://jbrea.github.io/TabularReinforcementLearning.jl/latest/](https://jbrea.github.io/TabularReinforcementLearning.jl/latest/)

Currently it contains a few algorithms for tabular environments and, on a separate branch, linear function approximation for a few TD algorithms. It is easy to use it with POMDPModels.jl of the POMDPs.jl universe, see examples. Whenever I have time I will continue to add support for linear function approximation, which is straightforward, and try to extend it with non-linear function approximation, e.g. using Knet.jl.

Any feedback is highly appreciated.  
Please let me know, if you want to collaborate.

---

<div class="post-metadata">

**Author:** ![jbrea](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jbrea/32/3879_2.png) [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Post date:** [June 7, 2018, 7:53pm UTC](https://discourse.julialang.org/t/reinforcement-learning-package/5113/2 "2018-06-07T19:53:55Z")

</div>

The package has grown quite a bit in the meantime and features now linear function approximation and deep reinforcement learning (currently (double)DQN and deep actor critic policy gradient) thanks to Flux. Included are classic environments like Mountain Car and CartPole written in Julia (way faster than using OpenAI Gym through PyCall), Atari Games and MDPs/POMDPs.

I moved the package to [https://github.com/jbrea/ReinforcementLearning.jl](https://github.com/jbrea/ReinforcementLearning.jl)

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 15, 2018, 8:36am UTC](https://discourse.julialang.org/t/reinforcement-learning-package/5113/3 "2018-10-15T08:36:57Z")

</div>

This is awesome! Can’t believe i didn’t find this until now. BAD Google!

Been looking for a flagpole better than openai gyms for a while
