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