无法从sklearn.sblemblection incomement RandomForestRegressor导入
我想实现RandomForestRegressor
模型,但是我无法使用以下命令导入:
from sklearn.ensemble import RandomForestRegressor
错误消息说:
ImportError: cannot import name '_check_feature_names_in' from 'sklearn.utils.validation'
您能帮我吗?我搜索了很多,但找不到解决方案。我还更新了Jupyter中的Scikit-Learn Lib,但是我仍然有同样的问题
I want to implement RandomForestRegressor
model but I am unable to import using the below command:
from sklearn.ensemble import RandomForestRegressor
Error message says:
ImportError: cannot import name '_check_feature_names_in' from 'sklearn.utils.validation'
Could you please help me? I have searched a lot but couldn't find a resolution. I have also updated the scikit-learn lib in Jupyter but, I still have the same issue
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论