Skip to content

Commit 90a2a3b

Browse files
authored
Merge pull request #188 from jyuu/fixed-decision-tree-spark-call
Removed unused argument for ml_decision_tree_classifier
2 parents 1210275 + 73f3e2f commit 90a2a3b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

R/decision_tree.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ translate.decision_tree <- function(x, engine = x$engine, ...) {
187187
"if the specification is to be translated.",
188188
call. = FALSE
189189
)
190-
} else {
191-
arg_vals$type <- x$mode
192190
}
193191

194192
# See "Details" in ?ml_random_forest_classifier. `feature_subset_strategy`

0 commit comments

Comments
 (0)