nwm_metrics.metric_functions.weighted_nse#

nwm_metrics.metric_functions.weighted_nse(y_true, y_pred, weight=0.5, normalized=False)[source]#

Compute weighted average of NSE of raw time series and NSE of logrithmic time series.

Return type:

float

Parameters:
  • y_true (pd.Series) – Ground truth or observations

  • y_pred (pd.Series) – Modeled values or simulations

  • weight (float, optional) – Weight value for Nash-Sutcliffe efficiency component

  • normalized (bool, optional) – Whether to convert the weighted Nash-Sutcliffe efficiency to the normalized value

Returns:

Weighted Nash-Sutcliffe Efficiency value

Return type:

float