What is a workflow and why use it?
mainA workflow is an object that bundles together pre-processing (recipe), modeling (parsnip), and post-processing requests into a single unit.
Using workflows provides several advantages:
- Simplified Management: You don't need to track separate recipe and model objects in your workspace.
- Unified Execution: You can execute recipe prepping, model fitting, and postprocessor estimation (including data splitting) using a single call to
fit(). - Easier Tuning: When combined with the
tunepackage, workflows provide a simpler interface for defining custom tuning parameter settings.