weatherbench2.metrics.MSE
- class weatherbench2.metrics.MSE(wind_vector_mse=None)
Mean squared error.
- Parameters:
wind_vector_mse (Optional[list[weatherbench2.metrics.WindVectorMSE]]) –
- wind_vector_mse
Optionally provide list of WindVectorMSE instances to compute.
- Type:
Optional[list[weatherbench2.metrics.WindVectorMSE]]
- __init__(wind_vector_mse=None)
- Parameters:
wind_vector_mse (Optional[list[weatherbench2.metrics.WindVectorMSE]]) –
- Return type:
None
Methods
__init__
([wind_vector_mse])compute
(forecast, truth[, region, skipna])Evaluate this metric on datasets with full temporal coverages.
compute_chunk
(forecast, truth[, region, skipna])Evaluate this metric on a temporal chunk of data.
Attributes