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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1446 views
  • 0 likes
  • 2 in conversation