https://github.com/data-science-in-mechanical-engineering/rllbc

Algorithm library for the class "Reinforcement Learning and Learning-based Control" by the Institute for Data Science in Mechanical Engineering (DSME) at RWTH Aachen University.

https://github.com/data-science-in-mechanical-engineering/rllbc

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Algorithm library for the class "Reinforcement Learning and Learning-based Control" by the Institute for Data Science in Mechanical Engineering (DSME) at RWTH Aachen University.

Basic Info
Statistics
  • Stars: 39
  • Watchers: 5
  • Forks: 7
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

DSME-logo

Reinforcement Learning and Learning-based Control

Prof. Dr. Sebastian Trimpe, Dr. Friedrich Solowjow
Institute for Data Science in Mechanical Engineering(DSME)
rllbc@dsme.rwth-aachen.de


The algorithms within this library were developed in the context of the class Reinforcement Learning and Learning-based Control (RLLBC) by the Institute for Data Science in Mechanical Engineering (DSME) at RWTH Aachen University. In this class we use this library in Lectures and Exercises. Students can also use the library to expand their knowledge through self-study. We provide example algorithms for tabular and deep reinforcement learning in the folders "tabularexamples" and "deepexamples". All algorithms are presented via Jupyter notebooks. You can find installation instructions below. For more details on how to work with the algorithms, we refer to the descriptions in the notebooks. Furthermore, we provide examples from the lecture and exercise in the folder "class_examples".

Installation guide

To install the library, please follow the instructions below.

  1. Download the files

  2. Install the latest version of UV https://docs.astral.sh/uv/#installation

    • make sure that you install the version for the operating system that you are using
  3. Create the uv environment setup uv venv -p 3.10

  4. Activate the environment on Linux with setup source .venv/bin/activate or on Windows with setup .venv\Scripts\activate and install the required packages with setup uv pip sync ./requirements.txt

  5. Start up JupyterLab from your terminal with setup jupyter-lab

→ Now you should be able to browse your file system for the notebooks

Note: In order to be able to render videos of the agent's performance you have to make sure to have ffmpeg installed.

Warning: pybox2d is not available for Apple Silicon devices (Mac with M1, M2, or M3 processors). When working with Apple Silicon devices, this might cause issues. For installation, remove pybox2d from the list of required packages in the environment.yml file.

Using the library on a local computer:

Once the environment has been successfully installed, the library can be easily accessed via the following steps: 1. Navigate to the project folder and open your terminal there. On Windows, use the powershell. 2. Activate the environment with setup source .venv/bin/activate or on Windows with setup .venv\Scripts\activate 3. Start up JupyterLab from your terminal with setup jupyter-lab You are ready to browse the library.

Dev notes

To update the requirement.txt do: setup uv pip compile requirements.in \ --universal \ --output-file requirements.txt

Owner

  • Name: Data Science in Mechanical Engineering (DSME)
  • Login: Data-Science-in-Mechanical-Engineering
  • Kind: organization
  • Location: Aachen, Germany

Public code repository of the Institute for Data Science in Mechanical Engineering at the RWTH Aachen University

GitHub Events

Total
  • Watch event: 13
  • Member event: 1
  • Push event: 42
  • Pull request review event: 2
  • Pull request event: 3
  • Fork event: 5
  • Create event: 4
Last Year
  • Watch event: 13
  • Member event: 1
  • Push event: 42
  • Pull request review event: 2
  • Pull request event: 3
  • Fork event: 5
  • Create event: 4