Training a finalized workflow
Congratulations on successfully tuning your decision tree model and finalizing your workflow! Your final_loans_wkfl
object can now be used for model training and prediction on new data sources.
In this last exercise, you will train your finalized workflow
on the entire loans_training
dataset and evaluate its performance on the loans_test
data.
The final_loans_wkfl
and loans_split
objects have been loaded into your session.
Diese Übung ist Teil des Kurses
Modeling with tidymodels in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Train finalized decision tree workflow
loans_final_fit <- ___ %>%
___(split = ___)