Description Usage Arguments Value
Generate Prior Distribution on Bandit Parameters
1 | gen_priors(nlevers, J, bas_type, alpha = 1, b = 1)
|
nlevers |
An integer representing the number of levers to choose from. |
J |
An integer representing the number coefficients that are being used in the non-parametric model. #' @param bas_type Either "fourier" or "poly". |
alpha |
Scaling parameter to tune the prior variances. |
b |
Hyperparameter for the inverse gamma distribution. Directly related to the rate of exploration. |
A list containing a prior distribution for the parameters associated with each lever. Each prior distribution is itself a a list containing the hyperparameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.