Scikit-learn 19.0 updates on .fit( ) arguments up.
I have left unnecessary ',' at the end of the fit_params line, sorry for that.main
parent
ceaef6e7a1
commit
ca61fc15ab
|
@ -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)"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue