Skip to content

Commit

Permalink
typo in error printing
Browse files Browse the repository at this point in the history
  • Loading branch information
gaa-cifasis committed Oct 18, 2015
1 parent ab9224d commit c7e46f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vdiscover/Recall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":

Expand Down

0 comments on commit c7e46f6

Please sign in to comment.