wrfhydropy.Evaluation.brier
- Evaluation.brier(threshold: float, mod_col: str = 'modeled', obs_col: str = 'observed', time_col: str = 'time', weights=None)[source]
Calculate Brier score using the properscoring package. See :py:fun:`threshold_brier_score() <threshold_brier_score>` in
properscoring. Grouping is not necessary because BRIER returns a value per forecast. Grouping would happen when computing BRIERS. The Eval object generally wants one observation per modeled data point, that is overkill for this function but we handle it in a consistent manner with the rest of Evaluation. :Parameters: * mod_col – Column name of modelled dataobs_col – Column name of observed data.
- Returns:
BRIER for each ensemble forecast against the observations.