Next Article in Journal
Post-Quantum Chebyshev-Type Integral Inequalities for Synchronous Functions
Next Article in Special Issue
MisRoBÆRTa: Transformers versus Misinformation
Previous Article in Journal
Fixed Point Results for Cirić and Almost Contractions in Convex b-Metric Spaces
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Gulf Countries’ Citizens’ Acceptance of COVID-19 Vaccines—A Machine Learning Approach

1
Department of Information Systems, College of Computer and Information Sciences, King Saud University, Riyadh 11451, Saudi Arabia
2
Department of English Language and Translation, College of Languages and Translation, King Saud University, Riyadh 11451, Saudi Arabia
3
Department of Electrical/Electronics & Computer Engineering, Faculty of Engineering, University of Uyo, Uyo 520103, Nigeria
4
Department of Computer Science, COMSATS University Islamabad—Wah Campus, Wah Cantt 47040, Pakistan
5
Centre for Smart Systems, AI and Cybersecurity, Staffordshire University, Stoke-on-Trent ST4 2DE, UK
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(3), 467; https://doi.org/10.3390/math10030467
Submission received: 2 January 2022 / Revised: 26 January 2022 / Accepted: 27 January 2022 / Published: 31 January 2022

Abstract

:
The COVID-19 pandemic created a global emergency in many sectors. The spread of the disease can be subdued through timely vaccination. The COVID-19 vaccination process in various countries is ongoing and is slowing down due to multiple factors. Many studies on European countries and the USA have been conducted and have highlighted the public’s concern that over-vaccination results in slowing the vaccination rate. Similarly, we analyzed a collection of data from the gulf countries’ citizens’ COVID-19 vaccine-related discourse shared on social media websites, mainly via Twitter. The people’s feedback regarding different types of vaccines needs to be considered to increase the vaccination process. In this paper, the concerns of Gulf countries’ people are highlighted to lessen the vaccine hesitancy. The proposed approach emphasizes the Gulf region-specific concerns related to COVID-19 vaccination accurately using machine learning (ML)-based methods. The collected data were filtered and tokenized to analyze the sentiments extracted using three different methods: Ratio, TextBlob, and VADER methods. The sentiment-scored data were classified into positive and negative tweeted data using a proposed LSTM method. Subsequently, to obtain more confidence in classification, the in-depth features from the proposed LSTM were extracted and given to four different ML classifiers. The ratio, TextBlob, and VADER sentiment scores were separately provided to LSTM and four machine learning classifiers. The VADER sentiment scores had the best classification results using fine-KNN and Ensemble boost with 94.01% classification accuracy. Given the improved accuracy, the proposed scheme is robust and confident in classifying and determining sentiments in Twitter discourse.

1. Introduction

The COVID-19 pandemic created an unprecedented global health emergency. Over the last two years, almost 248 million people have been diagnosed COVID-19 and it has lead to more than 5 million deaths [1]. In an attempt to prevent the spread of COVID-19, countries were forced to enforce several preventive measures in accordance with recommendations from international and local health organizations. These include social distancing, working remotely, wearing face masks, etc. However, remote access and work from home increased social media use, where people shared their opinions worldwide using social media websites [2]. Tweets about COVID-19 and its vaccination have remained top-trending throughout the previous two years (2020 and 2021) [3]. In addition to implementing restrictions upon COVID-19 spread, governments and pharmaceutical companies dedicated their resources to researching and discovering medication-based solutions [4]. Although the medical domain has been achieving significant improvement day by day in discovering medical treatments [5], hesitancy about approved vaccines exists in the world’s population; this is not only about COVID-19 vaccines—vaccine hesitancy has existed for some decades [6]. Vaccine hesitancy is a term used when vaccines are available but people still refuse to accept them [7,8]. There are certain factors that lead to this hesitancy, such as social [9], cultural [10], psychological [11], and scientific reasons. The actual success of discovered vaccines depends upon the willingness of people to accept them. Therefore, the reasons why people are not getting vaccinated at the desired rate need to be explored and investigated by scholars and researchers from different fields, with the hope of coming to conclusions and finding implications that can subsequently improve the positive perception of the public. Due to its prevalence and inherent features, the data, and especially linguistic data, from the Twitter platform were generally used by many studies to analyze people’s perceptions regarding different vaccines [12,13,14,15]. Such data contain both useful and misleading information [16] regarding different people from different countries, and and also entail real-time open opinions and attitudes from various countries. Moreover, Twitter has 166 million active users who interact using the platform on a daily basis, and this activity has increased during the COVID-19 pandemic [17,18]. Machine learning tools and techniques have been used to analyze positive, negative, and neutral opinions on discourse features obtained from the platform. The Gulf countries were also heavily affected by the COVID-19 pandemic, and have seen speedy vaccination efforts relative to the rest of the world. The Gulf countries have also seen rumors and uncertainty causing vaccination hesitancy. Data from “Our World in Data” regarding vaccination rates in the Gulf countries up to 29 December 2021 are shown in Figure 1.
According to the above data, the population of the United Arab Emirates is getting vaccinated at a relatively higher rate compared to other Gulf countries, where 91% of people are fully vaccinated and 8.3% are partially vaccinated from a total vaccinated population of 99%. Among the Gulf countries, Oman is the least vaccinated [19]. These data show that these countries have varying vaccination rates despite having the same religious beliefs. The Saudi Arabia data of vaccinated people up to 3 November show it is the most vaccinated country among all other Gulf countries. However, the rates of getting vaccinated changed throughout the whole year. The rate of getting vaccinated highly depends upon people’s vaccination hesitancy factors. Therefore, in order to analyze the Gulf countries’ populations’ views regarding different vaccines, a sentiment analysis was performed on Twitter data. In this study, we used Twitter tweet data related to COVID-19 vaccines. Our study makes the following contributions:
  • The proposed study highlights the concerns of Gulf countries’ populations regarding COVID-19 vaccines;
  • the positive and negative thoughts of text data are encoded and classified using intelligent machine learning methods;
  • the vaccine hesitancy of Gulf countries’ populations could be reduced by analyzing and responding to people’s concerns, ultimately contributing to an increase in COVID-19 vaccination rates.
  • we propose a method to improve the accuracy of currently used sentiment analysis tools.
    The rest of the article is divided into an overview of related work, a description of the proposed method, the presentation of our results, a discussion, and lastly the conclusions.

2. Related Work

Machine learning techniques and methods are used for the sentiment analysis of Twitter discourse regarding various topics. Similarly, COVID-19 vaccine-related data for different categories and countries could be analyzed. Region-specific data for various types of vaccines have already been examined to check for factors resulting in people’s hesitancy in various regions and nations. Indian citizens’ attitudes towards COVID-19 vaccination were analyzed using Twitter data analysis in two studies [20]. The authors found that people’s views changed as time passed, whereas in another study, they identified major issues regarding people’s vaccine hesitancy. Using their gathered social media data, they found that 47% of people have neutral perceptions about vaccines and that 17% have negative views and suggested ways to solve the issues of vaccination hesitancy. An Indonesian tweet sentiment analysis regarding COVID-19 vaccines was performed in another study [21]. “Vaccine COVID-19” keyword-based tweet data were scraped and collected for one month only. The naïve Bayesian model was used for probability-based classification into positive, negative, and neutral tweets. A manual method of data collection did not suffice, whereas a rapid miner tool used to collect data using the Twitter developer account proved to be key. Finally, using more than 6000 tweets, the authors found that 56% were positive, 39% were negative, and only 1% were neutral.
Global opinions regarding three of the most prominently used vaccines were analyzed in a study using the natural language processing (NLP) and supervised K-nearest neighbor methods. It classified tweets into three classes, namely positive, negative, and neutral perspectives of people. The Pfizer vaccine had the highest positive value (47.29%), the Moderna vaccine had the highest negative value, 40.71%, and the highest neutral value was shown by Pfizer, at 15.21% [22]. A similar study on the same three vaccines was conducted using four months’ data in the English language, to analyze people’s hesitancy towards vaccine acceptance. More than 0.7 million tweets were used for this analysis. A sentiment analysis was performed using a lexicon-based tool, and the authors claimed that sentiment analysis using this tool is relatively easy. The authors found that the positivity regarding the AstraZeneca vaccine was decreasing day by day. The highlighted concerns regarding vaccines could be used to develop strategies to fight vaccine hesitancy [23]. A region-based analysis using four months’ data from the USA and Brazil was carried out in another study. English and Portuguese language-based tweets were used in this study. It used more than 3.3 million English and 3.1 million Portuguese tweets. It raised ten topics of discussion using data gathered from government, private, and open discussions in these countries [24]. The authors in [25] used Reddit platform data from 13 communities. They used six months’ data from December 2020 to May 2021, and showed that these platforms remained statically positive over the examined time-span. The study reported that these communities’ discussions were mainly about vaccines’ side effects. Latent Dirichlet allocation (LDA) topic modeling was used where vaccine hesitancy-based keywords were discussed in this analysis. The authors of [26] used 1.2 million tweets over five weeks. The forecasting model in their study reported that the USA will be fully vaccinated by the end of July 2021. Positive views were more common compared to negative views. English tweets (more than 2.6 million) were taken and then classified into three types of tweets (positive, negative, and neutral). Further sub-types found using topic modeling were discussed, including information, administration, real life, etc. The classified tweets were 42.8% positive, 26.9% neutral, and 30.3% negative [27].
To see the cross-culture and continent-based vaccine perspective difference among people, social media data from the USA and China were used [28]. Twitter data were used for the collection of USA data and Weibo was used to collect Chinese vaccine data. A semantic network of tweets sentiments was proposed where discussions showed that the Weibo-based data showed positive sentiments towards vaccination while Twitter data from the USA showed an anti-vaccine perspective regarding different vaccines. Theme-based quantification regarding COVID-19 vaccines was performed that showed the highlighted discussion of official health authorities, ingredients, and different clinical findings of different vaccines [29]. The study claims that with the passage of time, the opposition regarding vaccines on the Twitter platform was increased by 80% which created serious concerns. Another theme identification study used four nations’ data to analyze and compare their perspectives [30]. It highlighted the topic modeling of India, South Korea, Japan, and the United Kingdom. The topic modeling showed that education, economy, and sports sectors are disturbed. The validation score of 90% from the dataset suggests that the United kingdom has most of the negative sentiments towards vaccination.
NLP is a computer science field in which text analysis is performed. In previous years, deep learning (DL), ML, and NLP have shown a breakthrough via intelligent methods [31]. NLP- and ML-based medical reviews have also been used to check the public behavior of people. In a recent survey [32], ML- and NLP-based medical studies were reviewed and showed the impact of mental illness using text analysis. Sometimes, the use of NLP gave magical outputs by giving sentiments of unexpected and tough text analysis. It uses paraphrase detection, POS tagging, and many other tasks [33]. Online stores’ feedback reviews on various products could be analyzed and studied by business investors to focus on churn analysis and to promote businesses by using people’s interest [34]. This could all be carried out using NLP- and ML-based intelligent analysis.
Most of the recent studies on COVID-19 vaccine data discussed above classified data into three classes, namely, positive, negative, and neutral. Other factors, such as misinformation that includes sarcasm, anecdotal stories, and other negativity, spread information from various celebrities and famous people on the internet [35], which creates a negative hype about vaccines. However, only a few studies generated sub-topics, which are necessary to diagnose the reasons for vaccine hesitancy. We also found that studies used their own scraped data with millions of tweets within a range of 4 to 6 months’ data only. In many studies, English tweets were mostly taken into consideration, with a specific focus on the USA. We found no region-based analysis of the Gulf countries with a focus on Arabic countries’ tweets. This research gap needs to be addressed in order to solve these nations’ vaccine hesitancy.

3. Materials and Methods

Many of the recent studies have explored different real-world problems using deep learning and machine learning methods [36,37,38]. The natural language processing used in many aspects of the field, such as COVID-19 vaccine tweets’ sentiment scores based on deep and machine learning classification methods, is utilized in this study. The basic steps include data collection, their cleaning, and tokenization. After tokenizing the document, the data are discussed in terms of hot topics and trends in Gulf countries. The word-embedding method-based encoded data are used in the proposed architecture of long short-term memory (LSTM), where the 3 different sentiment score datasets are fed into the same LSTM network that includes 3 networks and then deep features are used by different classical machine learning classification methods. These machine learning classifiers enhance the classification in terms of accuracy, F1-score, and other measures. Step-wise discussion is discussed in a later section, and the primary steps are shown in Figure 2.

3.1. Data Collection and Cleaning

Data were collected using the public repository Kaggle, which updates data on a regular basis. The data were collected using Twitter tweet data with #Pfizer, #Sinopharm, #Sinovac, #Moderna, #Oxford/AstraZeneca, #COVAX, #SputnikV and #COVID-Vaccine tags, where data contain the user ID, name, description and location of users, the date of user creation, their tweets, followers, friends, favorites, and whether the user is verified or not. In our study, we only examined Gulf countries’ data to check how residents of these countries expressed their views and discussed various COVID-19 vaccines. The data were collected and then refined by filtering tweets from the countries Bahrain, Kuwait, Oman, UAE, Saudi Arabia, and Qatar. These tweets were then considered for further discussion and analysis in our study. The data were tokenized and filtered out by removing punctuation, repeated words, and URLs. The refined filtered data could be represented as shown in Equation (1).
T D i = D i ( F | C i )
In Equation (1), T D i represents the Twitter data documents and i represents the Gulf countries, numbered 1 to 6. D i are the tweeted data documents of certain filtered data ( F | C i ) of 6 Gulf countries where F represents filtered data of Gulf country C i . The finalized data were refined and tokenized, yielding 685 tweets, and then further used in sentiment analysis.

3.1.1. Ratio Sentiment Scores

The ratio score analysis works with ratios of positive and negative scores of given documents. In this method, the VADER lexicon is used. However, the ratio is calculated as the value of the positive score to the negative score. If the value is greater than 1, then it gives 1 to that particular document sentiment score. On the other hand, if the negative to positive score ratio is greater than 1, then it returns 1 to that particular document. The sentiment lexicon used in this method is based upon VADER contextual lexicon features where other user-specific or defined lexicons could also be used in order to make the lexicon. The ratio score data of this study could be represented as in Equation (2).
C S 1 = R a t i o ( S T D i )
In Equation (2), the sentiment score data using the ratio score method are shown as compound scores of the 1st method ( C S 1 ) where the sentiment scores S T D i represent the tweeted data of a particular Gulf country that are filtered with respect to 6 countries.
The word cloud of positive and negative sentiments for all six countries is shown in Figure 3.
In Figure 3, we can see that “COVID-19” and “vaccine” are the most dominant words used in both positive and negative contexts. Similarly, Moderna is a vaccine name that is commonly used in all Gulf countries with both negative and positive aspects, but it is used more in negative feedback. Sinopharm is the Chinese vaccine, and it is used mostly in negative contexts as can be seen in the negative word cloud, where it is more dominant as compared to the positive sentiments on the left side. It is also seen that the word “doses” is used mostly in negative sentiments after “COVID”, “Moderna”, and “vaccine”. However, let us now examine the data of the top tweets to check the validity of these tweet texts.

3.1.2. TextBlob Sentiment Scores

TextBlob is the Python library that uses NLTK and pattern methods to give sentiments to a given text. NLTK is the Natural Language Processing Toolkit that provides various methods of lexicon analysis, tokenization, stemming, semantic meanings, and other classification libraries. It provides powerful methods regarding computational linguistics and natural language processing. Pattern is another type that comprises the TextBlob library, and it provides functional support for natural language, web mining, and many more tasks such as classification, text extraction, etc. However, these libraries make TextBlob a more powerful library for work in computational linguistics. TextBlob-based sentiment scores range from −1 to 1 where a negative number shows negatively scored sentiments, 0 is neutral, and scores above this are considered to be positively scored texts. The tokenized text in this study is used with this method and the sentiment scores could be represented as shown in Equation (3):
C S 2 = T e x t B l o b ( S T D i )
In Equation (3), the sentiment score data using the TextBlob method are shown as compound scores of the 2nd method ( C S 2 ) where the sentiment scores S T D i represent the tweeted data of a particular Gulf country that is filtered with respect to 6 countries.

3.1.3. Valence-Aware Dictionary and Sentiment Reasoning (VADER) Sentiment Scores

The VADER method is generally based upon rule-based score execution. It makes a list of lexical features using combinations of both qualitative and quantitative measures. It basically uses a compound score (CS) that thresholds the negative, positive, and neutral text data. A tweet would be negative if CS 0.05 . Other than this threshold value, the text data remain neutral with a 0 score and positive when >0. The VADER score data of this study could be represented as in Equation (4):
C S 3 = V A D E R ( S T D i )
In Equation (4), the sentiment score data using the VADER method are shown as compound scores of the 3rd method ( C S 3 ) where the sentiment scores S T D i represent the tweeted data of a particular Gulf country that is filtered with respect to 6 countries.
In our study, we compared eleven different state-of-the-art sentiment analyzers that use ML-based approaches to calculate their sentiment scores. They use entropy, probability, and other support vector machine-type methods to aggregate the sentiment scores. However, the VADER method first uses a lexicon that expresses the contextual intensity of the given text data. Therefore, to utilize the contextually aware lexicon methods, this study also used it for sentiment analysis. To check for promising results and to check the validity of the VADER method, we also used another method of sentiment analysis that is discussed below.

3.2. Gulf Tweet Analysis

The tweet data from the Gulf countries were filtered and a small number of data types were considered in order to analyze the validity of tweet accounts and their tweeted texts. First, as can be seen in Table 1, Bahrain had a value of 35 in user followers, user friends, user favorites, retweets, and favorites. This means that a total of 35 tweets were taken after filtering to all data with “vaccine” hashtags. The mean of user followers was 3834, which means that the used Twitter accounts have thousands of followers. However, when we look at the standard deviation value of followers, it shows a very large deviation value, 9264, which indicates that some of the used Twitter accounts have thousands of followers while some of them do not. There was a slight difference between the user friend mean value and the standard deviation value. This allows us to estimate that the majority of followers have about 408 friends, and that some people that are tweeting have similar friends, as there is not a large standard deviation. The retweet and favorite tweet values show that people did not encouragingly like the tweets or may not have been active users.
For Kuwait, the value of tweets was 49. The mean and standard deviation were both high. The mean value of 12,991 indicates that all 49 tweeting accounts have more than 10k followers, whereas the standard deviation value of 12,657 shows that some of the users do not have many followers. However, if we look at the user friends then it is the same situation as discussed for Bahrain. The friend mean value of 427 with a standard deviation of 499 indicates that the users have fewer friends. However, the retweet and favorites mean and standard deviation values again lead to the surprising insight that the followers are not interacting with the tweets in the form of favorites or retweets.
Oman had only 21 tweets that were filtered out from the given Twitter data. The mean and standard deviation were 43,965 and 47,286, respectively, for user followers in the Oman data. By looking into these figures, an average of more than 43k user followers can be seen, which mostly consists of Twitter accounts with thousands of followers, while the standard deviation is also high. Therefore, there was a big difference between 21 tweeting accounts. For user friends, the mean and standard deviation were 436 and 325, respectively. This indicates that most of the tweeting accounts had about 400 friends, with the standard deviation also indicating a large variance in numbers of friends. Retweets and favorites again had lower mean and standard deviation values, which indicates that these texts were not encouraged or liked by Twitter users.
In Qatar, there were 269 user-based tweets, with mean and standard deviation values of user followers of 44,200 and 22,251, respectively. This indicates that, on average, these tweeting accounts had more than 44k followers, whereas the standard deviation value also indicates a big difference, though, in comparison to the deviation values discussed above, it is not very high. Therefore, we can say that these accounts have more followers or are more popular relative to the above countries. Similarly, these accounts’ friends had a standard deviation value of 145, which indicates a small difference between the accounts’ friends. The favorite mean and standard deviation were only 2. This indicates again that the users were not very active in their responses to these popular pages.
Saudi Arabia had 55 tweets in total. Surprisingly, the mean and standard deviation were 269,870 and 150,890, respectively, which were the biggest values found in our study. This indicates that most of these tweeting accounts have 0.2 million followers, whereas the standard deviation value indicates that the tweeting accounts have only 0.15 million followers. However, there was an average of 14 favorites per tweet with 22 as the standard deviation. The slight variation in standard deviation and mean values could be due to followers’ variation, as well as old and new tweeting accounts. However, the favorite mean value of 14 is interesting, as it highlights that the users are at least responding and active.
The UAE had 35 tweets in total. It had a mean value of followers of 11,694 with 18,937 as the standard deviation value. This means that the UAE has a large amount of variation in tweeting accounts followers. The user friend mean and standard deviation values of 507 and 705, respectively, also highlight the big difference between tweeting accounts’ friends. Finally, again, the retweet and favorite mean and standard deviation were 2 and 3, respectively. This also highlights the inactivity and lower responsiveness to all the accounts’ tweets about COVID-19 vaccines.
By analyzing the data of all six countries’ tweets, we see that Qatar had the most tweets, with 269 tweets on the vaccine topic, while its users were not very active even though they had thousands of Twitter followers. However, Saudi Arabia had the largest number of popular tweeting accounts with the largest number of favorites and retweeted texts. However, for an account-based comparison and discussion, we sorted the top tweets for each of these countries and will now discuss their tweeted topics, which will highlight the country-wise interests and feedback regarding different vaccines.

Topic Discussion

Various topics were discussed in each of the Gulf countries, from which various top retweeted topics are highlighted and discussed in Table 2. The tweeted topic-based model could be represented as shown in Equation (5).
T o p i c s C i = T j ( M k )
In Equation (5), the selected and discussed topics are represented as T o p i c s C i where C i represents the country-wise topics and the i range is from 1 to 6. T j are the top three discussed topics of each country ( C i ) where the topics are selected based upon the majority of their retweets ( M k ), where k varies from country to country.
The retweeted topics from Bahrain were regarding the Sinopharm vaccine, which was about to be approved in Saudi Arabia. This means that people from Bahrain were also interested in the approval of the Chinese vaccine. In Saudi Arabia, a major topic was that people were not allowed to come into Saudi Arabia without their approved vaccines. Another discussed topic in Saudi Arabia was the acceptance of the Chinese vaccine with a booster vaccine from Pfizer or Moderna. Additional top topics also had to do with Sinopharm acceptance. We found that acceptance of the Chinese vaccine was a major issue in all Gulf countries. To further check this finding, we examined the other countries’ retweeted topics. As can be seen in Table 2, a top topic in Kuwait was also the Ministry of Health’s (MOH) allowance of Chinese vaccines.
One more interesting topic that we identified in the Oman tweets is the discussion of the vaccine mix-and-match strategy to enhance immunity against COVID-19. It also seems that Oman has allowed Chinese and Russian vaccines due to the health emergency. If we look at Qatar, all tweets are encouraging and requesting the government to allow the COVAX shots and booster shots to enter the country. People from Asian countries are waiting to re-enter Gulf countries after receiving their vaccinations in their countries. Saudi Arabia considered using the AstraZeneca vaccine to vaccinate its population. However, people aged 12 to 17 were to be vaccinated with Moderna, another vaccine. The side effects of these vaccines are also discussed, which could affect people’s decisions to receive their vaccine shots as well. It is also discussed that the UAE will allow administering the Sinopharm vaccine to its younger nationals. In general, discussion in the UAE revolved around the Sinopharm and Pfizer vaccines, which were allowed by the government.

3.3. Topic Analysis Using Machine Learning

Machine learning methods of analysis are developing and are also used in text data analysis. Features are encoded using various methods that are also used in this study. The feature engineering at various stages is discussed in the coming sections.

3.3.1. Tokenizing

The document texts were taken for each country and then tokenized into different tokens. The Unicode Standard Annex (UAX) [39] was used for text boundary and Unicode-based text segmentation. This standard is used for text segmentation when there are many rules regarding regex and grammatical punctuation. Sentences, words, paragraphs, and other breaking rules are defined in this method, which is used to extract the tokens of documents. Our study used this method to tokenize the tweeted texts and documents.

3.3.2. Data Cleaning

The tokenized documents were cleaned after obtaining each individual text word or character. The stop words, URLs, punctuation, repeating words, and numeric figures were removed and all of the words were shifted to lowercase letters. After cleaning all of the data, the individual pieces of data were unique and distinguished enough to obtain the encodings of their texts. Additionally, this data cleaning led to the need for less computing space and effort in feature computing, as we removed the redundancy and useless information before making features. It also led to more promising results of the sentiment scores.

3.3.3. Tokenized Encodings

The tokenized and cleaned filtered data contain the most useful and unique words, which were used to obtain the actual vocabulary or dictionary of vaccine-related Gulf countries’ data. These encodings were collected out of all of the refined tokenized documents. Finally, with the use of these data, a 1 × 1773 string vector was designed made up of the tweeted data vocabulary. This method provided the indices of a particular word or string that is read out while a document is iterated over these encodings. In this way, a true or false, or 0/1-based, feature vector or sequence could be designed to obtain 2 numeric features for texts.

3.3.4. Document Sequential Data

Sequential data were made to design input words embedded in a layer for further machine learning-based analysis. The cleaned tokenized data-based encoding data of document sequencing were generated, and equal-length sequences were generated. These sequences contained sparsity-type matrices for each input instance or document. The data were split up in a 70/30% ratio. There were 685 instances in total, and after splitting, there were 480 instances for training and 205 instances for testing.

3.3.5. Proposed LSTM

The proposed LSTM contained a nine-layer architecture. All layers are summarized in Table 3. The first layer takes the input of sequences of data that were designed using an encoding vector. The sparsity matrix-based sequences are given to the next layer for word embedding, which basically obtains each input sequence as a multiple of the encoding of the designed vocabulary. These weights are the inputs of the next LSTM layer, which repeats the sequence until the weights are updated for their next input. This is called a long short-term memory network, which is based upon a recurrent neural network. It contains long- and short-term memory based upon its recurrence and updated weights.
The next layer is a dropout layer; it is generally used to drop out useless information that is read out by the LSTM layer. It is designed to obtain the probability at first, and in the proposed architecture, 0.5 is taken as the probability value to drop 20%. The next layer of the LSTM has a 20% probability of reducing data; as can be seen, 400 reduced to 200 is the next layer input with the sequence length. However, the next layer of data is taken as an LSTM layer and again the recurrence-based input sequences are iterated by this layer. The dropout is again applied in the next step, which again reduces data weights by 20% by setting 0.5 as the probability value. The refined encoded and distinguished data are passed on to the fully connected layer that is aligned to the vector weights and then fed to the activation-based softmax layer. It designs the probability-type scores that are used by the classification layer to classify the data into negative and positive sentiment scores.

3.3.6. Deep Feature Extraction and Classification

After obtaining the deep learning-based classifiable model, our study used deep features that are currently consistently used in many other machine learning-based applications [37,40,41,42]. The features are extracted using a fully connected layer, where these deep features are used as the machine learning classifier SVM to classify data as positive and negative tweets and data. The extracted features are used to normalize the data. The data are first normalized using a mean and its standard deviation, which produces data in the range of 1 to 1 . Then, a chi-squared test is performed to obtain rank features where the top 15 are selected for each instance and then fed to the SVM.

4. Results and Discussion

In our basic workflow, we have used sentiment score methods in order to sort our data into negative and positive feedback about COVID-19 vaccines in the Gulf countries. The ratio and VADER sentiment score data were fed into two models, a proposed LSTM and other machine learning classifiers, which returned different prediction results in both sentiment analysis methods. We will now discuss them individually and make the results of this study more robust.

4.1. Ratio Sentiment Score-Based LSTM and Machine Learning Classifier Results

The first main LSTM-based network was designed and applied to sentiment score-based sequential data. The training parameters are shown in Table 4. It includes the information regarding activation function, training epochs, batch size, and training environment.
It can be seen in Table 5 that there are various categories of different domains of classification that were applied for prediction; a visual representation is shown in Figure 4.
These sequential data have shown 77.56% accuracy on negative and positive tweet data. However, sensitivity and precision values were 91.13 and 76.35, respectively, which shows the two different perspectives of truly predicted positive tweets.
As for LSTM, it showed a 83.09 F1-score, which could be a more appropriate measure as compared to accuracy. The kappa value showed a weak level of agreement on data for LSTM-based classification. However, the LSTM was trained on 70% of the data and validated on 30% of the data. Therefore, these predictions could have less confidence. However, the trained LSTM-based fully connected layer was used to extract deep features. These deep features were then normalized using the 1, 1 range of values with standard deviation and mean formulation. These normalized features were extracted for all positive and negative sentiments. These deep features were then fed to the SVM, Fine-KNN, Ensemble, and Total Boost methods of machine learning classification.
To reduce biases, the 10-fold cross-validation method was used, which further split the data into 10 proper folds of data. The training and testing were carried out properly on these data. However, these normalized deep feature-based classifications are more promising than the LSTM-based sequential data. If we look into the table, the SVM showed the same results as LSTM. However, if we look into the Fine-KNN results, they are more satisfying than both those of LSTM and SVM. Fine-KNN showed a 93.28% accuracy of results for the positive and negative tweet data. The sensitivity and precision level were also improved to 97.35% and 92.03%, respectively, in the case of Fine-KNN. The F1-score was 94.61%, which is also better than both SVM and LSTM. The other category of classification that belongs to the boosting category was also used. Two methods, Ensemble Boost and Total Boost, were used, where Ensemble Boost showed the same results as Fine-KNN. The Total Boost method showed lower results than both of these methods. However, all of the scores of the Total Boost method were higher than those of the SVM and LSTM methods.

4.2. TextBlob Sentiment Score-Based LSTM and Machine Learning Classifier Results

It can be seen by looking at Table 6 that there are various categories of different domains of classification and prediction that are applied, and the visual representation is shown in Figure 5. The 1st main LSTM-based network is designed and applied on sentiment score-based sequential data. These sequential data have shown 78.54% accuracy on negative and positive tweet data. However, sensitivity and precision values are 88% and 79.14%, showing the two different perspectives of truly predicted positive tweets. The F1-score is an important measure that shows the positive and negative effect over specified wrong predictions only.
As for LSTM, it showed a value of 88.33% that could be a more appropriate measure as compared to accuracy. The kappa value showed a weak level of agreement on data for LSTM-based classification with a 53.43 rate value. However, the LSTM was trained on 70% of data and validated on 30% of data. Therefore, these predictions could have less confidence. However, the trained LSTM-based fully connected layer is used to extract deep features. These deep features are then normalized using the 1, −1 range of values with standard deviation and mean formulation. These normalized features are extracted for all positive and negative sentiments. These deep features are then fed to SVM, Fine-KNN, Ensemble, and Total Boost methods of machine learning classification.
To reduce the bias, the 10-fold cross-validation method is used that further split up the data into 10 proper folds of data. The training and testing was carried out on this data. However, these normalized deep feature-based classification are more promising than the LSTM-based sequential data. If we look into the table, the SVM showed higher results as compared to LSTM. However, if we look into the Fine-KNN results, they are the same as SVM. It showed 93.58% accuracy results over the positive and negative tweet data, more than the ratio-based sentiment score classification results. The sensitivity and precision level is also improved, as it is 96.39% and 93.24% in the case of SVM, Fine-KNN, and Ensemble Boost. The F1-score showed positive and negative effects, with a 94.79% score that is also better than LSTM (88.33%). However, the Total Boost method showed relatively lower results than these three methods but they are better than the actual LSTM results.

4.3. VADER Sentimental Score-Based LSTM and Machine Learning Classifiers Results

The VADER sentimental score-based positive and negative score sequential data features were given to LSTM, and then normalization was performed on those deep features. These deep features were then fed to SVM, Fine-KNN, and two boosting classification methods. The 70–30 data split ratio was used in the case of LSTM after extracting deep features from all data. All other classification methods used the 10-fold validation method. A tabular representation is shown in Table 7, and a visual representation is shown in Figure 6.
The classification results on sequential data from LSTM were more satisfying than the LSTM results of the ratio score-based sentiment sequential data, with an 80% classification accuracy score relative to a 77.56% value. Similarly, the truly predicted positive tweet data-based sensitivity and precision scores were not better. The lower sensitivity score showed that some of the false negative-based instances created different scores when the precision value was better, with 80.29% versus 76.35% in the previous LSTM score. The F1-score was 84.29%, for both the positive and negative composite scores, which is better than the previous LSTM score. As far as the kappa value is concerned, it was again lower in this case. As in the previous case, the deep feature-based SVM showed the same scores, and in this case the SVM also showed the same evaluation values. However, the better results of VADER sentiments also affected the other machine learning classifiers’ performance. The Fine-KNN showed a 94.01% accuracy score, which is by far the best accuracy score among all sentiment and sequential data scores. All other measures, including the kappa constant, showed a perfect level of agreement on the normalized deep feature data for Fine-KNN and the Ensemble Boost method. These methods showed 96.62% and 93.68% scores of sensitivity and precision, respectively, which demonstrated confidence regarding positive tweets’ true predictions. However, the F1-score was 95.12%, which could be a more significant and important measure for the classification of positive and negative tweets. Finally, the Total Boost method showed less improved results than the Fine-KNN and Ensemble Boost methods, but had higher values than the LSTM and SVM methods.
As per the above results, the VADER sentiments were also promising as compared to the ratio method of positive and negative compound scores, where these scores, based on cleaned and encoded sequential data, showed 77.56% and 80% confidence values via LSTM for both methods, respectively. However, the deep transferred features have shown very good and more promising results in the classification of positive and negative tweet data. This validated the robustness of deep features that are used in many other machine learning classification methods nowadays. Furthermore, we can say that the VADER sentiment score-based data classification is more promising than the ratio sentiment method.

4.4. Evaluation Measure

We used certain evaluation measures to validate the results, including accuracy, sensitivity, precision, F1-score, and the statistical measure Cohen’s kappa. The accuracy is calculated as shown in the following equation.
A c c u r a c y = T P + T N T P + T N + F N + F N × 100
It is a general measure of data prediction based upon four fundamental terms, including true positive (TP), false positive (FP), true negative (TN), and false negative (FN). The accuracy measure indicated how correctly the positive and negative instances have been classified over all four terms. In our study, if a positive tweet is predicted correctly, it is TP. For TN, prediction is negative if it is a negative tweet and is predicted to be negative as well. FP refers to the classification of positive tweets into the negative tweet class. For FN, negative tweets are predicted as positive tweets.
S e n s i t i v i t y = T P T P + F N × 100
In our study, the sensitivity is calculated as true predicted positive tweets divided by the sum of truly predicted positive tweets and negative predictions of actual positive tweets. Therefore, it showed the overall ratio of the correctly predicted positive tweets to the correctly and wrongly predicted positive tweets.
P r e c i s i o n = T P T P + F P × 100
The precision value is calculated as the truly predicted positive tweets divided by the sum of the truly predicted positive tweets and predictions of true positives as negative tweets. Therefore, this measure was used as another perspective regarding correctly predicted positive tweets.
F 1 - S c o r e = 2 × r e c a l l × p r e c i s i o n r e c a l l + p r e c i s i o n × 100
The F1-score consists of relationships between the recall and precision values based on actual measures of truly predicted positive and negative tweet data. It could be a more reliable measure relative to accuracy to identify true results, as it is a composite form of true positive and true negative measures.
K a p p a C o h e n = c m 1 × r m 1 n + c m 2 × r m 2 n n × 100
Cohen’s kappa is a statistical constant that estimates the reliability of data for classification. The equation explains this measure using a confusion matrix. c m 1 shows the value of column 1 in the confusion matrix, whereas r m 1 shows row 1 of the confusion matrix. Similarly, for row 2 and column 2 of the confusion matrix, the margins are taken up for the calculation of the kappa value. Values of 0–20 for kappa indicate no agreement of data, 21–39 indicate a minimal level of agreement, 40–59 indicate a weak agreement, 60–79 indicate a moderate agreement, 80–89 indicate a strong level of agreement, and a value of 90 indicates a perfect level of agreement.

5. Conclusions

COVID-19 vaccine-related Twitter sentiment data for the Gulf countries were collected via Twitter data. The data contained information regarding different behaviors and feedback of Gulf countries’ populations. To examine vaccine hesitancy and the effect of different types of vaccines on it, the current study was conducted. Various hot topics in all six countries, derived from tweets, were discussed, highlighting the concerns of these countries. The collected data were refined using various data cleaning methods. The refined tokenized data were then scored using three sentiment analysis methods: The ratio, TextBlob, and VADER methods. All of these methods produced negative and positive scored data, which were then converted into sequential data using a tokenized data vocabulary. These sequential data were split up into training and testing sets and then fed into LSTM and classified into positive and negative tweet data. Sentiment score data of all three sentiment methods were separately classified using LSTM. However, the results were not very promising, and thus, deep features from LSTM were extracted and fed into other classical machine learning classification methods. The deep feature-based classification methods showed more promising results than the LSTM via all three sentiment method-based features. By looking into all results, the Fine-KNN and Ensemble Boost methods of classification on deep features of the LSTM method both showed a 94.01% accuracy level on VADER sentiment score data.
In the future, additional data from social media platforms could be used in the sentiment analysis of various countries to analyze their concerns, which could help in countering vaccine hesitancy. As far as the classification of positive and negative text data is concerned, various other methods of feature encoding could be used, representing opportunities for classification improvement. The proposed method of LSTM and deep features could be used in different NLP tasks to enhance the accuracy.

Author Contributions

Conceptualization, A.A., H.M.A. and O.D.O.; funding acquisition, A.A. and H.M.A.; methodology, A.A., H.M.A., O.D.O., T.M. and H.T.R.; software, A.A., H.M.A., O.D.O., T.M. and H.T.R.; writing—original draft, A.A., H.M.A., O.D.O., T.M. and H.T.R. All authors have read and agreed to the published version of the manuscript.

Funding

There is no external funding received for this research.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This research was supported by the Researchers Supporting Project (RSP2022R476), King Saud University, Riyadh, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. ArcGIS Dashboard. Available online: https://www.arcgis.com/apps/dashboards/bda7594740fd40299423467b48e9ecf6 (accessed on 1 January 2022).
  2. Samet, A. How the Coronavirus Is Changing US Social Media Usage. Insid. Intell. 2020, 97. Available online: https://www.emarketer.com/content/how-coronavirus-changing-us-social-media-usage (accessed on 1 January 2022).
  3. Spending 2020 Together on Twitter. Available online: https://blog.twitter.com/en_us/topics/insights/2020/spending-2020-together-on-twitter# (accessed on 1 January 2022).
  4. Defendi, H.G.T.; da Silva Madeira, L.; Borschiver, S. Analysis of the COVID-19 vaccine development process: An exploratory study of accelerating factors and innovative environments. J. Pharm. Innov. 2021, 1–17. [Google Scholar] [CrossRef]
  5. Gee, J.; Marquez, P.; Su, J.; Calvert, G.M.; Liu, R.; Myers, T.; Nair, N.; Martin, S.; Clark, T.; Markowitz, L.; et al. First month of COVID-19 vaccine safety monitoring—United States, December 14, 2020–January 13, 2021. Morb. Mortal. Wkly. Rep. 2021, 70, 283. [Google Scholar] [CrossRef] [PubMed]
  6. Harrison, E.A.; Wu, J.W. Vaccine confidence in the time of COVID-19. Eur. J. Epidemiol. 2020, 35, 325–330. [Google Scholar] [CrossRef] [Green Version]
  7. Larson, H.J.; Jarrett, C.; Eckersberger, E.; Smith, D.M.; Paterson, P. Understanding vaccine hesitancy around vaccines and vaccination from a global perspective: A systematic review of published literature, 2007–2012. Vaccine 2014, 32, 2150–2159. [Google Scholar] [CrossRef] [PubMed]
  8. Dubé, E.; Vivion, M.; MacDonald, N.E. Vaccine hesitancy, vaccine refusal and the anti-vaccine movement: Influence, impact and implications. Expert Rev. Vaccines 2015, 14, 99–117. [Google Scholar] [CrossRef]
  9. Wilson, S.L.; Wiysonge, C. Social media and vaccine hesitancy. BMJ Glob. Health 2020, 5, e004206. [Google Scholar] [CrossRef]
  10. Keshet, Y.; Popper-Giveon, A. “I Took the Trouble to Make Inquiries, So I Refuse to Accept Your Instructions”: Religious Authority and Vaccine Hesitancy Among Ultra-Orthodox Jewish Mothers in Israel. J. Relig. Health 2021, 60, 1992–2006. [Google Scholar] [CrossRef]
  11. Palgi, Y.; Bergman, Y.S.; Ben-David, B.; Bodner, E. No psychological vaccination: Vaccine hesitancy is associated with negative psychiatric outcomes among Israelis who received COVID-19 vaccination. J. Affect. Disord. 2021, 287, 352–353. [Google Scholar] [CrossRef]
  12. Jang, H.; Rempel, E.; Roth, D.; Carenini, G.; Janjua, N.Z. Tracking COVID-19 discourse on twitter in North America: Infodemiology study using topic modeling and aspect-based sentiment analysis. J. Med. Internet Res. 2021, 23, e25431. [Google Scholar] [CrossRef]
  13. Su, Y.; Venkat, A.; Yadav, Y.; Puglisi, L.B.; Fodeh, S.J. Twitter-based analysis reveals differential COVID-19 concerns across areas with socioeconomic disparities. Comput. Biol. Med. 2021, 132, 104336. [Google Scholar] [CrossRef] [PubMed]
  14. Oyebode, O.; Ndulue, C.; Adib, A.; Mulchandani, D.; Suruliraj, B.; Orji, F.A.; Chambers, C.T.; Meier, S.; Orji, R. Health, Psychosocial, and Social Issues Emanating From the COVID-19 Pandemic Based on Social Media Comments: Text Mining and Thematic Analysis Approach. JMIR Med. Inform. 2021, 9, e22734. [Google Scholar] [CrossRef] [PubMed]
  15. Chang, C.H.; Monselise, M.; Yang, C.C. What Are People Concerned about during the Pandemic? Detecting Evolving Topics about COVID-19 from Twitter. J. Healthc. Inform. Res. 2021, 5, 70–97. [Google Scholar] [CrossRef] [PubMed]
  16. Gerts, D.; Shelley, C.D.; Parikh, N.; Pitts, T.; Ross, C.W.; Fairchild, G.; Chavez, N.Y.V.; Daughton, A.R. “Thought I’d Share First” and Other Conspiracy Theory Tweets from the COVID-19 Infodemic: Exploratory Study. JMIR Public Health Surveill. 2021, 7, e26527. [Google Scholar] [CrossRef] [PubMed]
  17. Statista Research Department. Twitter: Monthly Active Users Worldwide. 2021. Available online: https://www.statista.com/statistics/282087/number-of-monthly-active-twitter-users/ (accessed on 1 January 2022).
  18. Wojcik, S.; Hughes, A. Sizing Up Twitter Users; Pew Research Center: Washington, DC, USA, 2019; Volume 24. [Google Scholar]
  19. Ritchie, H.; Mathieu, E.; Rodés-Guirao, L.; Appel, C.; Giattino, C.; Ortiz-Ospina, E.; Hasell, J.; Macdonald, B.; Beltekian, D.; Roser, M.; et al. Coronavirus (COVID-19) Vaccinations—Statistics and Research. 2020. Available online: https://ourworldindata.org/covid-vaccinations (accessed on 1 January 2022).
  20. Praveen, S.; Ittamalla, R.; Deepak, G. Analyzing the attitude of Indian citizens towards COVID-19 vaccine—A text analytics study. Diabetes Metab. Syndr. Clin. Res. Rev. 2021, 15, 595–599. [Google Scholar] [CrossRef] [PubMed]
  21. Ritonga, M.; Al Ihsan, M.A.; Anjar, A.; Rambe, F.H. Sentiment analysis of COVID-19 vaccine in Indonesia using Naïve Bayes Algorithm. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2021; Volume 1088, p. 012045. [Google Scholar]
  22. Shamrat, F.; Chakraborty, S.; Imran, M.; Muna, J.N.; Billah, M.M.; Das, P.; Rahman, M.O. Sentiment analysis on twitter tweets about COVID-19 vaccines using NLP and supervised KNN classification algorithm. Indones. J. Electr. Eng. Comput. Sci. 2021, 23, 463–470. [Google Scholar] [CrossRef]
  23. Marcec, R.; Likic, R. Using Twitter for sentiment analysis towards AstraZeneca/Oxford, Pfizer/BioNTech and Moderna COVID-19 vaccines. Postgrad. Med. J. 2021. [Google Scholar] [CrossRef]
  24. Garcia, K.; Berton, L. Topic detection and sentiment analysis in Twitter content related to COVID-19 from Brazil and the USA. Appl. Soft Comput. 2021, 101, 107057. [Google Scholar] [CrossRef]
  25. Melton, C.A.; Olusanya, O.A.; Ammar, N.; Shaban-Nejad, A. Public sentiment analysis and topic modeling regarding COVID-19 vaccines on the Reddit social media platform: A call to action for strengthening vaccine confidence. J. Infect. Public Health 2021, 14, 1505–1512. [Google Scholar] [CrossRef]
  26. Sattar, N.S.; Arifuzzaman, S. COVID-19 vaccination awareness and aftermath: Public sentiment analysis on Twitter data and vaccinated population prediction in the USA. Appl. Sci. 2021, 11, 6128. [Google Scholar] [CrossRef]
  27. Liu, S.; Liu, J. Public attitudes toward COVID-19 vaccines on English-language Twitter: A sentiment analysis. Vaccine 2021, 39, 5499–5505. [Google Scholar] [CrossRef] [PubMed]
  28. Luo, C.; Chen, A.; Cui, B.; Liao, W. Exploring public perceptions of the COVID-19 vaccine online from a cultural perspective: Semantic network analysis of two social media platforms in the United States and China. Telemat. Inform. 2021, 65, 101712. [Google Scholar] [CrossRef] [PubMed]
  29. Bonnevie, E.; Gallegos-Jeffrey, A.; Goldbarg, J.; Byrd, B.; Smyser, J. Quantifying the rise of vaccine opposition on Twitter during the COVID-19 pandemic. J. Commun. Healthc. 2021, 14, 12–19. [Google Scholar] [CrossRef]
  30. Ghasiya, P.; Okamura, K. Investigating COVID-19 News Across Four Nations: A Topic Modeling and Sentiment Analysis Approach. IEEE Access 2021, 9, 36645–36656. [Google Scholar] [CrossRef]
  31. Ofer, D.; Brandes, N.; Linial, M. The language of proteins: NLP, machine learning & protein sequences. Comput. Struct. Biotechnol. J. 2021, 19, 1750–1758. [Google Scholar]
  32. Le Glaz, A.; Haralambous, Y.; Kim-Dufor, D.H.; Lenca, P.; Billot, R.; Ryan, T.C.; Marsh, J.; Devylder, J.; Walter, M.; Berrouiguet, S.; et al. Machine learning and natural language processing in mental health: Systematic review. J. Med. Internet Res. 2021, 23, e15708. [Google Scholar] [CrossRef]
  33. Socher, R.; Bengio, Y.; Manning, C.D. Deep learning for NLP (without magic). In Tutorial Abstracts of ACL 2012; Association for Computational Linguistics: Jeju Island, Korea, 2012; p. 5. [Google Scholar]
  34. Rathor, A.S.; Agarwal, A.; Dimri, P. Comparative study of machine learning approaches for Amazon reviews. Procedia Comput. Sci. 2018, 132, 1552–1561. [Google Scholar] [CrossRef]
  35. Scannell, D.; Desens, L.; Guadagno, M.; Tra, Y.; Acker, E.; Sheridan, K.; Rosner, M.; Mathieu, J.; Fulk, M. COVID-19 vaccine discourse on Twitter: A content analysis of persuasion techniques, sentiment and mis/disinformation. J. Health Commun. 2021, 26, 443–459. [Google Scholar] [CrossRef]
  36. Meraj, T.; Alosaimi, W.; Alouffi, B.; Rauf, H.T.; Kumar, S.A.; Damaševičius, R.; Alyami, H. A quantization assisted U-Net study with ICA and deep features fusion for breast cancer identification using ultrasonic data. PeerJ Comput. Sci. 2021, 7, e805. [Google Scholar] [CrossRef]
  37. Mostafa, A.M.; Kumar, S.A.; Meraj, T.; Rauf, H.T.; Alnuaim, A.A.; Alkhayyal, M.A. Guava Disease Detection Using Deep Convolutional Neural Networks: A Case Study of Guava Plants. Appl. Sci. 2022, 12, 239. [Google Scholar] [CrossRef]
  38. Manzoor, K.; Majeed, F.; Siddique, A.; Meraj, T.; Rauf, H.T.; El-Meligy, M.A.; Sharaf, M.; Abd Elgawad, A.E.E. A Lightweight Approach for Skin Lesion Detection Through Optimal Features Fusion. CMC—Comput. Mater. Contin. 2022, 70, 1617–1630. [Google Scholar] [CrossRef]
  39. Unicode Text Segmentation. Available online: https://www.unicode.org/reports/tr29/ (accessed on 1 January 2022).
  40. Rehman, N.u.; Zia, M.S.; Meraj, T.; Rauf, H.T.; Damaševičius, R.; El-Sherbeeny, A.M.; El-Meligy, M.A. A self-activated cnn approach for multi-class chest-related COVID-19 detection. Appl. Sci. 2021, 11, 9023. [Google Scholar] [CrossRef]
  41. Mahum, R.; Rehman, S.U.; Meraj, T.; Rauf, H.T.; Irtaza, A.; El-Sherbeeny, A.M.; El-Meligy, M.A. A novel hybrid approach based on deep cnn features to detect knee osteoarthritis. Sensors 2021, 21, 6189. [Google Scholar] [CrossRef] [PubMed]
  42. Mahum, R.; Rehman, S.U.; Okon, O.D.; Alabrah, A.; Meraj, T.; Rauf, H.T. A Novel Hybrid Approach Based on Deep CNN to Detect Glaucoma Using Fundus Imaging. Electronics 2022, 11, 26. [Google Scholar] [CrossRef]
Figure 1. Data regarding fully and partially vaccinated populations in the Gulf countries up to 29 December 2021.
Figure 1. Data regarding fully and partially vaccinated populations in the Gulf countries up to 29 December 2021.
Mathematics 10 00467 g001
Figure 2. Proposed framework.
Figure 2. Proposed framework.
Mathematics 10 00467 g002
Figure 3. Sentiment scores of Gulf countries tweets regarding COVID-19 vaccines.
Figure 3. Sentiment scores of Gulf countries tweets regarding COVID-19 vaccines.
Mathematics 10 00467 g003
Figure 4. Ratio of sentiment score-based machine learning classification graph.
Figure 4. Ratio of sentiment score-based machine learning classification graph.
Mathematics 10 00467 g004
Figure 5. TextBlob sentiment score-based machine learning classification graph.
Figure 5. TextBlob sentiment score-based machine learning classification graph.
Mathematics 10 00467 g005
Figure 6. VADER sentimental score-based machine learning classification graph.
Figure 6. VADER sentimental score-based machine learning classification graph.
Mathematics 10 00467 g006
Table 1. Data of Gulf countries’ tweet data about different COVID-19 vaccines.
Table 1. Data of Gulf countries’ tweet data about different COVID-19 vaccines.
CountriesDataUser FollowersUser FriendsUser FavoritesRetweetsFavorites
Count35.0035.0035.0035.0035.00
BahrainMean3834.9142408.1714292569.57140.25711.6857
Standard Deviation9264.6748354.66513688.15050.65724.0712
Count49.0049.0049.0049.0049.00
KuwaitMean12,991.6938427.55102120.73460.93875.000
Standard Deviation12,657.5279499.89546238.95261.36026.9251
Count21.0021.0021.0021.0021.00
OmanMean43,965.1904436.19043044.14280.66663.9047
Standard Deviation47,286.9812325.15114527.76351.23823.7269
Count269.00269.00269.00269.00269.00
QatarMean44,200.2825238.60221245.35310.67282.6468
Standard Deviation22,251.9688145.84343647.50301.25062.6524
Count55.0055.0055.0055.0055.00
Saudi ArabiaMean269,870.363697.87271187.804.254514.6545
Standard Deviation150,890.9840292.7775422.633.787022.1820
Count35.0035.0035.0035.0035.00
UAEMean11,694.542507.17141433.25710.74282.0285
Standard Deviation18,937.479705.45594945.5752.24053.8462
Table 2. Analyzed top topics in Gulf countries regarding COVID-19 vaccines.
Table 2. Analyzed top topics in Gulf countries regarding COVID-19 vaccines.
CountryTopic NumberSourceTopic TitleDescription
BahrainT1Bh NewsSaudi Arabia to accept Sinopharm vaccineSaudi Arabia to accept Sinopharm vaccinated individuals 14 days after receiving a booster dose of Pfizer, Moderna
T2Gulf Daily NewsSinopharm acceptance in BahrainAuthorities have once again affirmed the efficacy of the Chinese vaccine Sinopharm
T3Bh NewsBooster shotBahrain to conduct study on booster shots for fully vaccinated individuals
KuwaitT1Arab Times KuwaitMinistry of Health allowanceMOH does not recognize vaccines taken outside Kuwait
T2Dr. Fatima M. KhajahCOVID-19 vaccine consultationPart of interview about COVID-19 vaccine
T3Arab Times KuwaitVaccine acceptanceKuwait expands sites for vaccination, Sinopharm, Sinovac, and Sputnik V vaccinated passengers allowed to enter
OmanT1Muscat DailyMOH postponed 2nd dose of vaccineMinistry of Health: Postponement of second dose of Pfizer/BioNTech vaccine for those who received the first shot
T2Times of OmanOman emergency use of Russian and Chinese VaccinesOman approves emergency use of Russian, Chinese vaccines
T3Times of OmanEffect of use of different VaccinesA study has found that alternating doses of the AstraZeneca and Pfizer BioNTech vaccines generates a robust immune response
QatarT1Reunite couples stuck apart in the pandemicCOVAX allowance“Please, EVERYONE retweet this to support us to get the COVAX approved in all countries”
T2Reunite couples stuck apart in the pandemicQatar opened flights for vaccinatedQatar opened to vaccinated visitors from India from July, many people were able to meet their families
T3The Peninsula QatarBooster shotRegulators and vaccine developers are looking at whether booster doses are necessary or not
Saudi ArabiaT1Arab NewsSinopharm acceptanceThe UAE will start providing Sinopharm COVID-19 vaccine to children aged 3–17
T2Arab NewsSide effects of AstraZenecaSaudi study on AstraZeneca vaccine against COVID-19 says no major side effects were observed
T3Saudi GazetteModerna acceptance for younger peopleModerna reports that its coronavirus vaccine is effective in those aged between 12 and 17
UAET1WAM EnglishSinopharm acceptance for younger peopleUAE Ministry of Health approves use of Sinopharm vaccine for ages 3–17
T2Nesreen Bakheit2nd dose approved in UAEDubai has approved its 2nd Pfizer vaccine, which will roll out to the public
T3Mira SalemUAE collaboration against COVID-19The UAE is making global efforts to fight the COVID-19 pandemic
Table 3. Proposed LSTM architecture and activations.
Table 3. Proposed LSTM architecture and activations.
Serial NumberTypeLayersWeights
1InputSequence input1
2Words embeddingWord embedding20 × 1774
3LSTMLSTM_1400 × 20
4DropoutDropout_1100
5LSTMLSTM_2200 × 20
6DropoutDropout_250
7Fully connectedFC_12 × 50
8ActivationSoftmax2
9ClassificationClassification_Output2
Table 4. Training hyper-parameters of LSTM network.
Table 4. Training hyper-parameters of LSTM network.
ParametersValues
Activation FunctionStochastic Gradient Descent Moment (SGDM)
Batch Size32
Training EnvironmentGPU
Gradient Threshold1
Max Epochs5000
Table 5. Machine learning-based tweet classification results using the ratio sentiment score method.
Table 5. Machine learning-based tweet classification results using the ratio sentiment score method.
MethodsAccuracySensitivityPrecisionF1-ScoreCohen’s kappa
LSTM77.5691.1376.3583.0950.51
SVM77.5691.1376.3583.0950.51
Fine-KNN93.2897.3592.0394.6185.72
Ensemble Boost93.2897.3592.0394.6185.72
Total Boost91.2497.3589.1893.0981.20
Table 6. Machine learning-based tweet classification results using the TextBlob sentiment score method.
Table 6. Machine learning-based tweet classification results using the TextBlob sentiment score method.
MethodsAccuracySensitivityPrecisionF1-ScoreCohen’s Kappa
LSTM78.5488.0079.1488.3353.43
SVM93.5896.3993.2494.7986.43
Fine-KNN93.5896.3993.2494.7986.43
Ensemble Boost93.5896.3993.2494.7986.43
Total Boost86.7289.1688.9489.0572.17
Table 7. Machine learning-based tweet classification results using the VADER sentiment score method.
Table 7. Machine learning-based tweet classification results using the VADER sentiment score method.
MethodsAccuracySensitivityPrecisionF1-ScoreCohen’s Kappa
LSTM80.0088.7180.2984.2956.96
SVM80.0088.7180.2984.2956.96
Fine-KNN94.0196.6293.6895.1287.38
Ensemble Boost94.0196.6293.6895.1287.38
Total Boost82.4887.7585.3485.5463.32
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alabrah, A.; Alawadh, H.M.; Okon, O.D.; Meraj, T.; Rauf, H.T. Gulf Countries’ Citizens’ Acceptance of COVID-19 Vaccines—A Machine Learning Approach. Mathematics 2022, 10, 467. https://doi.org/10.3390/math10030467

AMA Style

Alabrah A, Alawadh HM, Okon OD, Meraj T, Rauf HT. Gulf Countries’ Citizens’ Acceptance of COVID-19 Vaccines—A Machine Learning Approach. Mathematics. 2022; 10(3):467. https://doi.org/10.3390/math10030467

Chicago/Turabian Style

Alabrah, Amerah, Husam M. Alawadh, Ofonime Dominic Okon, Talha Meraj, and Hafiz Tayyab Rauf. 2022. "Gulf Countries’ Citizens’ Acceptance of COVID-19 Vaccines—A Machine Learning Approach" Mathematics 10, no. 3: 467. https://doi.org/10.3390/math10030467

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop