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

Connected

Exercise

Random forest performance

It is now time to see whether the random forests models you built in the previous exercise are able to outperform the logistic regression model.

Remember that the validate recall for the logistic regression model was 0.43.

Instructions

100 XP
  • Prepare the validate_actual and validate_predicted columns for each mtry/fold combination.
  • Calculate the recall for each mtry/fold combination.
  • Calculate the mean recall for each value of mtry.