Closed rickyegeland closed 5 months ago
In metrics.py calc_contingency_bool() the HSS metric has a sign error. It should be:
calc_contingency_bool()
HSS
'HSS': check_div(2.0 * (h*c - f*m), ((h+m) * (m+c) + (h+f) * (f+c))),
It was corrected in calc_contingency() above, but not here in the function that is actually used in validation.py.
calc_contingency()
Fixed, will push changes to metrics.py after implementation of Brier Skill Score using last SC climatology rate
Verified that Clayton fixed this and it was included in the merge.
In metrics.py
calc_contingency_bool()
theHSS
metric has a sign error. It should be:It was corrected in
calc_contingency()
above, but not here in the function that is actually used in validation.py.