即使没有以一元运算符开头的行,我在R
中收到以下错误Error in -h2o.deeplearning(activation = "RectifierWithDropout", hidden = c(200, :
invalid argument to unary operator
这是函数调用
best_model < - h2o.deeplearning( activation = "RectifierWithDropout",
hidden = c(200, 200, 200, 200, 200),
hidden_dropout_ratio = c(0.1, 0.1, 0.1, 0.1, 0.1),
loss = "CrossEntropy",
l1 = 1e-5,
epochs = EPOCHS,
distribution = "multinomial",
seed = 5000,
balance_classes = TRUE,
y = c("Churn"),
x = columns,
validation_frame = churn_validation,
training_frame = churn_training
)
可能是什么问题?我试图关闭h20并重新启动它,但问题仍然存在。我尝试重新排序属性,但它仍然吐出相同的错误