Skip to content

Commit

Permalink
use the keyword args in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Oct 27, 2024
1 parent 49a0300 commit 86ce375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/thompson.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def thompson_step(estimate: Gamma, rng) -> Gamma:
group_sample = sample_true_distribution(group_to_sample, rng=rng)
x, n = bayesian_update_stats(group_to_sample, group_sample)

return exponential_gamma(x, n, prior=estimate)
return exponential_gamma(x_total=x, n=n, prior=estimate)
```

After defining a prior / initial estimate for each of the distributions, we can use a for loop in
Expand Down

0 comments on commit 86ce375

Please sign in to comment.