RL-Problems
RL-Problems is a Python package that provides clean and modular implementations of classic Reinforcement Learning (RL) algorithms. The package is designed to make RL experiments and learning accessible, with functions and classes that can be imported and used directly, similar to standard Python libraries like NumPy. It focuses on clarity, reusability, and extendability, making it suitable for both beginners and researchers who want to experiment with RL strategies.
Currently, the package includes K-Armed Bandits with standard epsilon-greedy and contextual strategies, as well as linear and exponential epsilon decay variants for exploration control. Each algorithm is implemented as a class or function, allowing users to quickly test different RL scenarios, track rewards, and analyze arm selection behavior. Future updates will expand the library with more RL algorithms and evaluation utilities.
Examples
from RL_Problems.Bandit_Problem.linear_decreasing import LinearDecresingEpsilonBandit
s1 = LinearDecresingEpsilonBandit(n_runs=1000,epsilon_start=1.0,epsilon_end=0.01,num_arms=10)
results = s1.run_linear_epsilon_decreasing()
print(results)
Metadata
Release files for rl-problems 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rl_problems-0.1.1.tar.gz | 7.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rl_problems-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / rl_problems-0.1.1.tar.gz
| Download URL | rl_problems-0.1.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55bcf46738f57f2f6cc340a5b1cdcd5fdd34b57fe959e0ebcb9dfa11cae31324
|
|
BLAKE2b-256 checksum How to use checksums |
4ef3040266656b1c38ef18ec7a9f48915b94a02900f38c872c539a1fd73a8aa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / rl_problems-0.1.1-py3-none-any.whl
| Download URL | rl_problems-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1b45d16bb6abb8da6a91ed14a7d342250bbb1bfc76c46e55aa374ce510544f4
|
|
BLAKE2b-256 checksum How to use checksums |
039481884a82cb2bc9625a561f55fecf528b0f782ba355911413df0ef77cc8dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for rl-problems 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.