Skip to content

Commit 57d4cab

Browse files
committed
minor argument changes
1 parent 1171bd9 commit 57d4cab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/logistic_reg_constr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ logistic_reg_spark_fit <-
6565
fit_name = c(pkg = "sparklyr", fun = "ml_logistic_regression"),
6666
alternates =
6767
list(
68-
family = expr(binomial)
68+
family = "binomial"
6969
)
7070
)

R/rand_forest_constr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ rand_forest_randomForest_fit <-
4848
rand_forest_spark_fit <-
4949
list(
5050
libs = "sparklyr",
51-
interface = "spark",
51+
interface = "formula",
5252
protect = c("x", "formula", "type"),
5353
fit_name = c(pkg = "sparklyr", fun = "ml_random_forest"),
5454
alternates =

0 commit comments

Comments
 (0)