list_metrics | R Documentation |
List all available performance metrics.
list_metrics()
A data frame with the following columns:
metric
- the optimization or tuning metric;
description
- a brief description about the metric;
task
- whether the metric is suitable for regression or classification;
smaller_is_better
- logical indicating whether or not a smaller value of
the metric is considered better.
yardstick_function
- the name of the corresponding function from the
yardstick package.
(metrics <- list_metrics())
metrics[metrics$task == "Multiclass classification", ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.