【问题标题】:Error while running h2o.deeplearning algorithm in R在 R 中运行 h2o.deeplearning 算法时出错
【发布时间】:2018-08-05 03:08:15
【问题描述】:

我在 R 中的 H2O 深度学习中运行此命令时遇到错误:

model <- h2o.deeplearning(x = x, y = y, seed = 1234,
                          training_frame = as.h2o(trainDF),
                          nfolds = 3, 
                          stopping_rounds = 7, 
                          epochs = 400,
                          overwrite_with_best_model = TRUE,
                          activation = "Tanh",
                          input_dropout_ratio = .1,
                          hidden = c(10,10),
                          l1 = 6e-4,
                          loss = "automatic",
                          distribution = 'AUTO',
                          stopping_metric = "MSE")

错误如下:

h2o.deeplearning 中的错误(x = x,y = y,种子 = 1234,training_frame = as.h2o(trainDF),: 未使用的参数(training_frame = as.h2o(trainDF),stopping_rounds = 7,overwrite_with_best_model = TRUE,distribution = "AUTO",stopping_metric = "MSE")

【问题讨论】:

    标签: r h2o


    【解决方案1】:

    我无法重现您的具体错误,但通过将loss="automatic" 更新为loss="Automatic"(注意loss 区分大小写),我能够让代码正常工作。

    【讨论】:

      猜你喜欢
      • 2017-12-10
      • 2018-01-09
      • 2021-07-02
      • 1970-01-01
      • 2018-01-07
      • 1970-01-01
      • 2021-12-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多