Skip to content

Commit

Permalink
deploy: 641fa95
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-galataud committed Apr 17, 2024
1 parent e23db05 commit 4404b37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions ops/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,35 +447,8 @@ <h2>Classes documentation<a class="headerlink" href="#classes-documentation" tit
<span class="n">significance_level</span><span class="o">=</span><span class="mf">0.1</span>
<span class="p">)</span>
<span class="n">results</span> <span class="o">=</span> <span class="n">ope</span><span class="o">.</span><span class="n">evaluate</span><span class="p">()</span>

<span class="n">results</span><span class="o">.</span><span class="n">as_dataframe</span><span class="p">()</span>
</pre></div>
</div>
<p>Expected output:</p>
<table class="table">
<thead>
<tr class="row-odd"><th class="head"></th>
<th class="head"><p>mean</p></th>
<th class="head"><p>std</p></th>
<th class="head"><p>lower_bound</p></th>
<th class="head"><p>upper_bound</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>IPW</p></td>
<td><p>0.509084</p></td>
<td><p>0.00802636</p></td>
<td><p>0.496008</p></td>
<td><p>0.522423</p></td>
</tr>
<tr class="row-odd"><td><p>SNIPW</p></td>
<td><p>0.499934</p></td>
<td><p>0.00515545</p></td>
<td><p>0.491553</p></td>
<td><p>0.508592</p></td>
</tr>
</tbody>
</table>
<dl class="py method">
<dt class="sig sig-object py" id="hopes.ope.evaluation.OffPolicyEvaluation.evaluate">
<span class="sig-name descname"><span class="pre">evaluate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target_policy</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../policy/index.html#hopes.policy.Policy" title="hopes.policy.policies.Policy"><span class="pre">Policy</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="pre">OffPolicyEvaluationResults</span></span></span><a class="headerlink" href="#hopes.ope.evaluation.OffPolicyEvaluation.evaluate" title="Link to this definition">#</a></dt>
Expand Down
Loading

0 comments on commit 4404b37

Please sign in to comment.