metrics_point: Default metrics and scoring rules for point forecasts

View source: R/default-scoring-rules.R

metrics_pointR Documentation

Default metrics and scoring rules for point forecasts

Description

Helper function that returns a named list of default scoring rules suitable for point forecasts.

The default scoring rules are:

  • "ae_point" = ae()

  • "se_point" = se()

  • "ape" = ape()

Usage

metrics_point(select = NULL, exclude = NULL)

Arguments

select

A character vector of scoring rules to select from the list. If select is NULL (the default), all possible scoring rules are returned.

exclude

A character vector of scoring rules to exclude from the list. If select is not NULL, this argument is ignored.

Value

A list of scoring rules.

Examples

metrics_point()
metrics_point(select = "ape")

epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.