diff --git a/11_deep_learning.ipynb b/11_deep_learning.ipynb index 129a291..9b06e09 100644 --- a/11_deep_learning.ipynb +++ b/11_deep_learning.ipynb @@ -3310,9 +3310,9 @@ "}\n", "\n", "rnd_search = RandomizedSearchCV(DNNClassifier(random_state=42), param_distribs, n_iter=50,\n", - " fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000},\n", " random_state=42, verbose=2)\n", - "rnd_search.fit(X_train1, y_train1)" + "fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000},\n", + "rnd_search.fit(X_train1, y_train1, **fit_params)" ] }, {