1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-25 17:24:20 +00:00

Something was missing

This commit is contained in:
Steffo 2023-02-10 05:53:48 +01:00
parent c979699ff1
commit 34eec56ada
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -260,7 +260,7 @@ class TensorflowPolarSentimentAnalyzer(TensorflowSentimentAnalyzer):
return model return model
def _translate_prediction(self, a: numpy.array) -> Category: def _translate_prediction(self, a: numpy.array) -> Category:
return a[0, 0] return a[0, 0] * 5
__all__ = ( __all__ = (