r - 算法“xgboost”未注册
问题描述
我正在运行以下代码片段
h2o_xgb <- h2o.xgboost(x = features,
y = response,
training_frame = train,
nfolds = 3)
h2o_xgb
我收到以下错误
Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
ERROR MESSAGE:
Algorithm 'xgboost' is not registered. Available algos: [targetencoder,deeplearning,glm,glrm,kmeans,naivebayes,pca,svd,drf,gbm,isolationforest,aggregator,word2vec,stackedensemble,coxph,generic,gam,psvm,rulefit]
解决方案
您可以检查 xgboost 在 h2o 集群上是否可用并且可以用于:
h2o.xgboost.available()
但是,如果您在 Windows 上,则 h2o 中的 xgboost 不可用。请参阅xgboost 的 h2o 帮助页面上的限制。
推荐阅读
- python - flask appbuilder 如何将数据传递给操作 - 已解决
- encoding - 雪花:将字段编码转换为 UTF8
- javascript - 将 Javascript Date 对象转换为 Java LocalDateTime
- c++ - 在 SDL 或任何语言中绘制圆圈的内存友好方式?
- javascript - 在 3 个不同的谷歌折线图中可视化数据
- javascript - 返回嵌套承诺但未找到响应
- r - Issues running a GLHT following a GLM in R due to 1 missing interaction
- php - 生产中的 Codeigniter 4 会话问题
- python - 熊猫保存并打开然后值更改为字符串问题
- amazon-web-services - 无法通过 CFT 在 CodeBuild 项目上成功设置 SNS,但手动工作