arXiv Machine Learning
Nov 2

rl_rob: A transparent, from-scratch Python library for teaching reinforcement learning from tabular methods to deep policy gradients

rl_rob is an open‑source Python library designed for teaching reinforcement learning, covering a full curriculum from tabular temporal‑difference learning to deep value‑based and policy‑gradient methods. Every algorithm is implemented from first principles, making the update rules transparent and concise. The library provides a unified interface for all agents, enabling direct comparison across stages and allowing students to implement, modify, and explain update rules rather than merely producing working code.

By Abdulrahman Altahhan