nwm_metrics.metric_functions.pearson_corr#
- nwm_metrics.metric_functions.pearson_corr(y_true, y_pred)[source]#
Compute mean squared error, or optionally root mean squared error.
- Return type:
float- Parameters:
y_true (pd.Series) – Ground truth or observations
y_pred (pd.Series) – Modeled values or simulations
- Returns:
Pearson correlation coefficient p_value (float): Two-tailed p-value
- Return type:
corr (float)