Skip to main content

Minimal multi-armed bandit helpers: pure exploration & pure exploitation.

Project description

mab-lite-dhruv

Minimal multi-armed bandit helpers for pure exploration and pure exploitation.
Perfect for teaching, quick baselines, and sanity checks.


✨ Features

  • 🍭 Pure exploration: uniform random arm pulls for t trials
  • ⚙️ Pure exploitation: always pull one arm (optionally specify which)
  • 🔁 Reproducible: optional seed
  • 📜 History: returns per-arm counts, rewards, and (arm, reward) history

📦 Installation

pip install mab-lite-dhruv

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

mab_lite_dhruv-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

mab_lite_dhruv-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file mab_lite_dhruv-0.1.1.tar.gz.

File metadata

  • Download URL: mab_lite_dhruv-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mab_lite_dhruv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a1ea4699c0fda164d0dfb09db8359d2682d89c5676a1ec30d083a090de4b0a27
MD5 b210e7875f8da8d11a568d41bb3fe47a
BLAKE2b-256 097ee176ee6f6354d2895e7fc9ca1b49408a24bf35be376e30a07acff25af221

See more details on using hashes here.

File details

Details for the file mab_lite_dhruv-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mab_lite_dhruv-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mab_lite_dhruv-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f8bf7434244a01aabd4e183f7b43f685808574e5e187eab74ebd2cc4a86ff41
MD5 6a9d74e22730e20f248b7ee7e9f42ca9
BLAKE2b-256 e3632167527abe2799ee658d269c1d11e17de93144503ad60dedc5a1081f1a9d

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