These generics are used to extract elements from various model objects. Methods are defined in other packages, such as tune, workflows, and workflowsets, but the returned object is always the same.
extract_fit_engine() returns the engine specific fit embedded within
a parsnip model fit. For example, when using
"lm" engine, this returns the underlying
extract_fit_parsnip() returns a parsnip model fit.
extract_mold() returns the preprocessed "mold" object returned
mold(). It contains information about the preprocessing,
including either the prepped recipe, the formula terms object, or
extract_spec_parsnip() returns a parsnip model specification.
extract_preprocessor() returns the formula, recipe, or variable
expressions used for preprocessing.
extract_recipe() returns a recipe, possibly estimated.
extract_workflow() returns a workflow, possibly fit.
1 2 3 4 5 6 7 8 9 10 11 12 13
Extra arguments passed on to methods.
# See packages where methods are defined for examples, such as `parsnip` or # `workflows`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.