1. Learn
  2. /
  3. Courses
  4. /
  5. Machine Learning in the Tidyverse

Connected

Exercise

Tune random forest models

Now that you have a working logistic regression model you will prepare a random forest model to compare it with.

Instructions

100 XP
  • Use crossing() to expand the cross-validation data for values of mtry using the values of 2, 4, 8, and 16.
  • Build random forest models for each fold/mtry combination.