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

  1. REINFORCE

    REINFORCE with reward-to-go and a baseline on CartPole.

    Done when: Average reward ≥ 475; baseline lowers variance.

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map