select_definitions: Select model definition columns

View source: R/select_definitions.R

select_definitionsR Documentation

Select model definition columns

Description

\Sexpr[results=rd, stage=render]{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.

Usage

select_definitions(results, unnest_hparams = TRUE, additional_includes = NULL)

Arguments

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)

Value

The model definition columns from the results tibble.

Author(s)

Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk


cvms documentation built on July 9, 2023, 6:56 p.m.