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)))

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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