A reinforcement learning library with explainability features
Project description
Pearl RL
A reinforcement learning library with explainability features for AI/ML research and development.
Features
- Reinforcement Learning Agents: Implementation of various RL algorithms including DQN
- Environment Wrappers: Easy integration with Gymnasium environments
- Explainability Methods: Multiple explainability techniques including LIME, SHAP, and LMUT
- Stability Analysis: Tools for analyzing model stability
- Pre-built Environments: Support for Atari games and Lunar Lander
Installation
pip install pearl-rl
Quick Start
from pearl import Pearl
from pearl.agents import SimpleDQN
from pearl.enviroments import GymRLEnv
# Create an environment
env = GymRLEnv("LunarLander-v2")
# Create an agent
agent = SimpleDQN(env.observation_space, env.action_space)
# Create Pearl instance
pearl = Pearl(agent, env)
# Train the agent
pearl.train(episodes=1000)
# Get explanations
explanations = pearl.explain(episode=0)
Documentation
For detailed documentation and examples, please visit our documentation page.
Contributing
We welcome contributions! Please see our contributing guidelines for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Citation
If you use Pearl in your research, please cite:
@software{pearl_rl,
title={Pearl RL: A Reinforcement Learning Library with Explainability Features},
author={Your Name},
year={2024},
url={https://github.com/yourusername/pearl}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pearl_rl-0.1.0.tar.gz.
File metadata
- Download URL: pearl_rl-0.1.0.tar.gz
- Upload date:
- Size: 47.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e6d61905e9e17d6663dd092ee2031117292ab448a3e9611b49c5667b0c87450
|
|
| MD5 |
da6251e4b992cd053b9c414476486690
|
|
| BLAKE2b-256 |
437539dfc23613f62cb10147e51f4cb32af78019235af84bbd51c86f32c3ebe4
|
File details
Details for the file pearl_rl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pearl_rl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe3652aa9ac9ee6f56ca3c58f4333fad7171bb6b2e7fbb3955c89426a4dbbe8f
|
|
| MD5 |
4f62abc5ebf81a27c2728f6f747684e0
|
|
| BLAKE2b-256 |
515d1ceea5ab8a0febd12ba0eb97052a88df3a7dc7675be2408a34ad91e4240d
|