Skip to content

Commit 5074d77

Browse files
authored
Update 02-Discrete-Bayes.ipynb
it should be perfect_predict()
1 parent f77e2bf commit 5074d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-Discrete-Bayes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@
16671667
"source": [
16681668
"## Adding Uncertainty to the Prediction\n",
16691669
"\n",
1670-
"`perfect_sensor()` assumes perfect measurements, but all sensors have noise. What if the sensor reported that our dog moved one space, but he actually moved two spaces, or zero? This may sound like an insurmountable problem, but let's model it and see what happens.\n",
1670+
"`perfect_predict()` assumes perfect measurements, but all sensors have noise. What if the sensor reported that our dog moved one space, but he actually moved two spaces, or zero? This may sound like an insurmountable problem, but let's model it and see what happens.\n",
16711671
"\n",
16721672
"Assume that the sensor's movement measurement is 80% likely to be correct, 10% likely to overshoot one position to the right, and 10% likely to undershoot to the left. That is, if the movement measurement is 4 (meaning 4 spaces to the right), the dog is 80% likely to have moved 4 spaces to the right, 10% to have moved 3 spaces, and 10% to have moved 5 spaces.\n",
16731673
"\n",

0 commit comments

Comments
 (0)