Skip to content

Not compatible with scikit-learn 1.1 and above #79

@EyalWirsansky

Description

@EyalWirsansky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions