An open API service indexing awesome lists of open source software.

https://github.com/kkweon/policy-gradient-tensorflow-in-r

Policy Gradient Example in R
https://github.com/kkweon/policy-gradient-tensorflow-in-r

gym r tensorflow

Last synced: 2 months ago
JSON representation

Policy Gradient Example in R

Awesome Lists containing this project

README

          

# Policy Gradient with Tensorflow, R, OpenAI(CartPole)
This is a policy gradient implementation using
* R
* OpenAi Gym (CartPole-v0)
* Tensorflow

# Screenshot

## During Training
![before](doc/checkpoint.gif)
## After Training
![img](doc/checkpoint_v3.gif)

# File Description
* train.R
* main train file
* it's used to train the policy and value model
* test.R
* render the gamplay done by the model
* doc/
* further detail explanation
* helpers/
* most functions are defined here
* log/
* game result of training step
* tests/
* unittests files are located here