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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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