get_betas | R Documentation |
Creates a list of matrices representing the arm-specific reward-generating parameters (betas) used in contextual linear bandit simulations. Each matrix corresponds to one simulation and contains normalized random coefficients.
get_betas(simulations, d, k)
simulations |
Integer. Number of simulations. |
d |
Integer. Number of features (context dimensions). |
k |
Integer. Number of arms. |
A list of length simulations + 1
(first element being discarded in the underlying
simulation package), each containing a d x k
matrix of normalized reward parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.