Importerror:无法导入名称' _CLASSNAMEPREFIXFEATURESOUTMIXIN'从sklearn.base'
我正在努力从sklearn.feature_selection导入 rfecv 。但是我总是有同样的错误。 有人可以帮忙吗? 错误:
ImportError: cannot import name '_ClassNamePrefixFeaturesOutMixin' from 'sklearn.base' (C:\Users\sedam\anaconda34\lib\site-packages\sklearn\base.py)
PS。我的Sklearn的版本是1.0.2。 谢谢。
I am struggling to import RFECV from sklearn.feature_selection. But I always have the same error.
Can anyone help, please?
The error :
ImportError: cannot import name '_ClassNamePrefixFeaturesOutMixin' from 'sklearn.base' (C:\Users\sedam\anaconda34\lib\site-packages\sklearn\base.py)
PS. The version of my SKlearn is 1.0.2.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,您正在使用的Python版本或其他软件包的兼容性错误可能存在问题。
对于Windows,恐怕这可能或可能不起作用,都不知道没有使用过。
我正在用Meow
Well, there might be an issue with the python version you're using or a compatibility error with other packages.
For Windows, I'm afraid this might or mightn't work don't know haven't used it.
I'm creating mine with meow ????
解决方案:#conda install -c conda-forge不平衡的年学习
solution : #conda install -c conda-forge imbalanced-learn