(Contextual) MAB Simulation
1 2 3 4 5 6 7 8 9 10 |
nsteps |
The number of steps (decisions) in the simulation. |
reward_funs |
A list of functions givin the expected reward of each earm (given context x). |
sd |
A numeric vector giving the standard deviation of each lever. |
J |
The number of basis functions to be used in the model. |
alpha |
A scaling parameter for the prior variances. The prior variance of the i'th model coefficient is given by i^-alpha (the intercept is the 0'th coefficient, and has a prior variance of 1). |
a |
The shape parameter for the inverse gamma distribution. |
b |
The scale parameter for the inverse gamma distribution. |
repartition |
Set to FALSE if you don't want to partition the context space. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.