Skip to content

Commit 73f3e2f

Browse files
author
jyuu
committed
Removed unused argument for ml_decision_tree_classifier
1 parent b05d93c commit 73f3e2f

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)