Google colab上的Pycaret:“ estotator xgboost不可用”
我已经安装了Pycaret和Xgboost,如下所示:
!pip install pycaret==2.3.10 markupsafe==2.0.1 pyyaml==5.4.1 --use-deprecated=legacy-resolver -qq
!pip install xgboost
但是,当我尝试创建以下XGBoost模型时,它会引发错误“ Entionator XGBoost不可用”。
xgboost = create_model('xgboost')
为什么这是?我想念什么?
I have installed pycaret and xgboost as follows:
!pip install pycaret==2.3.10 markupsafe==2.0.1 pyyaml==5.4.1 --use-deprecated=legacy-resolver -qq
!pip install xgboost
But when I try to create the following Xgboost model, it throws an error "Estimator xgboost not available."
xgboost = create_model('xgboost')
Why is this? What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NVM,我找到了原因。我忘了将以下几行添加到我的导入代码:
Nvm, I found the reason. I forgot to add the following lines to my import code: