Fix Actual vs Forecast in diagrams, fixes #21
parent
281366776f
commit
aad780b74b
|
@ -473,8 +473,8 @@
|
|||
" n_steps = X.shape[1]\n",
|
||||
" ahead = Y.shape[1]\n",
|
||||
" plot_series(X[0, :, 0])\n",
|
||||
" plt.plot(np.arange(n_steps, n_steps + ahead), Y_pred[0, :, 0], \"ro-\", label=\"Actual\")\n",
|
||||
" plt.plot(np.arange(n_steps, n_steps + ahead), Y[0, :, 0], \"bx-\", label=\"Forecast\", markersize=10)\n",
|
||||
" plt.plot(np.arange(n_steps, n_steps + ahead), Y[0, :, 0], \"ro-\", label=\"Actual\")\n",
|
||||
" plt.plot(np.arange(n_steps, n_steps + ahead), Y_pred[0, :, 0], \"bx-\", label=\"Forecast\", markersize=10)\n",
|
||||
" plt.axis([0, n_steps + ahead, -1, 1])\n",
|
||||
" plt.legend(fontsize=14)\n",
|
||||
"\n",
|
||||
|
|
Loading…
Reference in New Issue