Policy gradients
Step 8 of 10 in Reinforcement Learning · Build · Medium
Directly adjust a policy network to make high-reward actions more likely (REINFORCE). Works with continuous actions; high variance needs baselines.
Build it
REINFORCE
REINFORCE with reward-to-go and a baseline on CartPole.
Done when: Average reward ≥ 475; baseline lowers variance.
Resources
- Wikipedia: Policy gradient method Article
- OpenAI Spinning Up Course
- CS285 Berkeley Course
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map