countts: Thomson Sampling for Zero-Inflated Count Outcomes

A specialized tool is designed for assessing contextual bandit algorithms, particularly those aimed at handling overdispersed and zero-inflated count data. It offers a simulated testing environment that includes various models like Poisson, Overdispersed Poisson, Zero-inflated Poisson, and Zero-inflated Overdispersed Poisson. The package is capable of executing five specific algorithms: Linear Thompson sampling with log transformation on the outcome, Thompson sampling Poisson, Thompson sampling Negative Binomial, Thompson sampling Zero-inflated Poisson, and Thompson sampling Zero-inflated Negative Binomial. Additionally, it can generate regret plots to evaluate the performance of contextual bandit algorithms. This package is based on the algorithms by Liu et al. (2023) <arXiv:2311.14359>.

Getting started

Package details

AuthorXueqing Liu [aut], Nina Deliu [aut], Tanujit Chakraborty [aut, cre, cph] (<https://orcid.org/0000-0002-3479-2187>), Lauren Bell [aut], Bibhas Chakraborty [aut]
MaintainerTanujit Chakraborty <tanujitisi@gmail.com>
LicenseGPL (>= 2)
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("countts")

Try the countts package in your browser

Any scripts or data that you put into this service are public.

countts documentation built on May 29, 2024, 10:23 a.m.