From b9962ec3f69ed2d5f0d46d13ee8b4fcc258c2afd Mon Sep 17 00:00:00 2001 From: Irakoze-A <79970683+Irakoze-A@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:21:13 +0300 Subject: [PATCH] :memo: Update Gene_expression_regression.ipynb "from tensorflow import keras\n", instead of "import keras\n" to avoid AttributeError: module 'keras.optimizers' has no attribute 'Adam' When compiling the Model --- 3.Regression_gene_expression/Gene_expression_regression.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.Regression_gene_expression/Gene_expression_regression.ipynb b/3.Regression_gene_expression/Gene_expression_regression.ipynb index 0538212..870e9f7 100644 --- a/3.Regression_gene_expression/Gene_expression_regression.ipynb +++ b/3.Regression_gene_expression/Gene_expression_regression.ipynb @@ -9,7 +9,7 @@ "import pandas as pd\n", "import numpy as np\n", "from sklearn.model_selection import train_test_split\n", - "import keras\n", + "from tensorflow import keras\n", "from keras.datasets import mnist\n", "from keras.models import Sequential\n", "from keras.layers import Dense, Dropout\n",