diff --git a/02-Discrete-Bayes.ipynb b/02-Discrete-Bayes.ipynb index 1750944..1787062 100644 --- a/02-Discrete-Bayes.ipynb +++ b/02-Discrete-Bayes.ipynb @@ -13708,6 +13708,7 @@ " plt.axvline(i % 10 + 0.4, lw=5)\n", " fig.canvas.draw()\n", " time.sleep(sleep)\n", + " plt.show()\n", " \n", "# change these numbers to alter the simulation\n", "kernel = (.1, .8, .1)\n", @@ -17889,9 +17890,9 @@ "time 1: pos 8, sensed 9, at position 8\n", " predicted position is 4 with confidence 59.4728%:\n", "time 2: pos 3, sensed 3, at position 3\n", - " predicted position is 8 with confidence 25.7722%:\n", + " predicted position is 3 with confidence 53.5807%:\n", "time 3: pos 7, sensed 8, at position 7\n", - " predicted position is 7 with confidence 28.8387%:\n", + " predicted position is 8 with confidence 37.5836%:\n", "\n", "final position is 7\n", "predicted position is 8 with confidence 37.5836%:\n"