library(recipes)
rec_obj <- recipe(mpg ~ ., data = mtcars)
spec_tbl <- fast_regression_parsnip_spec_tbl(
.parsnip_fns = "linear_reg",
.parsnip_eng = c("lm","glm")
)
create_workflow_set(
spec_tbl,
list(rec_obj)
)
Run the code above in your browser using DataLab