1
 pip install -U imbalanced-learn
 from imblearn import under_sampling, over_sampling
 from sklearn.datasets import make_classification
 from sklearn.decomposition import PCA
 from imblearn.oversampling import SMOTE

我正在尝试使用上面的代码,但它抛出了错误 ModuleNotFoundError: No module named 'imblearn.oversampling'

谁可以帮我这个事。

4

0 回答 0