Workflow Stages (2024)

Workflows encompasses the three main stages of the modelingprocess: pre-processing of data, model fitting, andpost-processing of results. This page enumerates the possible operationsfor each stage that have been implemented to date.

Pre-processing

The two elements allowed for pre-processing are:

You can use one or the other but not both.

Model Fitting

parsnip model specifications are the only option here,specified via add_model().

When using a preprocessor, you may need an additional formula forspecial model terms (e.g.for mixed models or generalized linearmodels). In these cases, specify that formula usingadd_model()’s formula argument, which will bepassed to the underlying model when fit() is called.

Post-processing

Some examples of post-processing the model predictions would be:adding a probability threshold for two-class problems, calibration ofprobability estimates, truncating the possible range of predictions, andso on.

None of these are currently implemented but will be in comingversions.

Workflow Stages (2024)
Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 5589

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.