cannot import name '_ClassNamePrefixFeaturesOutMixin' from 'sklearn.base' (C:\Users\yunhu\anaconda3\lib\site-packages\sklearn\base.py)
I had the same thing trying to import SMOTE in a Jupyter notebook (after having just installed imblearn).
Restarting the kernel solved it.
I am having trouble because of
cannot import name '_ClassNamePrefixFeaturesOutMixin' from 'sklearn.base' (C:\Users\yunhu\anaconda3\lib\site-packages\sklearn\base.py)
and I have no clue how to solve this problem. I uninstalled and then installed sklearn again
but It still does not work.