Skip to main content

A multi-armed bandit library for Python

Project description

A multi-armed bandit library for Python

slots is intended to be a basic, very easy-to-use multi-armed bandit library for Python.

Author:Roy Keyes - roy.coding@gmail
License:BSD

Introduction

slots is a Python library designed to allow the user to explore and use simple multi-armed bandit (MAB) strategies. The basic concept behind the multi-armed bandit problem is that you are faced with n choices (e.g. slot machines, medicines, or UI/UX designs), each of which results in a “win” with some unknown probability. Multi-armed bandit strategies are designed to let you quickly determine which choice will yield the highest result over time, while reducing the number of tests (or arm pulls) needed to make this determination. Typically, MAB strategies attempt to strike a balance between “exploration”, testing different arms in order to find the best, and “exploitation”, using the best known choice. There are many variation of this problem, see here for more background.

slots provides a hopefully simple API to allow you to explore, test, and use these strategies. See the development site for usage and API details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for slots, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size slots-0.3.0-py2.py3-none-any.whl (9.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size slots-0.3.0.tar.gz (57.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page