aboutsummaryrefslogtreecommitdiff
path: root/analysis/scripts/make_table.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-13 14:39:37 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-13 14:39:37 +0000
commit9eb0b9033cbed8e582f8f94d5bcafb3e63d2586a (patch)
tree27593e51c31b9fc9375eb932402182d61a1fad57 /analysis/scripts/make_table.py
parentupdate readme (diff)
downloadTCPDBench-9eb0b9033cbed8e582f8f94d5bcafb3e63d2586a.tar.gz
TCPDBench-9eb0b9033cbed8e582f8f94d5bcafb3e63d2586a.zip
clarify warnings
Diffstat (limited to 'analysis/scripts/make_table.py')
-rw-r--r--analysis/scripts/make_table.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/analysis/scripts/make_table.py b/analysis/scripts/make_table.py
index e4747258..c326775e 100644
--- a/analysis/scripts/make_table.py
+++ b/analysis/scripts/make_table.py
@@ -310,7 +310,8 @@ def average_results(results):
# remove RBOCPDMS for 'best', because it fails too often
if experiment == Experiment.best:
warning(
- "\nWarning: Removing RBOCPDMS (experiment = %s)\n" % experiment
+ "\nWarning: Removing RBOCPDMS (experiment = %s) due to insufficient results\n"
+ % experiment
)
results = list(filter(lambda r: r.method != Method.rbocpdms, results))
expected_methods.remove(Method.rbocpdms)
@@ -322,7 +323,7 @@ def average_results(results):
if any(r.score is None for r in dset_results):
to_remove.append(dataset)
if to_remove:
- warning("\nWarning: Filtering out datasets: %r\n" % to_remove)
+ warning("\nWarning: Filtering out datasets: %r due to incomplete results for some detectors.\n" % to_remove)
results = list(filter(lambda r: not r.dataset in to_remove, results))
# check that we are now complete: for all datasets and all methods in the