Reinforcement Learning with Neural Networks: Mathematical Details @statquest
Reinforcement Learning with Neural Networks: Mathematical Details  @statquest
Uploaded April 2025 | Updated September 2026, 1 week ago
Here we go through the math required to update a parameter in a neural network using reinforcement learning and we do it one step a time. We show how the derivatives are calculated (BAM!), then updated (DOUBLE BAM!!), and then used to optimize the parameters (TRIPLE BAM!!!).

If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join

...buying a book, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store

...or just donating to StatQuest!
paypal: paypal.me/statquest
venmo: @JoshStarmer

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer

0:00 Awesome song and introduction
4:09 Calculating a derivative
12:16 Updating the derivative with a reward
15:39 Updating a parameter in the neural network
16:28 A second example

#StatQuest
Reinforcement Learning with Neural Networks: Mathematical DetailsHuman Stories in AI: Nana Janashia@TechWorld With NanaMaximum Likelihood For the Normal Distribution, step-by-step!!!A Drink From The Welljoe and sueMultiple Regression, Clearly Explained!!!Machine Learning Fundamentals: Bias and VarianceLive Stream - More details about Target Encoding/AMA/Silly SongsWildest DreamsThe StatQuest Introduction to PyTorchLittle Red FiatEncoder-Only Transformers (like BERT) for RAG, Clearly Explained!!!
StatQuest with Josh Starmer |

Reinforcement Learning with Neural Networks: Mathematical Details

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER