Skip to content

Commit e6fdbf3

Browse files
authored
Merge pull request aws#271 from swt2c/patch-1
Correct series for multi-step forecast plot
2 parents 8fd3854 + a62d0e8 commit e6fdbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction_to_applying_machine_learning/linear_time_series_forecast/linear_time_series_forecast.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@
534534
"source": [
535535
"print('Multi-step-ahead MdAPE =', np.median(np.abs(test_y - multi_step) / test_y))\n",
536536
"plt.plot(np.array(test_y), label='actual')\n",
537-
"plt.plot(one_step, label='forecast')\n",
537+
"plt.plot(multi_step, label='forecast')\n",
538538
"plt.legend()\n",
539539
"plt.show()"
540540
]

0 commit comments

Comments
 (0)