From 4d99a8ddc0a198c4a0bd2c0ea4dd4f888159d372 Mon Sep 17 00:00:00 2001 From: Ewan <915048+hemmer@users.noreply.github.com> Date: Wed, 1 May 2024 09:46:08 +0100 Subject: [PATCH] Remove leftover print statement Signed-off-by: Ewan <915048+hemmer@users.noreply.github.com> --- MetricsReloaded/metrics/pairwise_measures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MetricsReloaded/metrics/pairwise_measures.py b/MetricsReloaded/metrics/pairwise_measures.py index 72e25a5..61be218 100755 --- a/MetricsReloaded/metrics/pairwise_measures.py +++ b/MetricsReloaded/metrics/pairwise_measures.py @@ -1071,7 +1071,7 @@ def measured_distance(self): ref_border, pred_border, ) = self.border_distance() - print(ref_border_dist) + average_distance = (np.sum(ref_border_dist) + np.sum(pred_border_dist)) / ( np.sum(pred_border + ref_border) ) @@ -1153,4 +1153,4 @@ def to_dict_meas(self, fmt="{:.4f}"): result_dict[key] = result return result_dict - \ No newline at end of file +