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

cannot import name 'if_delegate_has_method' #28

Closed
nurandi opened this issue Feb 2, 2024 · 1 comment
Closed

cannot import name 'if_delegate_has_method' #28

nurandi opened this issue Feb 2, 2024 · 1 comment

Comments

@nurandi
Copy link

nurandi commented Feb 2, 2024

if_delegate_has_method has been removed from metaestimators.py

...
---> [21](file:///C:/Users/nuran/hello/.venv/lib/site-packages/imbalanced_ensemble/pipeline.py:21) from sklearn.utils.metaestimators import if_delegate_has_method
     [22](file:///C:/Users/nuran/hello/.venv/lib/site-packages/imbalanced_ensemble/pipeline.py:22) from sklearn.utils.validation import check_memory
     [24](file:///C:/Users/nuran/hello/.venv/lib/site-packages/imbalanced_ensemble/pipeline.py:24) __all__ = ["Pipeline", "make_pipeline"]

ImportError: cannot import name 'if_delegate_has_method' from 'sklearn.utils.metaestimators' (c:\Users\nuran\hello\.venv\lib\site-packages\sklearn\utils\metaestimators.py)
@ZhiningLiu1998
Copy link
Owner

Hi, please refer to #26.

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

No branches or pull requests

2 participants