Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"from sklearn.grid_search import GridSearchCV" is out of date #11240

Merged
merged 1 commit into from Sep 28, 2018
Merged

"from sklearn.grid_search import GridSearchCV" is out of date #11240

merged 1 commit into from Sep 28, 2018

Conversation

yuanxiaosc
Copy link
Contributor

"from sklearn.grid_search import GridSearchCV" is out of date and has changed in the new version (0.18-).
Detailed description:
DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
Update "from sklearn.grid_search import GridSearchCV" to “from sklearn.model_selection import GridSearchCV”.

Summary

Related Issues

PR Overview

  • This PR requires new unit tests [y/n] (make sure tests are included)
  • This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
  • This PR is backwards compatible [y/n]
  • This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

"from sklearn.grid_search import GridSearchCV"   is out of date and has changed in the new version (0.18-).
Detailed description:
DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
Update "from sklearn.grid_search import GridSearchCV"  to “from sklearn.model_selection import GridSearchCV”.
Copy link
Member

@fchollet fchollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fchollet fchollet merged commit 79bc699 into keras-team:master Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants