R 中 运行 h2o.deeplearning 算法出错
Error while running h2o.deeplearning algorithm in R
我在 运行 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")
错误如下:
Error in h2o.deeplearning(x = x, y = y, seed = 1234, training_frame = as.h2o(trainDF), :
unused arguments (training_frame = as.h2o(trainDF), stopping_rounds = 7, overwrite_with_best_model = TRUE, distribution = "AUTO", stopping_metric = "MSE")
我无法重现您的特定错误,但我可以通过将 loss="automatic"
更新为 loss="Automatic"
来让代码在我这边工作(请注意 loss
它区分大小写)。
我在 运行 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")
错误如下:
Error in h2o.deeplearning(x = x, y = y, seed = 1234, training_frame = as.h2o(trainDF), : unused arguments (training_frame = as.h2o(trainDF), stopping_rounds = 7, overwrite_with_best_model = TRUE, distribution = "AUTO", stopping_metric = "MSE")
我无法重现您的特定错误,但我可以通过将 loss="automatic"
更新为 loss="Automatic"
来让代码在我这边工作(请注意 loss
它区分大小写)。