View source: R/aaa-get_metrics.R
| get_metrics | R Documentation |
get_metrics() returns a metric_set() containing all yardstick metrics of
the specified type(s).
get_metrics(type)
type |
A character vector of metric types. Valid types are: More than 1 type can be selected but you are constrained by which metric
types |
A metric_set() containing all metrics of the specified type(s).
metric_set()
get_metrics("numeric")
get_metrics("class")
# Get multiple types at once
get_metrics(c("class", "prob"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.