AggregationMetric¶
- class pytorch_forecasting.metrics.AggregationMetric(metric: pytorch_forecasting.metrics.Metric, **kwargs)[source]¶
Bases:
pytorch_forecasting.metrics.MetricCalculate metric on mean prediction and actuals.
- Parameters
metric (Metric) – metric which to calculate on aggreation.
Methods
compute()Abstract method that calcualtes metric
update(y_pred, y_actual)Calculate composite metric