Learn R Programming

countts (version 0.1.0)

apply_linearTS: Apply the algorithms to make decisions for Linear Thompson sampling (TS) algorithms

Description

Apply the algorithms to make decisions for Linear Thompson sampling (TS) algorithms

Usage

apply_linearTS(context, beta_linearTS)

Value

Intervention option

Arguments

context

context at the current decision time

beta_linearTS

the randomly sampled Bayesian estimate

Examples

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

Run the code above in your browser using DataLab