barl-0.0.0.5
توضیحات
Bayesian Approximate Reinforcement Learning (BARL)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | barl-0.0.0.5 |
| نام | barl |
| نسخه کتابخانه | 0.0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | nikolai rozanov |
| ایمیل نویسنده | nikolai.rozanov@gmail.com |
| آدرس صفحه اصلی | https://github.com/ai-nikolai/barl |
| آدرس اینترنتی | https://pypi.org/project/barl/ |
| مجوز | Apache 2.0 |
# 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):
1. estimators
2. agents
3. environments
4. simulations & visualisation
## Installation:
### PIP:
```bash
pip3 install barl
```
### Github:
```bash
git clone https://github.com/ai-nikolai/barl
cd barl
pip3 install -e .
```
## Usage:
### Testing
```bash
cd barl
pytest
```
### Experiments:
```bash
cd barl
cd experiments
python3 experiments_mab.py
```
### Scripts:
```python
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
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | matplotlib |
| >=0.9 | seaborn |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl barl-0.0.0.5:
pip install barl-0.0.0.5.whl
نصب پکیج tar.gz barl-0.0.0.5:
pip install barl-0.0.0.5.tar.gz