Creating workflows
workflow objects simplify the modeling process in tidymodels. With workflows, it's possible to train a parsnip model and recipe object at the same time.
In this exercise, you will combine your decision tree model and feature engineering recipe into a single workflow object and perform model fitting and evaluation.
Your model object, dt_model, recipe object, loans_recipe, and data split, loans_split have been loaded into this session.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Modeling with tidymodels in R
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Create a workflow
loans_dt_wkfl <- ___ %>%
# Include the model object
___(___) %>%
# Include the recipe object
___(___)
# View workflow specification
loans_dt_wkfl