tof_clean_metric_names: Rename glmnet's default model evaluation metrics to make them...

View source: R/modeling_helpers.R

tof_clean_metric_namesR Documentation

Rename glmnet's default model evaluation metrics to make them more interpretable

Description

Rename glmnet's default model evaluation metrics to make them more interpretable

Usage

tof_clean_metric_names(metric_tibble, model_type)

Arguments

metric_tibble

A tibble in which each column represents a glmnet model evaluation metric with its default name.

model_type

A string indicating which type of glmnet model was trained.

Value

A tibble in which each column represents a glmnet model evaluation metric with its "cleaned" name.


keyes-timothy/tidytof documentation built on March 31, 2024, 12:01 p.m.