View source: R/class-forecast-binary.R
get_metrics.forecast_binary | R Documentation |
For binary forecasts, the default scoring rules are:
"brier_score" = brier_score()
"log_score" = logs_binary()
## S3 method for class 'forecast_binary'
get_metrics(x, select = NULL, exclude = NULL, ...)
x |
A forecast object (a validated data.table with predicted and
observed values, see |
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 |
... |
unused |
A list of scoring functions.
Overview of required input format for binary and point forecasts
Other get_metrics functions:
get_metrics()
,
get_metrics.forecast_nominal()
,
get_metrics.forecast_ordinal()
,
get_metrics.forecast_point()
,
get_metrics.forecast_quantile()
,
get_metrics.forecast_sample()
,
get_metrics.scores()
get_metrics(example_binary)
get_metrics(example_binary, select = "brier_score")
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.