ass="no">context</span>, <span class="no">action</span>, <span class="no">reward</span>) {
      <span class="no">arm</span>                       <span class="kw">&lt;-</span> <span class="no">action</span>$<span class="no">choice</span>
      <span class="no">reward</span>                    <span class="kw">&lt;-</span> <span class="no">reward</span>$<span class="no">reward</span>
      <span class="fu">inc</span>(<span class="no">self</span>$<span class="no">theta</span>$<span class="no">n</span><span c