Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

explorex-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

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

Hashes for explorex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 21cad80880cb5c46dd9c92935112c15367edebd2f6bd1c3ce165b9747f1ae8de
MD5 ee7a9f833a85cf2280f80ec7ef7c1675
BLAKE2b-256 0f782b74a48901a15162a77e89e5e3e0bc0dc9727ac461dce509393a286cd877

See more details on using hashes here.

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

Hashes for explorex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20e807ffd1c88988ca1b3b402f781500f84136fe165c1c0c1952d84a6661a479
MD5 51140f835445a80c3f4e518c333fa4e9
BLAKE2b-256 4fee3283a362b41c18298f8087363947409e0c866ff64159226dd9c1d9b5920a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page