From 1d7c2956d12bdb2f8962085785294eb05b4f736a Mon Sep 17 00:00:00 2001 From: Nithin A R <59356114+neonithinar@users.noreply.github.com> Date: Mon, 22 Feb 2021 13:41:32 +0530 Subject: [PATCH] Possible typo while loading IMDb dataset possible typo while loading IMDb from keras (X_train, y_test), (X_valid, y_test) = keras.datasets.imdb.load_data() changed to (X_train, y_train), (X_test, y_test) = keras.datasets.imdb.load_data() --- 16_nlp_with_rnns_and_attention.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/16_nlp_with_rnns_and_attention.ipynb b/16_nlp_with_rnns_and_attention.ipynb index 328e421..9108a82 100644 --- a/16_nlp_with_rnns_and_attention.ipynb +++ b/16_nlp_with_rnns_and_attention.ipynb @@ -614,7 +614,7 @@ "metadata": {}, "outputs": [], "source": [ - "(X_train, y_test), (X_valid, y_test) = keras.datasets.imdb.load_data()" + "(X_train, y_train), (X_test, y_test) = keras.datasets.imdb.load_data()" ] }, {