get_betas {cramR} | R Documentation |
Generate Reward Parameters for Simulated Linear Bandits
Description
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.
Usage
get_betas(simulations, d, k)
Arguments
simulations |
Integer. Number of simulations. |
d |
Integer. Number of features (context dimensions). |
k |
Integer. Number of arms. |
Value
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.
[Package cramR version 0.1.0 Index]