fix: Fix typo

Change '-1' to '1' as it's refering to the initial guess
This commit is contained in:
PedroHRPBS 2018-09-22 23:35:54 -03:00
parent eaa4c641f3
commit b9e8d5ae0b

View File

@ -765,7 +765,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"I think this is starting to look really good. Because of the poor initial guess of the weight gain being -1 it takes the filter several days to accurately predict the weight, but once it does that it starts to accurately track the weight. We used no methodology for choosing our scaling factors of $\\frac{4}{10}$ and $\\frac{1}{3}$ (actually, they are poor choices for this problem), but otherwise all of the math followed from very reasonable assumptions. Recall that you can change the value of the parameter `time_step` to a larger value and re-run the cell if you want to see the plot drawn step-by-step.\n",
"I think this is starting to look really good. Because of the poor initial guess of the weight gain being 1 it takes the filter several days to accurately predict the weight, but once it does that it starts to accurately track the weight. We used no methodology for choosing our scaling factors of $\\frac{4}{10}$ and $\\frac{1}{3}$ (actually, they are poor choices for this problem), but otherwise all of the math followed from very reasonable assumptions. Recall that you can change the value of the parameter `time_step` to a larger value and re-run the cell if you want to see the plot drawn step-by-step.\n",
"\n",
"One final point before we go on. In the prediction step I wrote the line\n",
"```python\n",