We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6082f1 + 93e3ef4 commit a1791ddCopy full SHA for a1791dd
R/mlp.R
@@ -154,6 +154,8 @@ check_args.mlp <- function(object) {
154
act_funs <- c("linear", "relu", "elu", "tanh")
155
} else if (object$engine == "keras") {
156
act_funs <- c("linear", "softmax", "relu", "elu")
157
+ } else if (object$engine == "h2o") {
158
+ act_funs <- c("relu", "tanh")
159
}
160
161
if (is.character(args$activation)) {
0 commit comments