Skip to contents

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.