Finalizing a workflow
To incorporate hyperparameter tuning into your modeling process, an optimal hyperparameter combination must be selected based on the average value of a performance metric. Then you will be able to finalize your tuning workflow and fit your final model.
In this exercise, you will explore the best performing models from your hyperparameter tuning and finalize your tuning workflow
object.
The dt_tuning
and loans_tune_wkfl
objects from your previous session have been loaded into your environment.
Cet exercice fait partie du cours
Modeling with tidymodels in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Display 5 best performing models
dt_tuning %>%
___(metric = ___, n = ___)