powered by
Apply the algorithms to make decisions for Thompson sampling Negative Binomial (TS-NB) algorithms
apply_normalNB(context, beta_normalNB)
Intervention option
context at the current decision time
the randomly sampled Bayesian estimate
apply_normalNB(matrix(1:10, nrow = 2),matrix(11:20, nrow = 5))
Run the code above in your browser using DataLab