A wrapper around mlpack::decision_tree()
that allows passing a formula.
Usage
decision_trees(
formula = NULL,
data = NULL,
tree_depth = 0,
min_n = 20,
minimum_gain_split = 1e-07,
weights = NULL,
x = NULL,
y = NULL
)
Details
To prevent masking of parsnip::decision_tree()
,
this function is named decision_trees
(plural form!)