Batched bandits#
Read more in the user guide.
Protocol#
Base class for batched bandit agents. |
|
Wrap a stochastic bandit into a batched one. |
|
Interaction loop for the batched bandit setting. |
Agents#
Batched IMED with within-batch sequential index updates. |
|
BCB with CVaR = Expectation (adapted batch version). |
|
BCB without the optimistic within-batch count increment. |
|
Batched Anytime Bandit Algorithm |
|
Baseline filling every batch with the best arm. |
|
Uniform exploration: fill each batch with independent random arms. |
Environments#
Batched Bernoulli bandit, built from means and a named batch schedule. |
|
Batched Gaussian bandit, built from means and a named batch schedule. |
|
Batched bandit with Gaussian arms truncated to |
Batch schedules#
A schedule maps a round index to the size of that round’s batch. Pass one by
name to the environment factories above, or directly to
BatchMAB.
Batch sizes of the BABA epoch grid, as a plain list. |
|
Batch schedule cycling through linear, exponential, constant, and cubic. |