I am installing imbalanced-learn. it has successfully installed but on importing i am getting this error:

ImportError: cannot import name '_deprecate_positional_args' from 'sklearn.utils.validation' (C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\validation.py)

how to resolve this please help

1

There are 1 answers

0
EmelK On

Due to some mismatched dependencies versions, it appears that an error has been received.

Check the requirements for imbalanced-learn package from here: requirements