Lets Code Proximal Policy Optimization @EdanMeyer
Lets Code Proximal Policy Optimization  @EdanMeyer
Uploaded May 2021 | Updated September 2026, 4 hours ago
This is a tutorial and explanation for how to code Proximal Policy Optimization PPO. I cover how to code the core training loop of the algorithm and apply Proximal Policy Optimization to the OpenAI gym Cart Pole environment.
PPO is a reinforcement learning training method. It falls into the category of policy gradient methods, which is where a predictor is trained on a gradient derived directly from a reward function. PPO is sample efficient and very stable which makes it great from RL control problems like robotics and also many other tasks.

RL theory series: youtube.com/playlist?list=PL_49VD9KwQ_OML1Knh-Yb7FUFkhTLS0jL
^ Watch the series above if you were confused

PPO paper: arxiv.org/abs/1707.06347
Generalized Advantage Estimation (GAE) paper: arxiv.org/abs/1506.02438
Lets Code Proximal Policy OptimizationProximal Policy Optimization ExplainedLets Recreate Google Translate! | Neural Machine TranslationExploratory Data Analysis, DONT SKIP ITThe Best of NeurIPS 2022AI Assistants Are Actually StupidHow I Got My First Machine Learning Job (Without a Degree)Q Learning Tutorial: Experience ReplayReinforcement Learning Cartpole IntroThis AI Learns from YouTube!Q Learning Tutorial: Dueling ArchitectureLets Recreate Google Translate! | Multilingual Data
Edan Meyer |

Let's Code Proximal Policy Optimization

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER