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.
1 parent 3277904 commit dc2db9bCopy full SHA for dc2db9b
R/mlp_data.R
@@ -40,7 +40,7 @@ mlp_keras_data <-
40
post = function(x, object) {
41
object$lvl[x + 1]
42
},
43
- func = c(fun = "predict_classes"),
+ func = c(pkg = "keras", fun = "predict_classes"),
44
args =
45
list(
46
object = quote(object$fit),
@@ -54,7 +54,7 @@ mlp_keras_data <-
54
colnames(x) <- object$lvl
55
x
56
57
- func = c(fun = "predict_proba"),
+ func = c(pkg = "keras", fun = "predict_proba"),
58
59
60
0 commit comments