BookmarkSubscribeRSS Feed
charismast0
Calcite | Level 5
Hello everyone, i have studied sas sentiment analysis studio tutorials and i cannot understand the ratio by which the probability of text is being derived.
1 REPLY 1
CraigDeVault
SAS Employee

The algorithm of probability can be found in the User's Guide for SAS Sentiment Analysis.  Here is what the documentation states for the calculation of the probability:

 

               for each positive rule match:
                                                            overall_sentiment = overall_sentiment + (weight of the rule * common weighting factor for positive rules)
              for each negative rule match:
                                                            overall_sentiment = overall_sentiment – (weight of the rule)
                                                            overall_sentiment_probability =1/(1+e((0-overall_sentiment)*log(1.5)))

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1470 views
  • 0 likes
  • 2 in conversation