Mabby

Latest version: v0.1.2

Safety actively analyzes 625178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.2

What's Changed
* fix: use instance rng for bandit play by ew2664 in https://github.com/ew2664/mabby/pull/93
* fix: Raise `ValueError` for invalid arm params by dag2226 in https://github.com/ew2664/mabby/pull/104
* feat: add epsilon-first strategy by ew2664 in https://github.com/ew2664/mabby/pull/105

New Contributors
* dag2226 made their first contribution in https://github.com/ew2664/mabby/pull/104

**Full Changelog**: https://github.com/ew2664/mabby/compare/v0.1.1...v0.1.2

0.1.1

**mabby** is a library for simulating multi-armed bandits, with the following features:
* running simulations with different strategies on a configurable set of arms
* tracking for regret, cumulative regret, optimality, reward, and cumulative reward metrics
* visualizing the tracked metrics, allowing comparison between different strategies

**mabby** also currently supports and includes:
* implementations for epsilon-greedy, UCB1, and beta Thompson sampling strategies
* implementations for arms with Bernoulli and Gaussian reward distributions
* custom strategies and arms through sub-classing the abstract `Strategy` and `Arm` classes

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.