12.9 Build our random forest model:

random forest model

rf_spec <- rand_forest() %>% 
  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()