From c7e46f683e83c20cf6571e4ea18e2cad78cd427e Mon Sep 17 00:00:00 2001 From: gaa-cifasis Date: Sun, 18 Oct 2015 20:42:14 +0000 Subject: [PATCH] typo in error printing --- vdiscover/Recall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vdiscover/Recall.py b/vdiscover/Recall.py index b5d63a1..0a51a14 100644 --- a/vdiscover/Recall.py +++ b/vdiscover/Recall.py @@ -37,8 +37,8 @@ def Recall(model_file, in_file, in_type, out_file, test_mode, probability=False) err = recall_score(test_classes, predicted_classes, average=None) print classification_report(test_classes, predicted_classes) - print "Errors per class:", err[0], err[1] - print "Average error:", sum(err)/2.0 + print "Accuracy per class:", round(err[0],2), round(err[1],2) + print "Average accuracy:", round(sum(err)/2.0,2) elif test_mode == "aggregated":