Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@romanrizzi
Copy link
Member

@romanrizzi romanrizzi commented Nov 29, 2024

We were storing the classification result in a slightly different format:

[{"label"=>"positive", "score"=>0.830914}, {"label"=>"neutral", "score"=>0.16409673}, {"label"=>"negative", "score"=>0.0049892818}]

when it should be:

{"neutral"=>0.52367204, "negative"=>0.014189002, "positive"=>0.46213892}

@romanrizzi romanrizzi changed the title FIX: Sentiment classification results needs to be transformed before … FIX: Transform Sentiment classification before saving Nov 29, 2024
@romanrizzi romanrizzi force-pushed the fix_sentiment_reports branch from bbfb596 to b3ef996 Compare November 29, 2024 20:16
@romanrizzi romanrizzi merged commit 0abd4b1 into main Nov 29, 2024
6 checks passed
@romanrizzi romanrizzi deleted the fix_sentiment_reports branch November 29, 2024 20:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants