We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    chatgpt image jul 21, 2026, 04 34 30 pm
    4 Core Benefits of Predictive Maintenance after Vibration Analysis
    10 Min Read
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
    cybersecurity efforts
    How Behavioral Analytics and AI Are Redefining Cybersecurity for Boca Raton Businesses
    14 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: A computer program predicts Viral Tweets
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > A computer program predicts Viral Tweets
Data Mining

A computer program predicts Viral Tweets

ThemosKalafatis
ThemosKalafatis
6 Min Read
A computer program predicts Viral Tweets
Illustration generated with FLUX.2 [klein 4B] via Cloudflare Workers AI.
SHARE

In the previous post we have seen that the author of a Tweet is the most important factor for making a viral Tweet. This time we will use text mining to score Tweets and see how much viral they could become. Each Tweet is fed to a computer program (an algorithm) and the algorithm responds with the probability each Tweet has to become viral (we assume that when a Tweet receives more than 30 Re-Tweets it is considered viral).

The information that is given to the algorithm is the text of the Tweet and its author. Many other parameters can be taken into consideration such as the time that the Tweet has been posted, the type of the Tweet (e.g., politics, technology, health) or even whether this Tweet is part of a novel subject. Here is the output of the software that performs the predictions:

The number of Re-Tweets is shown in squares. Pay also close attention to the circled text shown above. For each Tweet the most probable outcome is given (‘t’= Tweet will become viral, ‘f’=otherwise) and a confidence for each prediction is given as a number from 0 to 1. As an example, the first Tweet shown above was posted from Paula Abdul saying that she will not return to American Idol. The algorithm predicts with a confidence of 63.38% that what Paula Abdul posted will be interesting (and it actually was).

The predictive model has an overall accuracy of 72.88% in predicting which Tweets will be viral in a total of 59 Tweets. An example of an incorrect prediction can be seen at the 4th circle from the top. The algorithm gave a 53.66% confidence that this Tweet will not become viral but actually this was a viral Tweet.

You can find the text file of the actual run from the algorithm here.

By looking the text file, results metrics such as TP (True positives) versus FP (False positives) can be calculated. It is also interesting to see how the algorithm switches to negative predictions when the number of Re-Tweets of each Tweet become less than 30.

Even though the example given here is very simplistic – and optimistic – the application of a tool of this kind for PR, marketing and branding could prove very useful. Marketeers can try different messages and see what impact each message is likely to have. Consider the following run that shows that @mashable is more influential than @lifeanalytics :

The following run shows that specific keywords raise our chances in making a Viral Tweet :

In theory this information could provide the basis for performing A/B tests: One could simply use the 2 messages shown above and record what impact each one has using Google Analytics (a process which could prove whether this technology works or not).

Finding information that is interesting to masses is actually a much harder problem. Twitter is a data source that is biased for many reasons: Specific people can pass their messages with great ease and Twitter is used by specific population segments. Almost a week ago I came across reddit and I believe that this site (and also Digg) is able to capture the preference of masses in a more efficient way than Twitter. The truth is that the available information from forums, blogs and many other websites can capture different aspects of human behavior. All that is needed to extract useful knowledge is an efficient blending of these facts, emotions and beliefs of people from different web sources.

Link to original post

TAGGED:text miningviral tweet
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Stellar Repair for MS SQL Review: Can It Repair SQL Databases? -- AI-generated illustration
Stellar Repair for MS SQL Review: Can It Repair SQL Databases?
Exclusive Software SQL
How Search Engine Indexing Lags Behind Large-Scale Website Domain Migrations -- AI-generated illustration
How Search Engine Indexing Lags Behind Large-Scale Website Domain Migrations
News
How Great Content Moves Through A Marketing Ecosystem -- AI-generated illustration
How Great Content Moves Through A Marketing Ecosystem
Exclusive Infographic Marketing
What Your Brand Misses That Data Reveals -- AI-generated illustration
What Your Brand Misses That Data Reveals
Big Data Exclusive Infographic

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

Find Value in Online/Social Text and Sentiment: Free Report, Conferences
AnalyticsBusiness IntelligenceKnowledge ManagementMarket ResearchMarketingPredictive AnalyticsSentiment AnalyticsSocial DataText AnalyticsUnstructured Data

Find Value in Online/Social Text and Sentiment: Free Report, Conferences

2 Min Read
Twitter Analytics : These words may be affecting  your popularity
Data Mining

Twitter Analytics : These words may be affecting your popularity

6 Min Read
Predicting the next Viral Tweet
Data MiningPredictive Analytics

Predicting the next Viral Tweet

6 Min Read
Please check out the Text Analytics Summit, Boston, June 12-13
AnalyticsBusiness IntelligenceSentiment AnalyticsText AnalyticsUnstructured Data

Please check out the Text Analytics Summit, Boston, June 12-13

2 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
5 Great Tips for Using Data Analytics for Website UX
5 Great Tips for Using Data Analytics for Website UX
Big Data

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?