RL framework for experimenting with reinforcement learning in Python
Top 86.5% on sourcepulse
This library provides a simple, reproducible framework for experimenting with Reinforcement Learning (RL) in Python. It targets researchers and students needing a straightforward tool to test RL algorithms, offering ease of use and clear experiment tracking.
How It Works
The framework is built around core RL components: Agents, Markov Decision Processes (MDPs), and Experiments. It allows users to define custom MDPs or use provided ones (like GridWorld) and implement various agents (e.g., Q-Learning, Random). A key feature is the run_agents_on_mdp
function, which orchestrates agent-environment interaction, collects results, and generates plots. The "easy reproduction of results" feature saves experiment configurations to files, enabling quick re-runs and verification of results.
Quick Start & Requirements
pip install simple_rl
numpy
, matplotlib
. pygame
for visuals.Highlighted Details
reproduce_from_exp_file
) for tracking and re-running experiments.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The reproducibility feature currently only supports standard MDPs and does not extend to OO-MDPs, POMDPs, or Markov Games. Deep RL algorithms (like DQN) and advanced planning methods (like RTDP) are listed as "In Development."
1 year ago
1 day