user3035168
user3035168

Reputation: 57

Error while import imblearn.undersampling

Error

I am getting "no module name sklearn.cluster" error while importing imblearn_undersampling module. I do not get error while importing SMOTE from imblearn as shown in the pic. Some of the solutions i have tried: -Uninstalled and reinstalled sklearn, scikit learn, scipy using conda and pip3 - Uninstalled and reinstalled imblearn

Upvotes: 0

Views: 305

Answers (1)

I did not get this error with below version so please try with below combination and try to import again.

scikit-learn (0.20.2) Python 2.7.14 imbalanced-learn (0.4.3)

Thanks, Rajeswari Ponnuru.

Upvotes: 1

Related Questions