不能使用SMOTENC

2024-04-26 07:22:15 发布

您现在位置:Python中文网/ 问答频道 /正文

ImportError:无法导入名称“SMOTENC”

在尝试更新所有必需的包之后,这会显示出来

/anaconda3/lib/python3.6/site-packages/sklearn/externals/six.py:31: DeprecationWarning: The module is deprecated in version 0.21 and will be removed in version 0.23 since we've dropped support for Python 2.7. Please rely on the official version of six (https://pypi.org/project/six/). "(https://pypi.org/project/six/).", DeprecationWarning) /anaconda3/lib/python3.6/site-packages/sklearn/externals/joblib/init.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+. warnings.warn(msg, category=DeprecationWarning)

请帮我解决这个问题。在


Tags: inpyisversionlibpackagessitebe