pocokhc / r2d2

Qiita投稿用に作成したR2D2(強化学習)の実装コードです。
MIT License
0 stars 0 forks source link

NOTE
Check out the code for Simple Distributed Reinforcement Learning.
I am creating a reinforcement learning framework including R2D2.

R2D2(Deep Reinforcement Learning) for Keras-RL

以下Qiita記事の実装コードとなります。 コードの解説及び各ハイパーパラメータについては記事を参照してください。

概要

Keras 向けの強化学習ライブラリである Keras-rl の Agent を拡張したものとなります。
以下のアルゴリズムを実装しています。(非公式です)

Getting started

1. pip install

使っているパッケージは以下です。

必要に応じて以下のレポジトリも参照してください。

作成時のバージョン

2. ダウンロード

このレポジトリをダウンロードします。

> git clone https://github.com/pocokhc/r2d2.git
> cd r2d2

3. 実行

example にいくつか実行例が入っています。

> cd r2d2/examples
> python rainbow_pendulum.py