Learn R Programming

countts (version 0.1.0)

apply_normalNB: Apply the algorithms to make decisions for Thompson sampling Negative Binomial (TS-NB) algorithms

Description

Apply the algorithms to make decisions for Thompson sampling Negative Binomial (TS-NB) algorithms

Usage

apply_normalNB(context, beta_normalNB)

Value

Intervention option

Arguments

context

context at the current decision time

beta_normalNB

the randomly sampled Bayesian estimate

Examples

Run this code
apply_normalNB(matrix(1:10, nrow = 2),matrix(11:20, nrow = 5))

Run the code above in your browser using DataLab