Learn R Programming

countts (version 0.1.0)

apply_laplacePoisson: Apply the algorithms to make decisions for Thompson sampling Poisson (TS-Poisson) algorithms

Description

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

Usage

apply_laplacePoisson(context, beta_laplacePoisson)

Value

Intervention option

Arguments

context

context at the current decision time

beta_laplacePoisson

the randomly sampled Bayesian estimate

Examples

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

Run the code above in your browser using DataLab