Skip to contents

Uses scoringutils to transform data and predictions using a log transform with a log shift of 1, and return the default scoring metrics

Usage

score_quantiles(quantiles, scenario, metrics = quantile_metrics, offset = 1)

Arguments

quantiles

a dataframe of the model estimated quantiles alongside the data you are evaluating against, during the nowcast and forecast period only

scenario

a string indicating the wastewater data scenario we're running

metrics

Vector of scoring metrics to output, passed as the metrics argument to scoringutils::score(). Default quantile_metrics

offset

Offset to use when transforming forecasts with scoringutils::log_shift() via scoringutils::transform_forecasts(). Default 1.

Value

a dataframe containing a score for each day in the nowcast and forecast period