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:
parent
c979699ff1
commit
34eec56ada
1 changed files with 1 additions and 1 deletions
|
@ -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__ = (
|
||||||
|
|
Loading…
Reference in a new issue