
Hello world! Welcome to report where I'm using machine learning to analyze tweets about specified topic and present results in form of various and easy to understand charts. The sentiment analysis algorithm has been developed as part of my Master Thesis in 2017/2018.
This report is currently being published exclusively on Steemit and Whaleshares.

Parameters
Today's analysis has been executed on tweets which contain word "trump" and were published between 2013-01-01 and 2017-12-31. Detailed specification of the data is shown in the following list:- Keyword: trump
- From: 2013-01-01
- To: 2017-12-31
- Number of analyzed tweets: 25000
- Tweets per week: 95
- Language: en
- Geographical location: Not specified

Results
Sentiment
After downloading 25000 tweets between the specified dates, sentiment analysis has been executed on each and every one of those tweets. Sentiment score has been then aggregated over weeks and months, to lower the granularity of results on the time axis and then plotted as a following linechart.
My subjective comment on the chart: It's very clear his popularity is slowly getting lower and lower
Aggregation using heatmaps
To show the general trend/pattern in the sentiment, linechart works great. We can see the bigger timeframe and estimate the long-term direction. But if you're interested in particular month or week, it's hard and in case of weeks actually impossible to see the change. Has an athlete put the great performance in particular match? Has the brand/company released a new line of product? So see such low lever changes, following 2 heatmaps are to be used.
My subjective comment on the chart:We can clearly see a huge spike in October 2013. I've googled what happened back then and I believe it was caused by Trump's sudden appearance on Fox News to deliver his sage advice regarding government shutdowns. Click here for more info.

My subjective comment on the chart:Nothing especially new here. The score in last week in 2017 was probably caused by bug, will have a look on that :)
Most frequently used words
Another very interesting aspect to look into are the repeatedly used words using wordclouds. Even more interesting is to compare two wordclouds generated from different time - usually before and after some event/change happened. If you give this a second though, the problem here is that many short words (like "and", "or", "with" and so on) are used almost in every sentence and would also show up in wordclouds. To mitigate this, I've removed list of 153 so called stopwords. Additionally I've also removed words typical for this area listed in the end of the report*.

My subjective comment on the chart:I'd clear that his move to politics shows also in the social media sphere. Words like "Obama", "vote" or "president" weren't present before at all. Also, I'm sorry for the quality of the picture, since I've migrated to 18.04 Ubuntu, this happened. Will try to resolve it asap.
Most frequently used UNIQUE words
As we can see in the previous worldcloud, there are many words which are actually shared in both wordclouds. That makes all the sense as there are many areas which will be forever connected with trump. But I went one step further and decided to create wordclouds which contain only unique words with don't appear in the opposite wordcloud.
My subjective comment on the chart: I love this chart. In the first cloud we can see the word "miller" which refers to rapper Mac Miller who made a song named Donald Trump. Also big word is "apprentice" which changes for "president" in the second cloud. His politics probably also caused words like "nazi" and "racist" to increase in popularity
* words excluded from all 4 wordclouds are: yii,bit.ly,.ly,donald,trump,donaldtrump
BONUS - shaped wordcloud from all words!
This one is just for fun :) It's generated from 1000 most popular words in all tweets, not divided into before and after groups. Click it to open.

About project
How to get your report
Interested in how's you favorite coin doing on Twitter? Or favorite athlete? Politician, actor or clothes company? . Just DM me on Discord (MatkoDurko#3758) and you'll get the full report under 48 hours :)

Hope you enjoyed! Matko.

You can find my latest posts here:
š My STEEMMONSTERS trophies/scalps š
![]() Reached #16 in leaderboard | ![]() One-sided win over JoeParys |
![]() Proud owner of legendary Hydra |
---|---|---|

