View source: R/extract-tunable-params.R
extract_tunable_params | R Documentation |
Extract a list of tunable parameters from the .model_spec
column
of a tidyaml_mod_spec_tbl
.
extract_tunable_params(.model_tbl)
.model_tbl |
A model table with a class of |
This function iterates over the .model_spec
column of a model table
and extracts tunable parameters for each model using tunable()
. The result
is a list that can be further processed into a tibble if needed.
A list of tibbles, each containing the tunable parameters for a model.
Other Extractor:
extract_model_spec()
,
extract_regression_residuals()
,
extract_wflw()
,
extract_wflw_fit()
,
extract_wflw_pred()
,
get_model()
library(dplyr)
mods <- fast_regression_parsnip_spec_tbl(
.parsnip_fns = "linear_reg",
.parsnip_eng = c("lm","glmnet")
)
extract_tunable_params(mods)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.