Skip to content

Commit dc2db9b

Browse files
committed
call by namespace
1 parent 3277904 commit dc2db9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/mlp_data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mlp_keras_data <-
4040
post = function(x, object) {
4141
object$lvl[x + 1]
4242
},
43-
func = c(fun = "predict_classes"),
43+
func = c(pkg = "keras", fun = "predict_classes"),
4444
args =
4545
list(
4646
object = quote(object$fit),
@@ -54,7 +54,7 @@ mlp_keras_data <-
5454
colnames(x) <- object$lvl
5555
x
5656
},
57-
func = c(fun = "predict_proba"),
57+
func = c(pkg = "keras", fun = "predict_proba"),
5858
args =
5959
list(
6060
object = quote(object$fit),

0 commit comments

Comments
 (0)