在jupyter中运行下列代码,
import imblearn
from imblearn.combine import SMOTETomek
from imblearn.over_sampling import SMOTE
from imblearn.under_sampling import RandomUnderSampler
出现以下问题:我尝试网上的各种方法,还将scikit-learn降级至1.2.2版本,起初是有效的,能够运行,但第二天又出现这个问题了!
ImportError: cannot import name '_MissingValues' from 'sklearn.utils._param_validation' (D:\anaconda_1\Lib\site-packages\sklearn\utils\_param_validation.py)