Skip to content

Commit da03c8e

Browse files
committed
verify: moved threat score location in Contingency2x2 summary output
Threat score is an accuracy metric, equitable threat score is a skill score using threat score as the accuracy metric and TS for a random forecast as the reference. Threat score was therefore moved to 'stats' while ETS stayed in 'skill' on printing the verbose summary output.
1 parent efd0420 commit da03c8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

verify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,8 @@ def summary(self, verbose=False, ci=None):
924924
if verbose:
925925
print('Contingency2x2([\n [{:6g},{:6g}],\n [{:6g},{:6g}])\n'.format(a,b,c,d))
926926
qual = ['MajorityClassFraction', 'MatthewsCC']
927-
stats = ['Bias', 'FAR', 'PC', 'POFD', 'POD', 'OddsRatio']
928-
skill = ['HeidkeScore','PeirceScore','ThreatScore','EquitableThreatScore','YuleQ']
927+
stats = ['Bias', 'FAR', 'PC', 'POFD', 'POD', 'ThreatScore', 'OddsRatio']
928+
skill = ['HeidkeScore','PeirceScore','EquitableThreatScore','YuleQ']
929929
print("Summary Statistics")
930930
print("==================")
931931
for key in stats:

0 commit comments

Comments
 (0)