Reinforcement Learning 101: Q-Learning

Decoding the Math behind Q-Learning, Action-Value Functions, and Bellman Equations, and building them from scratch in Python.

Cristian Leo
Towards Data Science
32 min readFeb 28, 2024

--

Image Generated by DALLE

In the previous article, we dipped our toes into the world of reinforcement learning (RL), covering the basics like how agents learn from their surroundings, focusing on a simple setup…

--

--

A Data Scientist with a passion about recreating all the popular machine learning algorithm from scratch.