From 597020ac2d23e8cd000af2aef5802213f92e5aee Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 13 Feb 2023 17:14:56 +0100 Subject: [PATCH] Improve rendering of evaluation steps --- unimore_bda_6/analysis/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unimore_bda_6/analysis/base.py b/unimore_bda_6/analysis/base.py index 1571f05..d1c3c8a 100644 --- a/unimore_bda_6/analysis/base.py +++ b/unimore_bda_6/analysis/base.py @@ -48,7 +48,7 @@ class BaseSentimentAnalyzer(metaclass=abc.ABCMeta): for review in evaluation_dataset_func(): resulting_category = self.use(review.text) - log.debug("Evaluation step: %d for %s", resulting_category, review) + log.debug("Evaluation step: %.1d* for %s", resulting_category, review) evaluated += 1 try: perfect += 1 if resulting_category == review.rating else 0