Select model definition columns
lifecycle::badge("experimental")
Select the columns that define the models, such as the formula terms and hyperparameters.
If an expected column is not in the results
tibble
, it is simply ignored.
select_definitions(results, unnest_hparams = TRUE, additional_includes = NULL)
results
: Results tibble
. E.g. from cross_validate()
or evaluate()
.unnest_hparams
: Whether to unnest the HParams
column. (Logical)additional_includes
: Names of additional columns to select. (Character)The model definition columns from the results tibble
.
Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk