Skip to main content
Help us improve Python packaging – donate today!

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.

Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
slots-0.3.0-py2.py3-none-any.whl (9.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 15, 2016
slots-0.3.0.tar.gz (57.6 kB) Copy SHA256 hash SHA256 Source None Aug 15, 2016

Supported by

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