Package: countts 0.1.0

Tanujit Chakraborty

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>.

Authors:Xueqing Liu [aut], Nina Deliu [aut], Tanujit Chakraborty [aut, cre, cph], Lauren Bell [aut], Bibhas Chakraborty [aut]

countts_0.1.0.tar.gz
countts_0.1.0.tar.gz(r-4.5-noble)countts_0.1.0.tar.gz(r-4.4-noble)
countts_0.1.0.tgz(r-4.4-emscripten)countts_0.1.0.tgz(r-4.3-emscripten)
countts.pdf |countts.html
countts/json (API)

# Install 'countts' in R:
install.packages('countts', repos = 'https://cloud.r-project.org')

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 173 downloads 7 exports 33 dependencies

Last updated 1 years agofrom:4edec682fc. Checks:3 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 24 2025
R-4.5-linuxOKMar 24 2025
R-4.4-linuxOKMar 24 2025

Exports:apply_laplacePoissonapply_linearTSapply_normalNBapply_ZINBapply_ZIPoutput_summaryupdate_algorithm

Dependencies:clicolorspacedata.tablefansifarverfastDummiesggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalesstringistringrtibbleutf8vctrsviridisLitewithr

Citation

To cite package ‘countts’ in publications use:

Liu X, Deliu N, Chakraborty T, Bell L, Chakraborty B (2023). countts: Thomson Sampling for Zero-Inflated Count Outcomes. R package version 0.1.0, https://CRAN.R-project.org/package=countts.

Corresponding BibTeX entry:

  @Manual{,
    title = {countts: Thomson Sampling for Zero-Inflated Count
      Outcomes},
    author = {Xueqing Liu and Nina Deliu and Tanujit Chakraborty and
      Lauren Bell and Bibhas Chakraborty},
    year = {2023},
    note = {R package version 0.1.0},
    url = {https://CRAN.R-project.org/package=countts},
  }