credit.ensemble.crps#
Functions#
|
Calculate CRPS score for each channel. |
Module Contents#
- credit.ensemble.crps.calculate_crps_per_channel(ensemble_predictions: torch.Tensor, y_true: torch.Tensor) torch.Tensor#
Calculate CRPS score for each channel.
- Parameters:
ensemble_predictions – Tensor of shape [ensemble_size, 1, channels, 1, height, width]
y_true – Tensor of shape [1, channels, 1, height, width]
- Returns:
Tensor of CRPS scores [channels] where each score is averaged over the ensemble