This engine does not require any special encoding of the predictors. Categorical predictors can be partitioned into groups of factor levels (e.g. {a, c} vs {b, d}) when splitting at a node. Dummy variables are not required for this model.



tidymodels/parsnip documentation built on Feb. 19, 2025, 2:10 a.m.