Beginner-friendly reinforcement learning tutorial toolkit
Project description
rltutor
A simple, beginner-friendly reinforcement learning toolkit.
Installation
pip install rltutor-rohanajay
Usage
from rltutor import BanditEnv, EpsilonGreedyAgent, RLTrainer
env = BanditEnv(arms=[0.1, 0.5, 0.9]) agent = EpsilonGreedyAgent(epsilon=0.1, n_arms=3) trainer = RLTrainer(env, agent) trainer.train(episodes=1000) trainer.plot_results()
Features
- Features
- Multi-armed bandit environment
- Epsilon-greedy agent
- Visualization of reward progress
- Minimal dependencies
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 rltutor-0.0.1.tar.gz.
File metadata
- Download URL: rltutor-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
834ef9ad6986bf2309da5a69c4db9a519dd06f84db0564bf6889324fafbe32f1
|
|
| MD5 |
f68ab1e64e3757cdfffb5edee62ea2c2
|
|
| BLAKE2b-256 |
efd2e6da168282ef6025ebb5d6847618bc59bac2651275c03f3cf5f0a3adc9b0
|
File details
Details for the file rltutor-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rltutor-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31a71091f97b399e5395eb9ba75ba457817d76093c3958c2cb917de22df1598d
|
|
| MD5 |
07ce41d53ff27603255e114324578c29
|
|
| BLAKE2b-256 |
46adaad017c260b349b39f6cf8359992d2cefdec9f1ef90b0497d1c21661510d
|