diff --git a/_includes/coin_problem.md b/_includes/coin_problem.md index 8063c218ac1..539b1acee8a 100644 --- a/_includes/coin_problem.md +++ b/_includes/coin_problem.md @@ -205,7 +205,7 @@ def compute(log_probs: np.ndarray) -> None: log_probs[0, 0, 0, 0] = 0 # Loop over all time indices, starting from the first coin clip. for t in range(1, N + 1): - # Since we know Z_t or Y_t > t, we only need to compute probabilities + # Since we know Z_t <= t and Y_t <= t, we only need to compute probabilities # for values up to t. for a in range(t + 1): for b in range(t + 1): @@ -246,7 +246,7 @@ compute(log_probs=log_probs) compute(log_probs) ``` - 5.11 ms ± 116 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) + 5.11 ms ± 104 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ### Joint Probability of t=100 @@ -304,7 +304,7 @@ render_plotly_html(
-
+
@@ -357,7 +357,7 @@ render_plotly_html(
-
+
@@ -383,5 +383,5 @@ _ = subprocess.run( ``` [NbConvertApp] Converting notebook coin_problem.ipynb to markdown - [NbConvertApp] Writing 15168 bytes to /Users/jakeetaylor/jakee417.github.io/_includes/coin_problem.md + [NbConvertApp] Writing 15175 bytes to /Users/jakeetaylor/jakee417.github.io/_includes/coin_problem.md