select_metrics | R Documentation |
Helper function to return only the scoring rules selected by the user from a list of possible functions.
select_metrics(metrics, select = NULL, exclude = NULL)
metrics |
A list of scoring functions. |
select |
A character vector of scoring rules to select from the list. If
|
exclude |
A character vector of scoring rules to exclude from the list.
If |
A list of scoring functions.
select_metrics(
metrics = get_metrics(example_binary),
select = "brier_score"
)
select_metrics(
metrics = get_metrics(example_binary),
exclude = "log_score"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.