Commit 6a85cbff authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Fixed the wrong total number reported in metrics

parent 67a3c188
Pipeline #36709 passed with stage
in 14 minutes
...@@ -98,7 +98,7 @@ class Metrics(bio_figure.Metrics): ...@@ -98,7 +98,7 @@ class Metrics(bio_figure.Metrics):
metrics[k] = "%s%% (%d/%d)" % ( metrics[k] = "%s%% (%d/%d)" % (
format(100 * v, n_dec), format(100 * v, n_dec),
metrics["fp" if k == "fpr" else "fn"], metrics["fp" if k == "fpr" else "fn"],
metrics["np" if k == "fpr" else "nn"], metrics["nn" if k == "fpr" else "np"],
) )
else: else:
metrics[k] = "%s%%" % format(100 * v, n_dec) metrics[k] = "%s%%" % format(100 * v, n_dec)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment