*3.2.1. No-retweets*

**Figure 9.** Word cloud showing frequently tweeted words associated with Barack Obama's visit to Jamaica.

74 Machine Learning - Advanced Techniques and Emerging Applications

(971) tweets were positive and three hundred and twenty two (322) were negative.

were negative and one thousand six hundred and twelve (1612) were positive.

**Figure 10.** Sentiment polarity of no-retweets obtained on Barack Obama's visit to Jamaica.

**Figure 10** depicts the results obtained from analysis of tweets that were not retweeted, as in these tweets were posted by the original author. It shows that nine hundred and seventy one

From the analysis of tweets that were retweeted by users who shared similar sentiments of tweets posted by other Twitter users there were three hundred and thirty seven (337) tweets

*3.1.4.1. No-retweets*

*3.1.4.2. Retweets*

Tweets posted by authors were of mixed emotions, varying from anger to joy. As depicted in the **Figures 11**–**14**, RStudio encountered difficulty in classifying the emotions associated with majority of the tweets. As a result of this, majority of the tweets for the decriminalization of marijuana in Jamaica were classified as "unknown" in **Figure 11**. Many factors including the use of the Jamaican creole and the use of sarcasm may have contributed to R's difficulty in determining the emotions of the tweets. This was noticed for the emotions depicted on the other topical issues selected (**Figure 11**).

**Figure 11.** Sentiment emotion of no-retweets obtained on the decriminalization of marijuana in Jamaica.
