From da03c8e66c2d1305f0764d9d8db4499d682568cf Mon Sep 17 00:00:00 2001 From: Steve Morley Date: Thu, 31 May 2018 16:48:57 -0600 Subject: [PATCH] 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. --- verify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verify.py b/verify.py index 6513397..645155c 100644 --- a/verify.py +++ b/verify.py @@ -924,8 +924,8 @@ def summary(self, verbose=False, ci=None): if verbose: print('Contingency2x2([\n [{:6g},{:6g}],\n [{:6g},{:6g}])\n'.format(a,b,c,d)) qual = ['MajorityClassFraction', 'MatthewsCC'] - stats = ['Bias', 'FAR', 'PC', 'POFD', 'POD', 'OddsRatio'] - skill = ['HeidkeScore','PeirceScore','ThreatScore','EquitableThreatScore','YuleQ'] + stats = ['Bias', 'FAR', 'PC', 'POFD', 'POD', 'ThreatScore', 'OddsRatio'] + skill = ['HeidkeScore','PeirceScore','EquitableThreatScore','YuleQ'] print("Summary Statistics") print("==================") for key in stats: