Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rlcode/reinforcement-learning
/ 3-ppo.py
File
3-ppo.py
2-cartpole/3-ppo.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"PPO (Proximal Policy Optimization) agent
for
CartPole-v1.
2
3
Schulman et al., 2017:
"Proximal Policy Optimization Algorithms"
4
(arXiv:1707.06347). Also uses GAE
from
Schulman et al., 2016:
Callers
nothing calls this directly
Calls
10
parse_args
Function · 0.90
make_env
Function · 0.90
run_test_loop
Function · 0.90
quit_if_window_closed
Function · 0.90
append
Method · 0.80
ActorCritic
Class · 0.70
compute_gae
Function · 0.70
reset
Method · 0.45
sample
Method · 0.45
step
Method · 0.45
Tested by
no test coverage detected