calculate_deterministic_metrics(processed_fx_obs, categories, metrics)¶
Calculate deterministic metrics for the processed data using the provided categories and metric types.
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_fx_obs (datamodel.ProcessedForecastObservation) –
- categories (list of str) – List of categories to compute metrics over.
- metrics (list of str) – List of metrics to be computed.
solarforecastarbiter.datamodel.MetricResult – Contains all the computed metrics by categories.
RuntimeError– If there is no forecast, observation timeseries data or no metrics are specified.