Comments fix

main
Chris Qlasty 2017-11-03 12:04:54 +01:00 committed by GitHub
parent ef8f8a66fa
commit e5fb7fb175
1 changed files with 5 additions and 5 deletions

View File

@ -4640,12 +4640,12 @@
" random_state=42, verbose=2)\n", " random_state=42, verbose=2)\n",
"rnd_search.fit(X_train1, y_train1)" "rnd_search.fit(X_train1, y_train1)"
" "
"#fit_params as a constructor argument was deprecated in [scikit-learn] version 0.19 and will be removed\n", "# fit_params as a constructor argument was deprecated in [scikit-learn] version 0.19 and will be removed\n",
"#in version 0.21. Pass fit parameters to the fit method instead:" "# in version 0.21. Pass fit parameters to the fit method instead:"
"#rnd_search = RandomizedSearchCV(DNNClassifier(random_state=42), param_distribs, n_iter=50,\n", "# rnd_search = RandomizedSearchCV(DNNClassifier(random_state=42), param_distribs, n_iter=50,\n",
"# random_state=42, verbose=2)\n", "# random_state=42, verbose=2)\n",
"#fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000}" "# fit_params={\"X_valid\": X_valid1, \"y_valid\": y_valid1, \"n_epochs\": 1000}\n"
"#rnd_search.fit(X_train1, y_train1, **fit_params)" "# rnd_search.fit(X_train1, y_train1, **fit_params)\n",
] ]
}, },
{ {