utility function to obtain the full <code>d x k</code> context matrix.</p>
<p>The functions additionally support returning a subset of all context features through its <code>select_features</code> arguments, and they can respectively prepend a “one hot encoded” style arm vector or diagonal arm matrix through their <code>prepend_arm_vector</code> arguments.</p>
</div>
<div id="how-do-i-define-my-own-custom-regret-function" class="section level2">
<h2 class="hasAnchor">
<a href="#how-do-i-define-my-own-cu