credit.metrics_downscaling#
Classes#
Metrics calculation for training & validation; takes the place |
Module Contents#
- class credit.metrics_downscaling.UnWeightedMetrics(conf, varnames)#
Metrics calculation for training & validation; takes the place of LatWeightedMetrics, which does not apply for regional datasets on projected grids. Differs in the organization of variables; otherwise, reuses the same code.
Args: conf (dict): configuration dictionary
- varnames: list of variable names corresponding to channels of
output tensor. Use DownscalingDataset.tnames, which constructs it automatically.
- vars#
- w_lat = None#
- w_var = None#
- ensemble_size = 1#
- __call__(pred, y, clim=None, transform=None, forecast_datetime=0)#