summaryrefslogtreecommitdiff
path: root/bin/eval-outlier-removal.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/eval-outlier-removal.py')
-rwxr-xr-xbin/eval-outlier-removal.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/eval-outlier-removal.py b/bin/eval-outlier-removal.py
index d6c905c..217d43f 100755
--- a/bin/eval-outlier-removal.py
+++ b/bin/eval-outlier-removal.py
@@ -10,11 +10,11 @@ opt = dict()
def model_quality_table(result_lists, info_list):
- for state_or_tran in result_lists[0]["by_name"].keys():
- for key in result_lists[0]["by_name"][state_or_tran].keys():
+ for state_or_tran in result_lists[0].keys():
+ for key in result_lists[0][state_or_tran].keys():
buf = "{:20s} {:15s}".format(state_or_tran, key)
for i, results in enumerate(result_lists):
- results = results["by_name"]
+ results = results
info = info_list[i]
buf += " ||| "
if info == None or info(state_or_tran, key):
@@ -31,12 +31,11 @@ def model_quality_table(result_lists, info_list):
def combo_model_quality_table(result_lists, info_list):
- for state_or_tran in result_lists[0][0]["by_name"].keys():
- for key in result_lists[0][0]["by_name"][state_or_tran].keys():
+ for state_or_tran in result_lists[0][0].keys():
+ for key in result_lists[0][0][state_or_tran].keys():
for sub_result_lists in result_lists:
buf = "{:20s} {:15s}".format(state_or_tran, key)
for i, results in enumerate(sub_result_lists):
- results = results["by_name"]
info = info_list[i]
buf += " ||| "
if info == None or info(state_or_tran, key):