get_betas: Generate Reward Parameters for Simulated Linear Bandits

get_betasR 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.


cramR documentation built on Aug. 25, 2025, 1:12 a.m.