Given matrix or d dimensional vector X, number of arms k and number of features d returns a matrix with d x k context matrix
get_full_context(context, select_features = NULL, prepend_arm_matrix = FALSE)
a context list containing a d x k Matrix or d dimensional context vector X, the number of features d and number of arms k.
indices of to be returned feature rows.b
prepend a diagonal arm matrix to the returned context vector. That is, when k = 5 arms, prepend diag(5) to the top of the matrix.
A d x k context Matrix