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

Not compatible with scikit-learn 1.1 and above #79

Open
EyalWirsansky opened this issue Jul 2, 2023 · 1 comment · May be fixed by #80
Open

Not compatible with scikit-learn 1.1 and above #79

EyalWirsansky opened this issue Jul 2, 2023 · 1 comment · May be fixed by #80

Comments

@EyalWirsansky
Copy link

When using this library with scikit-learn version 1.1 or above, the following exception is thrown:

evolutionary_search/cv.py", line 12, in <module>
    from sklearn.model_selection._search import BaseSearchCV, check_cv, _check_param_grid
ImportError: cannot import name '_check_param_grid' from 'sklearn.model_selection._search'

This happens because the (private) method ParameterGrid._check_param_grid() of scikit-learn was deprecated, and its functionality is now included within the ParameterGrid.__init__() method.

@EyalWirsansky
Copy link
Author

The following PR aims to fix this issue: #80

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 a pull request may close this issue.

1 participant