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

Summit fails on upgrade to scikit-learn 1.1.1 #184

Closed
marcosfelt opened this issue Jun 2, 2022 · 0 comments · Fixed by #188
Closed

Summit fails on upgrade to scikit-learn 1.1.1 #184

marcosfelt opened this issue Jun 2, 2022 · 0 comments · Fixed by #188
Assignees

Comments

@marcosfelt
Copy link
Collaborator

marcosfelt commented Jun 2, 2022

  • Operating System: Mac OS X
  • Python version: 3.9.12
  • summit version used: 0.8.5

Description

Summit fails when using scikit-learn 1.1.1, which is the latest version. This seems to be due to this change in the sklearn code, which removes the _check_param_grid function.

What I Did

from summit import *

The error:

File "/home/appuser/venv/lib/python3.9/site-packages/summit/__init__.py", line 19, in <module>
    from summit.run import *
File "/home/appuser/venv/lib/python3.9/site-packages/summit/run.py", line 3, in <module>
    from summit.benchmarks import *
File "/home/appuser/venv/lib/python3.9/site-packages/summit/benchmarks/__init__.py", line 3, in <module>
    from .experimental_emulator import *
File "/home/appuser/venv/lib/python3.9/site-packages/summit/benchmarks/experimental_emulator.py", line 21, in <module>
    from sklearn.model_selection._search import BaseSearchCV, _check_param_grid
marcosfelt added a commit to sustainable-processes/multitask that referenced this issue Jun 2, 2022
@marcosfelt marcosfelt self-assigned this Jun 2, 2022
This was referenced Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant