Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Jules Kruijswijk, Robin van Emden, Petri Parvinen, Maurits Kaptein
Title: StreamingBandit: Experimenting with Bandit Policies
Abstract: A large number of statistical decision problems in the social sciences and beyond can be framed as a (contextual) multi-armed bandit problem. However, it is notoriously hard to develop and evaluate policies that tackle these types of problems, and to use such policies in applied studies. To address this issue, this paper introduces StreamingBandit, a Python web application for developing and testing bandit policies in field studies. StreamingBandit can sequentially select treatments using (online) policies in real time. Once StreamingBandit is implemented in an applied context, different policies can be tested, altered, nested, and compared. StreamingBandit makes it easy to apply a multitude of bandit policies for sequential allocation in field experiments, and allows for the quick development and re-use of novel policies. In this article, we detail the implementation logic of StreamingBandit and provide several examples of its use.

Page views:: 869. Submitted: 2016-10-21. Published: 2020-08-31.
Paper: StreamingBandit: Experimenting with Bandit Policies     Download PDF (Downloads: 190)
Supplements:
StreamingBandit.zip: Source code Download (Downloads: 6; 6MB)
v94i09-replication.zip: Replication materials Download (Downloads: 4; 36MB)

DOI: 10.18637/jss.v094.i09

by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.