calculate_metrics(processed_pairs, categories, metrics)¶
Loop through the forecast-observation pairs and calculate metrics.
Normalization is determined by the attributes of the input objects.
None, a deadband equal to the uncertainty will be used by the metrics that support it.
- processed_pairs – List of datamodel.ProcessedForecastObservation
- categories (list of str) – List of categories to compute metrics over.
- metrics (list of str) – List of metrics to be computed.
list – List of datamodel.MetricResult for each datamodel.ProcessedForecastObservation