Tiny action-selection helpers for demos.
Project description
explorex
Tiny action-selection helpers: explore, exploit, fixed_explore, epsilon_greedy.
Usage
from explorex import explore, exploit, fixed_explore, epsilon_greedy
print(explore(5))
print(exploit([0.1, 0.7, 0.2]))
print(fixed_explore(5, k=2))
print(epsilon_greedy([0.1, 0.7, 0.2], epsilon=0.2))
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
explorex-0.1.0.tar.gz
(1.6 kB
view details)
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 explorex-0.1.0.tar.gz.
File metadata
- Download URL: explorex-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21cad80880cb5c46dd9c92935112c15367edebd2f6bd1c3ce165b9747f1ae8de
|
|
| MD5 |
ee7a9f833a85cf2280f80ec7ef7c1675
|
|
| BLAKE2b-256 |
0f782b74a48901a15162a77e89e5e3e0bc0dc9727ac461dce509393a286cd877
|
File details
Details for the file explorex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: explorex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20e807ffd1c88988ca1b3b402f781500f84136fe165c1c0c1952d84a6661a479
|
|
| MD5 |
51140f835445a80c3f4e518c333fa4e9
|
|
| BLAKE2b-256 |
4fee3283a362b41c18298f8087363947409e0c866ff64159226dd9c1d9b5920a
|