找不到对象“ wcol”:r的mlr包内的h2o.gbm错误

时间:2019-08-12 18:47:41

标签: r h2o mlr

每当我尝试运行h2o gbm时,我都会遇到此错误:

Error in h2o::h2o.gbm(y = y, x = x, training_frame = h2of, weights_column = wcol,  : 
  object 'wcol' not found

我尝试重新安装h2o,但是我刚遇到此错误。

data(BostonHousing, package = "mlbench")
regr.task = makeRegrTask(id = "bh", data = BostonHousing, target = "medv")

lrn = makeLearner("regr.h2o.gbm")

outer = makeResampleDesc("Holdout")
r = resample(
  learner = lrn,
  task = regr.task,
  resampling = outer,
  show.info = TRUE
)

0 个答案:

没有答案