windkit.ltc.scores.rmse

windkit.ltc.scores.rmse(ds_tgt, ds_pred)[source]

Calculates the root mean square error for the wind speed of two time series wind climate datasets. The implementation is inspired by sklearn.metrics.root_mean_squared_error source code.

Parameters:
  • ds_tgt (xarray.Dataset) – target time series wind climate dataset

  • ds_pred (xarray.Dataset) – predicted time series wind climate dataset

Returns:

rmse – root mean square error of the two wind speeds

Return type:

float