Back to rankings

upb-lea/reinforcement_learning_course_materials

Jupyter Notebook

Lecture notes, tutorial tasks including solutions as well as online videos for the reinforcement learning course hosted by Paderborn University

reinforcement-learningcontrolteachingteaching-materialspythonlatexpredictionmachine-learningcoursecourse-materialsonline-videosonline-learning
Star Growth
Stars
1.1k
Forks
251
Weekly Growth
โ€”
Issues
0
5001k
Jul 2020Jul 2022Jul 2024Jul 2026
README

Reinforcement learning course

Build Status CC BY 4.0 made-with-python made-with-latex

This work is licensed under a Creative Commons Attribution 4.0 International Public License.

CC BY 4.0

Lecture notes, tutorial tasks including solutions as well as online videos for a reinforcement learning course originally hosted at Paderborn University and transferred to University of Siegen. Source code for the entire course material is open and everyone is cordially invited to use it for self-learning (students) or to set up your own course (lecturers).

Lecture slides (click on preview picture)

Exercise content

All exercises are based on Python 3.12 and site-packages according to the requirements.txt:

>>> pip install -r requirements.txt
  1. Basics of Python for scientific computing
  2. Manually solving basic Markov chain, reward and decision problems
  3. The beer-bachelor and dynamic programming (the shortest beer problem)
  4. Drive through the race track with Monte Carlo learning
  5. Drive even faster using temporal-difference learning
  6. Stabilizing the inverted pendulum by tabular multi-step methods
  7. Boosting the inverted pendulum by integrating learning & planning (Dyna framework)
  8. Predicting the operating behavior of a real electric drive systems with supervised learning
  9. Evaluate the performance of given agents in the mountain car problem using function approximation
  10. Escape from the mountain car valley using semi-gradient SARSA & least square policy iteration
  11. Landing on the moon with REINFORCE and actor-critic methods
  12. Shoot for the moon with DDPG & PPO

Contributions

We highly appreciate any feedback and input to the course material, for example:

  • Reporting typos or content-related issues (please open an issue)
  • Suggesting improvements or corrections (also via issues)
  • Adding or altering content (please submit a pull request)

If you would like to contribute in a larger capacity (e.g., developing new lectures or exercises, maintaining content, or collaborating on course design), please open an issue first so we can coordinate.

Credits

The lecture notes are inspired by

The tutorials are partly using pre-packed environments from

  • Gymnasium (maintained branch of OpenAI's Gym)
Related repositories
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

computer-sciencealgorithms
82.6k11.4k
unslothai/unsloth

Unsloth is a local UI for training and running Gemma 4, Qwen3.6, DeepSeek, Kimi, GLM and other models.

PythonPyPIApache License 2.0fine-tuningllama
unsloth.ai/docs
68.7k6.2k
labmlai/annotated_deep_learning_paper_implementations

๐Ÿง‘โ€๐Ÿซ 60+ Implementations/tutorials of deep learning papers with side-by-side notes ๐Ÿ“; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), ๐ŸŽฎ reinforcement learning (ppo, dqn), capsnet, distillation, ... ๐Ÿง 

PythonPyPIMIT Licensedeep-learningdeep-learning-tutorial
nn.labml.ai
67.2k6.7k
ray-project/ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

PythonPyPIApache License 2.0raydistributed
ray.io
43.3k7.8k
rohitg00/ai-engineering-from-scratch

Learn it. Build it. Ship it for others.

PythonPyPIMIT Licenseagentsai
aiengineeringfromscratch.com
41.6k6.9k
sgl-project/sglang

SGLang is a high-performance serving framework for large language models and multimodal models.

PythonPyPIApache License 2.0cudainference
sglang.io
30.6k7.3k
eugeneyan/applied-ml

๐Ÿ“š Papers & tech blogs by companies sharing their work on data science & machine learning in production.

MIT Licenseapplied-machine-learningproduction
29.9k4k
d2l-ai/d2l-en

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.

PythonPyPIOtherdeep-learningmachine-learning
d2l.ai
29.2k5.1k
AI4Finance-Foundation/FinGPT

FinGPT: Open-Source Financial Large Language Models! Revolutionize ๐Ÿ”ฅ We release the trained model on HuggingFace.

Jupyter NotebookMIT Licensechatgptfinance
fingpt.io
20.9k3k
stefan-jansen/machine-learning-for-trading

Code for Machine Learning for Trading, 3rd edition โ€” from data sourcing to live execution.

Jupyter NotebookMIT Licensemachine-learningtrading
ml4trading.io
20k5.4k
Unity-Technologies/ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

C#Otherreinforcement-learningunity3d
unity.com/products/machine-learning-agents
19.6k4.5k
tensorflow/tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.

PythonPyPIApache License 2.0machine-learningmachine-translation
17.4k3.8k