#270 · Primary category: Education & Research
reinforcement-learning-an-introduction
Python Implementation of Reinforcement Learning: An Introduction
Project last updated:08/09/24
GitHub Stars
14.8K
Forks
5.0K
Contributors
33
License
MIT
Why we included this project
Anyone working through Sutton and Barto's Reinforcement Learning: An Introduction will find this repo a practical companion. It reimplements nearly every figure and worked example from the second edition in clean, self-contained Python, from the 10-armed bandit testbed and gridworld value iteration through Monte Carlo, TD learning, Sarsa, Q-learning, Dyna-Q, and function approximation. Each script reproduces the exact plot shown in the book, so you can run a chapter's code, see the result, and check your own understanding against a reference implementation. Students who want to move from reading equations to actually running the algorithms will get the most out of it, and instructors can pull scripts straight into lab exercises. The code is organized by chapter and kept deliberately simple, a good starting point before moving on to heavier frameworks.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI