This library contains the companion code to the "Reinforcement Learning: Behaviors and Applications" course at Stanford University. It include a clean RL formulation and interface implementation and some example agents and environments.
The easiest way to get started is by working with examples found in the examples subdirectory. A simple entry point is our tutorial notebook
The library is tested on Python 3.7, 3.8 and 3.9.
-
While you can install RLBA in your standard python environment, we strongly recommend using a Python virtual environment to manage your dependencies.
python3 -m venv rlba source rlba/bin/activate pip install --upgrade pip setuptools wheel -
Clone the RLBA GitHub repository
git clone ssh://github.com/mibrahimi/rlba
-
Execute the following command from the main directory (where
setup.pyis located):pip install .[jax,testing]
The library uses some of the code, tools, and utilities from acme.
