Skip to content

Commit

Permalink
fix doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-galataud committed Jun 3, 2024
1 parent 18bd8b6 commit a968796
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/source/ops/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Example with a synthetic, random, dataset.
behavior_policy=behavior_policy,
estimators=estimators,
fail_fast=True,
significance_level=0.1,
ci_method="t-test",
ci_significance_level=0.1,
)
results = [
Expand All @@ -52,7 +53,7 @@ Example with a synthetic, random, dataset.
]
# select the top k policies based on lower bound (confidence interval +-90%)
top_k_results = OffPolicySelection.select_top_k(results, metric="lower_bound")
top_k_results = OffPolicySelection.select_top_k(results, metric="lower_bound", top_k=1)
print(top_k_results[0])
This should produce an output similar to:
Expand Down

0 comments on commit a968796

Please sign in to comment.