sim_bandit: Generic C-MAB Simulation

Description Usage Arguments

View source: R/generic_mab.R

Description

Generic C-MAB Simulation

Usage

1
sim_bandit(nsteps, J, means, sd, bas_type = "poly", alpha = 1, b = 1)

Arguments

nsteps

The number of steps in the Simulation.

J

The number of basis functions to be used in the model.

means

A list containing mean-reward functions for each lever.

sd

A vector with the standard deviation of each lever.

bas_type

Either "fourier" or "poly".

alpha

Parameter to control the rate of decay in the prior variance.

b

Hyper-parameter of the gamma distribution. Directly influences the rate of exploration in the simulation.


dfcorbin/npbanditC documentation built on March 23, 2020, 5:25 a.m.