Get startedGet started for free

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.

This exercise is part of the course

Modeling with tidymodels in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Display 5 best performing models
dt_tuning %>% 
  ___(metric = ___, n = ___)
Edit and Run Code