powered by
List all available performance metrics.
list_metrics()
A data frame with the following columns:
metric - the optimization or tuning metric;
metric
description - a brief description about the metric;
description
task - whether the metric is suitable for regression or classification;
task
smaller_is_better - logical indicating whether or not a smaller value of the metric is considered better.
smaller_is_better
yardstick_function - the name of the corresponding function from the yardstick package.
yardstick_function
(metrics <- list_metrics()) metrics[metrics$task == "Multiclass classification", ]
Run the code above in your browser using DataLab