pytorch_forecasting.metrics.
AggregationMetric
Bases: pytorch_forecasting.metrics.Metric
pytorch_forecasting.metrics.Metric
Calculate metric on mean prediction and actuals.
metric (Metric) – metric which to calculate on aggreation.
Methods
compute()
compute
Abstract method that calcualtes metric
update(y_pred, y_actual)
update
Calculate composite metric
Should be overriden in derived classes
y_pred – network output
y_actual – actual values
metric value on which backpropagation can be applied
torch.Tensor