Skip to content

Commit

Permalink
Merge pull request #240 from ryanrussell/patch-1
Browse files Browse the repository at this point in the history
docs(19.04): Fix Typoes
  • Loading branch information
stefan-jansen authored Jul 26, 2022
2 parents f4b4f2d + 200a886 commit c77c797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 19_recurrent_neural_nets/04_multivariate_timeseries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
"fig, axes = plt.subplots(ncols=2, figsize=(14,4))\n",
"columns={'ip': 'Industrial Production', 'sentiment': 'Sentiment'}\n",
"df.rename(columns=columns).plot(ax=axes[0], title='Original Series')\n",
"df_transformed.rename(columns=columns).plot(ax=axes[1], title='Tansformed Series')\n",
"df_transformed.rename(columns=columns).plot(ax=axes[1], title='Transformed Series')\n",
"sns.despine()\n",
"fig.tight_layout()\n",
"fig.savefig(results_path / 'multi_rnn', dpi=300)"
Expand Down Expand Up @@ -1122,7 +1122,7 @@
"source": [
"fig, axes = plt.subplots(ncols=3, figsize=(17, 4))\n",
"pd.DataFrame(result.history).rename(columns={'loss': 'Training',\n",
" 'val_loss': 'Validation'}).plot(ax=axes[0], title='Train & Validiation Error')\n",
" 'val_loss': 'Validation'}).plot(ax=axes[0], title='Train & Validation Error')\n",
"axes[0].set_xlabel('Epoch')\n",
"axes[0].set_ylabel('MAE')\n",
"col_dict = {'ip': 'Industrial Production', 'sentiment': 'Sentiment'}\n",
Expand Down

0 comments on commit c77c797

Please sign in to comment.