View source: R/make-model-spec.R
create_model_spec | R Documentation |
parsnip
Creates a list/tibble of parsnip model specifications.
create_model_spec(
.parsnip_eng = list("lm"),
.mode = list("regression"),
.parsnip_fns = list("linear_reg"),
.return_tibble = TRUE
)
.parsnip_eng |
The input must be a list. The default for this is set to |
.mode |
The input must be a list. The default is 'regression' |
.parsnip_fns |
The input must be a list. The default for this is set to |
.return_tibble |
The default is TRUE. FALSE will return a list object. |
Creates a list/tibble of parsnip model specifications. With this function
you can generate a list/tibble output of any model specification and engine you
choose that is supported by the parsnip
ecosystem.
A list or a tibble.
Steven P. Sanderson II, MPH
Other Model_Generator:
fast_classification()
,
fast_regression()
create_model_spec(
.parsnip_eng = list("lm","glm","glmnet","cubist"),
.parsnip_fns = list(
"linear_reg","linear_reg","linear_reg",
"cubist_rules"
)
)
create_model_spec(
.parsnip_eng = list("lm","glm","glmnet","cubist"),
.parsnip_fns = list(
"linear_reg","linear_reg","linear_reg",
"cubist_rules"
),
.return_tibble = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.