Skip to content

astrfo/deep-reinforcement-learning-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deep-reinforcement-learning-algorithm

深層強化学習アルゴリズムの実装

実装済み(中)アルゴリズム

使用方法

pip install -r requirements.txt
python main.py

アルゴリズム選択

simulator.pyself.policyに使用したいアルゴリズムのクラスを定義.
ただし,PolicyGradientREINFORCEPGSimulationクラスを使用し,ActorCriticACSimulationクラスを使用してください.(main.pyも適宜変更してください)

def __init__(self, sim, epi, env):
    ...
    self.policy = DQN()

注意事項

ハイパーパラメータやGym環境,指標,実験設定の保存等,そこら辺はかなりいい加減に書いているので注意が必要.
実装の練習にもなると思うので余力がある人は自分でカスタマイズしてみてください.

About

深層強化学習アルゴリズムの実装

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages