BARL - Bayesian Approximate Reinforcement Learning
This package should serve as a collection of tools to do RL in general and in particular bayesian RL.
The Main Features(Jul 2019):
- estimators
- agents
- environments
- simulations & visualisation
Installation:
PIP:
pip3 install barl
Github:
git clone https://github.com/ai-nikolai/barl
cd barl
pip3 install -e .
Usage:
Testing
cd barl
pytest
Experiments:
cd barl
cd experiments
python3 experiments_mab.py
Scripts:
import barl
env = barl.environments.MultiArmedBandit(arms=4)
agent1 = barl.agents.baselines.RandomActionsSampler(numActions=4)
total, arlist, _ = barl.simulations.run_state_less_agent_and_env( environment=env, agent=agent1, N=100)
barl.utils.plotting.plot_reward_over_time_from_ar(arlist)
Copyright (C) - Nikolai Rozanov 2019-Present
Release files for barl 0.0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| barl-0.0.0.5.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| barl-0.0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / barl-0.0.0.5.tar.gz
| Download URL | barl-0.0.0.5.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c805df0fa8a131a8f17311ddb699ca208f53fa0bb0bfc8201309e250ef03ddb2
|
|
BLAKE2b-256 checksum How to use checksums |
7a899999d24ba329bc2cf871e257929ff4b07f20d9874e5ffd49cf55022c24ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|
Release files / barl-0.0.0.5-py3-none-any.whl
| Download URL | barl-0.0.0.5-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5be28e3e9dacb912bfb25f218e4c43c078fe2e572b7420d1258b518472f6baf8
|
|
BLAKE2b-256 checksum How to use checksums |
daa763d2117a2e2060ee0205f7268163fbe28c4a9f53ee429b6beb99f5a7c1eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|