This is a generics::tidy()
method for a workflow that calls tidy()
on
either the underlying parsnip model, recipe, or tailor, depending on the value
of what
.
x
must be a fitted workflow, resulting in fitted parsnip model, prepped
recipe or fitted tailor that you want to tidy.
Usage
# S3 method for class 'workflow'
tidy(x, what = "model", ...)
Details
To tidy the unprepped recipe, use extract_preprocessor()
and tidy()
that directly. To tidy the untrained tailor, use extract_postprocessor()
and tidy()
that directly.