windkit.ltc.scores

Functions to calculate common scoring metrics to be used on windkit time series wind climate datasets.

Functions

bias(ds_tgt, ds_pred)

Calculates the bias for the wind speed of two time series wind climate datasets.

calc_scores(ds_tgt, ds_pred[, name, period])

Helper function that calculates r2, rmse, bias and wasserstein distance scores and generate a pandas dataframe with useful headers for reporting.

r2(ds_tgt, ds_pred)

Calculates the r2 regression score for the wind speed of two time series wind climate datasets.

rmse(ds_tgt, ds_pred)

Calculates the root mean square error for the wind speed of two time series wind climate datasets.

wasserstein_distance(ds_tgt, ds_pred)

Calculates the wasserstein distance for the wind speed of two time series wind climate datasets.