From ca61fc15ab08d52615e7c88022937715d1b40e71 Mon Sep 17 00:00:00 2001 From: Chris Qlasty Date: Thu, 2 Nov 2017 18:54:12 +0100 Subject: [PATCH] Scikit-learn 19.0 updates on .fit( ) arguments up. I have left unnecessary ',' at the end of the fit_params line, sorry for that. --- 11_deep_learning.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11_deep_learning.ipynb b/11_deep_learning.ipynb index 9b06e09..a58a1ce 100644 --- a/11_deep_learning.ipynb +++ b/11_deep_learning.ipynb @@ -3311,7 +3311,7 @@ "\n", "rnd_search = RandomizedSearchCV(DNNClassifier(random_state=42), param_distribs, n_iter=50,\n", " random_state=42, verbose=2)\n", - "fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000},\n", + "fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000}\n", "rnd_search.fit(X_train1, y_train1, **fit_params)" ] },