12.9 Build our random forest model:
random forest model
<- rand_forest() %>%
rf_spec set_engine("ranger") %>%
set_mode("regression")
Main Arguments args()
:
args(rand_forest)
## function (mode = "unknown", engine = "ranger", mtry = NULL, trees = NULL,
## min_n = NULL)
## NULL
engine specific arguments:
::ranger() ?ranger