From 34eec56adae22d8b7ade9c11895ece1b0bf741e2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 10 Feb 2023 05:53:48 +0100 Subject: [PATCH] Something was missing --- unimore_bda_6/analysis/tf_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unimore_bda_6/analysis/tf_text.py b/unimore_bda_6/analysis/tf_text.py index 234b786..260429d 100644 --- a/unimore_bda_6/analysis/tf_text.py +++ b/unimore_bda_6/analysis/tf_text.py @@ -260,7 +260,7 @@ class TensorflowPolarSentimentAnalyzer(TensorflowSentimentAnalyzer): return model def _translate_prediction(self, a: numpy.array) -> Category: - return a[0, 0] + return a[0, 0] * 5 __all__ = (