Next Article in Journal
A Cutting Pattern Recognition Method for Shearers Based on ICEEMDAN and Improved Grey Wolf Optimizer Algorithm-Optimized SVM
Previous Article in Journal
Green Shipping—Multifunctional Marine Scrubbers for Emission Control: Silencing Effect
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Evolutionary-Based Sentiment Analysis Approach for Enhancing Government Decisions during COVID-19 Pandemic: The Case of Jordan

1
King Abdullah II School for Information Technology, The University of Jordan, Amman 11942, Jordan
2
Department of Management Information System, Dhahran 34754, Saudi Arabia
3
School of Computing and Informatics, Al Hussein Technical University, Amman 11831, Jordan
4
Information Systems and Networks Department, Faculty of Information Technology, The World Islamic Sciences and Education University, Amman 11947, Jordan
5
School of Science, Technology and Engineering, University of Granada, 18010 Granada, Spain
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(19), 9080; https://doi.org/10.3390/app11199080
Submission received: 14 September 2021 / Revised: 17 September 2021 / Accepted: 23 September 2021 / Published: 29 September 2021

Abstract

:
The world has witnessed recently a global outbreak of coronavirus disease (COVID-19). This pandemic has affected many countries and has resulted in worldwide health concerns, thus governments are attempting to reduce its spread and impact on different aspects of life such as health, economics, education, and politics by making emergent decisions and policies (e.g., lockdown and social distancing). These new regulations influenced people’s daily life and cast significant burdens, concerns, and disparities on various population groups. Taking the wrong actions and enforcing bad decisions by some countries result in increasing the contagion rate and more catastrophic results. People start to post their opinions and feelings about their government’s decisions on different social media networks, and the data received through these platforms present a very useful source of information that affects how governments perceive and cope with the current the pandemic. Jordan was one of the top affected countries. In this paper, we proposed a decision support system based on the sentiment analysis mechanism by combining support vector machines with a whale optimization algorithm for automatically tuning the hyperparameters and performing feature weighting. The work is based on a hybrid evolutionary approach that aims to perform sentiment analysis combined with a decision support system to study people’s posts on Facebook to investigate their attitudes and feelings toward the government’s decisions during the pandemic. The government regulations were divided into two periods: the first and latter regulations. Studying public sentiments during these periods allows decision-makers in the government to sense people’s feelings, alert them in case of possible threats, and help in making proactive actions if needed to better handle the current pandemic situation. Five different versions were generated for each of the two collected datasets. The results demonstrate the superiority of the proposed Whale Optimization Algorithm & Support Vector Machines (WOA-SVM) against other metaheuristic algorithms and standard classification models as WOA-SVM has achieved 78.78% in terms of accuracy and 84.64% in term of f-measure, while other standard classification models such as NB, k-NN, J84, and SVM achieved an accuracy of 69.25%, 69.78%, 70.17%, and 69.29%, respectively, with 64.15%, 62.90%, 60.51%, and 59.09% F-measure. Moreover, when comparing our proposed WOA-SVM approach with other metaheuristic algorithms, which are GA-SVM, PSO-SVM, and MVO-SVM, WOA-SVM proved to outperform the other approaches with results of 78.78% in terms of accuracy and 84.64% in terms of F-measure. Further, we investigate and analyze the most relevant features and their effect to improve the decision support system of government decisions.

1. Introduction

The COVID-19 virus first appeared in Wuhan, China in December 2019. It started to spread to the nearest countries, and three months later it was announced internationally as a pandemic disease that is widely spreading across the world. As per the World Health Organization (WHO) [1], globally there have been more than 178 million confirmed cases of COVID-19, including nearly 4 million deaths. In response to the virus’ spread, WHO recommended countries to take safety measures as trials to reduce the disease consequences which range from an increased number of patients to an increased number of deaths [1].
Most countries took preventive measures to fight the virus including social distancing; quarantine; contact tracing; wearing a face mask; the closing of high population density places such as schools, universities, offices; etc. Italy was the most affected country at the beginning of virus spread; it registered the highest number of infections and the virus was spreading exponentially by that time. As a result, a full national lockdown to reduce human contact and movement in a trial to control the virus spreading process [2] was enforced. While in the USA, the number of patients started to increase dramatically, but more importantly, the increasing rate of deaths was a major concern to deal with, and India has repeated the same scenario. Other countries like Brazil, Russia, Peru, Colombia, Mexico, Africa, Spain, and Argentina also suffered from a rapid increase in infections and deaths rate which resulted in taking severe preventive measures which stopped almost all daily life events [3].
In Jordan, the number of confirmed cases started to increase and WHO classified the country as virus “cluster of cases” transmission. As a result, a set of regulations were announced that include nationwide lockdown and enacting the Defense Law by the Government. This means that first, people were forced to stay at home to prevent all forms of the local or international movement. Second, the Minister of Defense has full authority to formulate orders in response to the current situation. Country isolation was achieved through national curfew placement, prevent movement between administrative governates, and putting all arrivals from pandemic countries into quarantine periods of 14 days to ensure they are not infected [4,5].
During this period, people were locked in their homes with closed workplaces, bakeries, supermarkets, educational institutions, airports, and everything else. The government continued to issue series of regulations about every single aspect of national life. This was to control the overall situation starting from conducting tests, transferring infected people to hospitals for strict medication, and ensuring that people in homes are getting basic requirements. Afterward, the government started reopening several life aspects gradually along with having precautions on avoiding high population density places and keep on facial masks with distancing to try keeping the number of infected people as lower as possible. Consequently, people were allowed to walk to neighborhood supermarkets, bakeries, pharmacies to get their required items from 10 a.m. until 6 p.m. during weekdays only with having weekends as full lockdown [4,5].
Through the COVID-19 crisis [6], both governments and citizens used different media channels. For example, governments tend to alert their citizens about the virus, the severity of the situation, and its exponential spread. Social media (e.g., Facebook, Twitter, and Instagram) was exploited heavily in this regard and a wide campaign started to educate citizens about the seriousness of the virus and the importance of staying at homes in which government, public figures, educators, and religious leaders participated [7,8]. On the other hand, people have no other way of expressing their feelings and responses about government administration except social media, especially Facebook as the most used social network site with 2.85 billion users around the world from which 6 million users are from Jordan [9].
A massive number of posts were published by citizens by the time governmental announcements were reported every day on televisions and the government’s Facebook pages in Jordan [5]. During this exceptional pandemic, the power of social media appeared and was noticed as available platforms for all locals, regardless of their cultural background, jobs, knowledge, or expertise to post anything about COVID-19. In fact, Word of Mouth (WOM) played a vital role in orienting the trend on Facebook about major announcements the government made since the beginning of COVID-19 until now [10,11].
The opinion posts Facebook had on a daily basis created a huge amount of data which can be exploited for sentiment analysis to measure locals’ satisfaction on governmental administration of the whole situation that is continued until now in Jordan. Studying people’s opinions, behaviors, or feelings expressed in response to an event or organization is referred to as Sentiment Analysis. Facebook posts create a rich reservoir of information in various forms, e.g., images, text, and videos, and this makes it a vital source of information required for research purposes. Both textual and unstructured datasets formed from Facebook were used to derive insights of people’s opinions, behavior, and feelings [12].
Sentiment Analysis (SA) is conducted based on three methods: First, lexicon-based in which keywords are classified into positive and negative values of polarity scores. Second, machine learning-based as per the work in [13]. Third, graph-based which uses statistical approaches to get keywords ranking [14].
Generally, many sentiment analysis studies used Machine Learning (ML) techniques through literature and especially during the COVID-19 period for various aspects such as medical, economics, and education along with public news [15].
Ji et al. [16] defined ML techniques as methods applying different algorithms on data to extract certain patterns that support decision making and predictions in response to real-world events. While Deep Learning (DL) is an extension of ML that helps in-depth realization and expands its application scope [13]. The authors of [13] found that the integration of ML techniques has promising results compared to lexicon- and graph-based SA.
Raamkumar et al. [17] conducted SA using Facebook posts to understand public health authorities’ communication during the pandemic of COVID-19 and their responses on it. Another study in [18] conducted SA by applying Deep Learning (DL) techniques to Facebook and Twitter posts in the UK and USA in terms of responses to COVID-19 vaccines. Moreover, the work in [12] used ML techniques to analyze data extracted from Facebook and Twitter about fear expressed by locals during the COVID-19 quarantine.
Decision Support Systems (DSS) are software to support decisions made by governments as a response to pandemic disease spread along with intelligent models used and applied to solve various problems in literature such as medical economical, educational, and much more. These can be deployed first to test the level of satisfaction to government performance and provide a support tool for decision-makers in government [10,11].
Guo et al. [19] proposed an approach that supports decision-making required for future prices in The Financial Times Stock Exchange 100 Index (FTSE 100). This approach was based on SA which adopted Twitter sentiment score (TSS) along with baseline correlation to dissociate previous TSS data from the prediction model. Experiments proved that the proposed TSS registered a decent prediction accuracy, decreased computation time, and provided fast decisions without the need to know any historical data.
Furthermore, Prastyo et al. [20] stated that conducted sentiment analysis on posts of Indonesian locals about governmental performance during the COVID-19 pandemic can be used as a DSS for the Indonesian government to improve its performance in handling COVID-19.
Evolutionary Algorithms (EAs) are defined as techniques applied in solutions to complex problems [21,22]. EA has the ability to obtain the most suitable solutions with less computational effort than other methods [23]. Furthermore, it can be easily encoded the candidate solutions and applied to different problems, namely, mono-objective and multi-objective [24]. Therefore, they have been applied to various domains of optimization problems due to their independence from problem type [25,26]. Different EAs were applied to SA, such as Decision Trees (DT), k-Nearest Neighbor (KNN), Naive Bayes (NB), and Support Vector Machines (SVM) as per the method in [13]. One of the well-known EAs that was used recently in the literature is the Whale Optimization Algorithm (WOA). The algorithm employed in different works and proves its superiority, especially in SA. Few works have been introduced, for example, the authors of [27] proposed an SA approach using WOA for feature selection mechanism, while the work in [28] provided a sentiment classification method in the social media environment by utilizing WOA.
Therefore, in this work, we presented an evolutionary approach for improving government decisions through using a decision support system and sentiment analysis and, further, combined them with a metaheuristic algorithm and SVM. The approach utilized the combination of WOA and SVM for the sake of hyperparameter tuning and features weighting. Therefore, studying people attitudes, feelings, and concerns toward the government new decisions and regulations can enhance governments’ decisions in many different ways, it may help decision-makers to make any necessary adjustments needed to mitigate the number of cases and reduce its impact on different aspects of life to guarantee people support and commitment. In addition, if the Government senses from the population feedback any negative attitudes toward its regulations, it can take proactive action to avoid further deterioration in the economy; employment; or any risks of violations, crimes, violence, or even the well-being of individuals and societies.
Moreover, our proposed approach can enhance the decision-makers’ countermeasures and provide them with an easily adaptable methodology with a set of general guidelines that could facilitate complex decision-making processes based on people sentiment and via investigating and ranking the most important set of key features for COVID-19 posts. This clear and structured framework can be adapted to different scenarios and contexts in the future to deal with similar conditions (COVID-19) quickly and efficiently. The following points illustrated the main contributions of this study:
  • Combined the decision support system and sentiment analysis mechanism to enhance government decisions during the COVID-19 pandemic and other similar situations.
  • The WOA-SVM hybrid framework was proposed for hyperparameter optimization and features weighting.
  • Investigate the behavior changes of people’s opinions in two different periods, first and latter regulations.
  • Study and analyze these behaviors to provide better countermeasures, alert decision-makers in case of possible threats, and perform proactive actions to handle the current pandemic situation.
  • Five different versions were generated from each dataset, consisting of various feature extraction and stemming techniques.
  • Identify the most relevant features to improve the decision support system and sentiment prediction.
The remainder of the paper is divided as follows. In Section 2, a literature review on the decision support system during the COVID-19 is presented. Background of used methods and concepts introduced in Section 3. The proposed approach is described in Section 4. Section 5 discusses the experiments and the results achieved by the proposed approach and other models. Finally, the conclusion and future directions are provided in Section 6.

2. Related Work

DSS is a tool used to solve decision-making problems that Decision-Makers (DMs) face through collecting, analyzing, or organizing required information. They are used by both single or group of DMs when complex or unstructured scenarios are faced to ensure robust results [29]. While the authors of [30] stated that Information Systems (IS) are a basic component of DSS which improves the decision-making process and requires a high level of human–computer interaction to support the behavioral part of the decision-making process.
The study in [31] tested the impact of using DSS on the Top Management (TM) level in developing countries’ governmental institutions by applying Delphi methodology considering Saudi Arabia as a study case of developing nations. Results showed that DSSs improved the quality of decisions taken at the TM level with decreased cognitive bias.
Furthermore, the work in [32] proposed a DSS which combined Analytical Hierarchy Process (AHP) and Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for evaluating government performance in Magelang Regency (Central Java, Indonesia). The study begins with criteria weights specified by AHP then performance ranking set by TOPSIS. Both models were chosen due to their efficiency and simple mathematical calculations. The system had a unique feature of dynamic selection for assessment criteria in which users can add or remove any condition from the available menu as per ongoing situation, regulation or condition. Results showed that 86.67% of users’ ranking and opinions about the proposed system usage in village governmental organization.
A massive number of scenarios were being solved through literature using intelligent systems. Yet, the complexity of these scenarios is increasing, and the need for better-performing DSS has increased as a response. It is the point where researchers combined intelligent models with DSS, in which Artificial Intelligence (AI) techniques were used to support the decision-making process. They were also referred to knowledge-based DSS and are classified into two categories as stated in [33]: rule-based expert DSS and ML-based DSS.
An example of combining an intelligent system with DSS is the study conducted in [34] to support decisions made by governments on budgeting national Research and Development (R&D) programs. ML algorithms such as distributed random forest, generalized linear model, gradient boosting machine, deep learning, and stacked ensemble were used to estimate the R&D output per project. Then, a mathematical model was used to set the suitable budget for estimated outcomes from each R&D project.
Moreover, the authors of [35] conducted a study on multi-criterion DSS for supporting the Indian Government’s decisions during the pandemic conditions of COVID-19. An assumption-based approach was added into the DSS for multi-criterion decision support system (MCDSS) along with accurately specified risk factors of determining input parameters. Results were analyzed in terms of Precision, Recall, F-Score, and Other advanced metrics such as MCC (Matthews Correlation Coefficient), ROC (Receiver Operating Characteristics), and PRC (Precision Recall).
The authors of [29] conducted a study in which they used fuzzy theory-based DSS to investigate re-opening strategies for post COVID-19 period. The system is examined using principles for multi-criteria decisions to decide the importance of 16 key indicators. The whole study focused on the critical pandemic conditions along with economic consequences and the vital role of decision-taking tools to be exploited in this regard giving the proposed system as an example.
E-participation of citizens has a vital role in affecting policies and regulations taken by most governments around the world during the crisis of COVID-19 as stated in [3]. The study also observed that most studies during the pandemic condition have applied ML and DL for detecting, predicting, and identifying COVID-19. It was recommended that advanced ML ensemble methods such as bagging, boosting, and stacking need to be incorporated into future studies.
As stated previously, SA can be beneficial for the time being due to COVID-19 conditions along with IDSS to support decisions taken [36]. Proposed analytics policy using citizens’ e-participation through social media to support the decision-making process. Four cities in Belgium (Li’ege, Mons, Marche-en-Famenne, and Leuven) were subject to study by identifying decision-makers’ requirements and the required information was extracted from social media for the study. Then, data analysis techniques were applied to the extracted data. This is followed by an actionable plan to facilitate the TM decision-making [2]. The authors of [2] conducted SA using NLP and ML on data extracted from Twitter to measure Indians citizens’ satisfaction with governmental policies during the nation lockdown forced to control the spread of COVID-19. The results found that the majority of Indians supported the government’s decision during this period.
Furthermore, a DL-based SA was conducted in [37] on Arabic extracted data from Twitter to track citizens’ emotions expressed during the COVID-19 spread period and the effect of these tweets on daily health behavior; 5.5 million tweets in the period from January to August 2020 were extracted, then a long short-term memory (LSTM) classifier was applied to classify emotions into six categories and two types (symptom and non-symptom tweets). Results showed that the top emotions categories were anger and fear. The study was found to be helpful for the government’s TM to take decisions for educating people about the disease to reduce their fear and anxiety.
Moreover, the authors of [38] conducted a SA on extracted data from Twitter about COVID-19 using DL techniques and fuzzy logic to examine the importance of data shared on social during this critical pandemic conditions and how it affects other users when includes unnecessary information about the disease. The study urged governments’ on the importance of using data available on social media to prevent sharing unnecessary cases which may increase citizens’ panic regarding the disease. Furthermore, it was recommended that laws should be designed to restrict useless, false, and exaggerated news through social media to control the current situation.
Therefore, this work differs from the previous studies in combing the DSS with sentiment analysis to improve government decisions during the Covid-19 situation. The utilization of WOA-SVM offers more insights and obtained better performance than the state-of-art techniques. Moreover, several datasets were generated to study different scenarios that comprise various feature extraction and stemming methods. Additionally, investigates people’s behavior to provide more efficient countermeasures and decisions. Finally, examine the most relevant features to obtain valuable, useful, and precise information faster.

3. Preliminaries

This section describes the algorithms needed to implement the proposed approach. It demonstrates the SVM and WOA algorithms and the feature extraction approaches including N-gram, BOW, and TF-IDF mechanisms.

3.1. Support Vector Machine

The support vector machine algorithm was proposed by Corinna Cortes and Vladimir Vapnik in 1995 [39]. It is a well-known supervised learning approach that is based on statistical theory and the structural risk minimization principle [40].
The idea of the SVM is simple, it finds a hyperplane in the space that maximizes the interval between two labels [41,42] by enlarging the distance between the hyperplane and the closest instances for each label [43]. The hyperplane for a set of samples X = { x 1 , x 2 , , x N } can be formalized by Equation (1) [44]:
w T X b = 0
where w is the normal vector of the separation hyperplane and b is the bias that helps in separating the hyperplane with the maximum margin.
For the three-class problem of predicting positive, negative, and neutral sentiments, Figure 1 illustrates three different hyperplanes for each label. The blue hyperplane separates the positive sentiments from the negative and neutral sentiments. Likewise, the green and red hyperplanes separate the neutral and negative sentiments, respectively, from the other sentiments.

3.2. Whale Optimization Algorithm

The whale optimization algorithm mimics the social behavior of the bubble-net hunting mechanism for humpback whales [45]. It starts by randomly generating possible solutions. It then iterates for a predefined number of iterations to update the position of the search agents. It consists of three main operators as follows [46,47].
  • Encircling prey: The humpback whales in this stage try to encircle the prey by finding its position. The position vector of the next iteration X ( t + 1 ) can be determined by subtracting the element-by-element multiplication of the coefficient vector A with the vector D from the position vector of the best solution of the current iteration X * ( t ) , which is represented by Equation (2):
    X ( t + 1 ) = X * ( t ) A . D
    The vector D and the coefficient vectors A and C are calculated by the Equations (3)–(5), respectively:
    D = | C . X * ( t ) X ( t ) |
    A = 2 a . r a
    C = 2 . r
    where C is another coefficient vector, X ( t ) is the position vector of the current iteration, the vector a is linearly decreased from 2 to 0 along with the advancement of the iterations, and the vector r is a random vector in the range between 0 and 1.
  • Bubble-net attacking behavior: This is the exploitation phase where the shrinking encircling mechanism and the spiral updating position approaches are two possible approaches chosen based on a value between 0 and 1 for the random number p.
    The shrinking encircling mechanism is achieved when the random value of p is less than 0.5 by decreasing the value of the vector a from 2 to 0, and thus decreasing the value of the vector A so that the value of the vector A is greater than 0 and less than 1. In contrast, updating the position is achieved by a spiral equation when the random value of p is greater than or equals 0.5. Both approaches can be expressed by the following Equation (6):
    X ( t + 1 ) = X * ( t ) A . D p < 0.5 D e b t c o s ( 2 π t ) + X * ( t ) p 0.5
    where D = | X * ( t ) X ( t ) | is the distance between the whale and the prey, b is a constant, and t is a random number between −1 and 1.
  • Search for prey: This is the exploration phase where a random solution is considered instead of the best solution when updating the position vector of the next iteration X ( t + 1 ) . It is achieved when the value of the vector A is greater than or equals 1 or less than or equals −1. That is, it can be determined by subtracting the element-by-element multiplication of the coefficient vector A with the vector D from the position vector of a random solution X r a n d , which is represented by the following Equation (7):
    X ( t + 1 ) = X r a n d A . D
    The vector D is calculated by the following equation:
    D = | C . X r a n d X |
In summary, the search engines at each iteration change their positions randomly (exploration) when the random number p is less than 0.5 and the vector A is greater than or equals 1 or less than or equals −1 (Equation (7)). In contrast, they change their positions by the best solution (exploitation) using the encircling mechanism when the random number p is less than 0.5 but the vector A is less than 1 and greater than 0 (Equation (6) when p < 0.5 ). They also change their positions by the best solution (exploitation) using the spiral formula when the random number p is greater than or equals 0.5 (Equation (6) when p 0.5 ).

3.3. Feature Extraction

In this section, the feature extraction process is discussed. The feature extraction of a document is performed using the BoW approach as an N-gram sequence of tokens to generate an IDF-TF feature vector for a document. These approaches are discussed in detail in the following sections.

3.3.1. N-Gram

The N-gram is a sequence of n tokens [48,49]. For example, a 1-g, which is referred to as unigram, is a one-word sequence such as ‘John’, ‘likes’, ‘to’, or ‘travel’. In contrast, the 2-g, which is referred to as bigram, is a two-word sequence such as ‘John likes’, ‘likes to’, or ‘to travel’. Likewise, trigram and 4-g can include the tokens ‘John likes to’ and ‘John likes to travel’, respectively. The importance of using an N-gram sequence, when considering more than one-word sequence, is that it detects the context around each word. For example ‘likes to travel’ is more informative than ‘travel’.

3.3.2. Bag-of-Words

In this approach, a vocabulary of terms is determined, the document is tokenized into individual terms, and the occurrence is recorded for each term forming the BoW feature vector [50]. The BoW feature vector is represented as v = [ x 1 , x 2 , x n ] , where x i indicates the occurrence for the ith term [51,52]. The occurrence of the term can be binary, term frequency, or TF-IDF [51].
For example, having a vocabulary of the terms including ‘likes’, ‘hates’, ‘John’, ‘Mary’, ‘Paris’, ‘USA’, ‘to’, ‘and’, ‘but’, ‘travel’, and ‘play’ terms, the sentences “John likes to travel to Paris but Mary likes to travel to USA” can be tokenized into 8 terms which are ‘John’, ‘likes’, ‘to’, ‘travel’, ‘Paris’, ‘but’, ‘Mary’, and ‘USA’. The occurrence for these tokens can be recorded as the term frequency feature vector v = [ 2 , 0 , 1 , 1 , 1 , 1 , 4 , 0 , 1 , 2 , 0 ] as ‘likes’ appeared 2 times, ‘hates’ appeared 0 times, ‘John’ appeared 1 time, and so on. It might also be recorded as v = [ 1 , 0 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 0 ] or v = [ 0.23 , 0 , 0.45 , 0.45 , 0.3 , 0.35 , 0.12 , 0 , 0.05 , 0.4 , 0 ] for binary and TF-IDF feature vectors, respectively. More discussion about extracting the TF-IDF feature vector can be found in the following section.

3.3.3. Term Frequency-Inverse Document Frequency

The TF-IDF approach considers the term frequency of the word in a document (TF) in addition to the rareness of the word across all documents (IDF) [53]. This gives a more informative representation of the word within its context by excluding dominant words such as ‘the’, which have high term frequency, but they are not informative and do not reflect the context of the domain. That is, a word with high frequency in a specific document and a rare appearance in all documents is considered of high TF-IDF value than other words that are not frequently seen in the document or not rare across all the documents and not reflecting the domain-specific information. The formula of the TF-IDF of word t i in a document d j can be defined as follows [54]:
T F - I D F i , j = T F i , j × I D F i , j
The T F i , j part is calculated by finding the number of occurrences of word t i in a document d j ( n i , j ) and then dividing it by the total number of occurrences of all the words in document d j ( k n k , j ). This can be expressed by the following equation [54]:
T F i , j = n i , j k n k , j
In contrast, the I D F i , j part is calculated as the log of the division of the number of documents ( | D | ) by the number of documents where the word t i appears ( | d j D : t j d j | ). This can be expressed by the following equation [54]:
I D F i , j = l o g | D | | d j D : t j d j |

4. Methodology

The methodology of this paper is described and presented in this section. Three phases have been provided in detail: data description, collection, and preparation; the proposed approach; and the model evaluation.

4.1. Data Description, Collection, and Preparation

The data used in this work portray the users’ opinion of the government regulations during the COVID-19 situation. These regulations started as a countermeasure to face the spread of this disease. The responsibility of designing these regulations—after making several studies—was the crisis committee. In other words, the committee has been placed, with the main objective, to offer strategic plans to control and reduce the number of cases. Moreover, and most importantly, the Government puts huge effort into disseminating advice, information, and risks to raise awareness of the virus. Thus, they gathered their efforts and people’s awareness against this grievous and tragic circumstance.
In this study, we divided the regulations into two categories: first and latter regulations. This categorization was employed to analyze the opinions from two-time intervals, the beginning and the latest periods of the pandemic. Therefore, we investigate the changes in people’s opinions during the whole situation. Doing this is more beneficial than considering one period without examining the modification of the opinions. Furthermore, studying two periods will offer us various insights on important conditions such as before and after increase the number of cases, mandatory lockdown, mitigating measures, and creation of vaccines.
The two datasets were collected from the Facebook online social network through crawling well-known local news pages. This platform was selected due to its popularity in Jordan, minimal restrictions on users’ posts, and simple interface and usage. The extraction of comments took place using R language scripts and the ‘Rfacebook’ package. Further, the handshake process with the platform was also applied to obtain permission for comments extraction. The first data contained 3050 instances, while the second data contained 2200 instances.
Furthermore, the preparation phase of the two data was done by applying several steps, including cleaning, labeling, remove stop words, normalization, and stemming [55,56].
The cleaning step in this work consist of removing symbols, special characters, and users’ account name [57,58]. Thus, the content of the comment will be ready for labeling from two to three experts. A description of the labeling procedure has been explained to them, which is reading the rule first then labeled the comments based on the sentiment of that rule only. This is done to concentrate on the emotion of users at that time and for that exact rule. Therefore, we can observe and study the comments changes as time pass. The labeling categorizes into three classes, positive, neutral, and negative.
Further, after the labeling is completed, the formatting of the data will begin. First, by removing the stop words of the text, words like قال انت ، كان ، أصبح (translated to said, you, was, and become, respectively) must be deleted as it does not affect the true meaning of the text. Afterward, a normalization process was also carried out to eliminate undesirable emoticons and non-Arabic letters. Both removing stop words and normalizing the text processes were conducted to reduce the number of useless extracted terms (features) from the data. Thus, will enhance the selection of extracted features.
Two well-known Arabic stemming procedures are employed on the text to erase any duplication words and extra letters and standardize most of the used words, namely Arabic Light and Khoja stemming. For example, letters like ال ، كال ، ب will be eliminated from words that further improve the tokenization process. Furthermore, the feature extraction methods applied in this study are TF-IDF, N-Gram, and BOW. Each of which has a different mechanism to tokenize the text. Five versions of each data have been generated with different combinations of tokenization and stemming methods. The details of each version for the two datasets can be found in Table 1 and Table 2.

4.2. Proposed Approach

In this subsection, we explain, in detail, the hybrid approach followed to employ the WOA for optimizing SVM hyperparameters and weighting the input features. Nevertheless, before applying the WOA algorithm some procedures needed to be taken into account first. These procedures range from solution representation and fitness evaluation selection to system architecture. In the following, we describe each of the aforementioned procedures extensively.

4.2.1. Solution Representation

The representation of the solution consists of two parts, identifying the optimal C and γ and also determining the weighting of the features. The first part contains two elements to represent (C & γ ) and their values range from [0, 1]. Therefore, they need to be scaled into appropriate scales for the SVM. The new search space values of C range from [0, 32], while the interval range of γ falls within [0, 35,000]. This conversion of values is applied according to the min-max normalization equation as demonstrated in (12).
B = A m i n A m a x A m i n A ( m a x B m i n B ) + m i n B
where B is the result of the equation and A denotes the value needed to be scaled. The upper and lower of the old values are represented by m a x A and m i n A , while m a x B and m i n B are the new interval of upper and lower bounds.
As for the second part of the solution representation, it is corresponding to features (F) of the dataset that were scaled to be utilized for the weighing mechanism. In this mechanism, each feature in the dataset indicates the 2nd part of the solution elements generated by the WOA algorithm. Further, each element is multiplied by the value of the given feature for all instances as shown in Figure 2. In other words, suppose that we have a simple dataset consisting of five instances, where the values of the first feature for the five instances are going to be multiplied by the first element of the generated solution. Therefore, the solution structure in this work comprises two elements plus the number of elements for all features of a given dataset ( 2 + F ).

4.2.2. Fitness Function

In this phase, the assessment of each solution provided by the WOA algorithm is measured using the fitness function. Therefore, identifying the quality of every individual can be accomplished through the fitness function performed by the SVM classifier. In our case, the selected fitness function is the classification accuracy that is calculated by Equation (13). Further, the WOA tries to maximize the value of the accuracy during the whole process, thus achieving the best possible outcome.
f i t n e s s ( I i t ) = 1 K k = 1 K 1 N j = 1 N δ ( c ( x j ) , y j )
where c ( x j ) denotes the accuracy of the jth instance, while y j indicates the label (actual class) of the jth instance. Further, δ is the relation between y j and c ( x j ) , where if c ( x j ) = y j , then δ = 1 , else δ = 0 . The number of folds denoted by K and N is the number of instances in the testing subset.

4.2.3. System Architecture

The architecture of our proposed approach consists of various steps to fulfill a complete execution. Starting by dividing the dataset into training and testing subsets, the utilized splitting mechanism is the k-fold criteria. In every k experiment, the training set is split into k ( 1 / k ) parts while the testing set (remaining) partitions to 1 / k part. The process is repeated k times with a unique set for each training and testing partition. This is done to ensure the maximum diversity for training and testing sets to obtain the best possible model.
Moreover, and depending on the training set, the WOA randomly initializes the first solution. The solution consists of, as mentioned earlier, SVM hyperparameter elements (C and γ ) and the weighted features of the dataset elements. Then, the SVM is trained based on this given solution (C, γ , and new features value), and during the training inner cross-validation is applied to avoid any overfitting problem. Afterward, the selected C and γ values alongside the weighted features transmitted to WOA as fitness values (accuracy). All the previous processes are repeated in every fold until the maximum number of iterations in the WOA algorithm is reached. The best solution provided by the WOA is used for the testing of that fold, then the average of all folds was taken. Figure 3 illustrates all the previous processes.

5. Experiment and Results

This section shows the experimental setups and the evaluation measures considered while conducting the experiments. This section also discusses the results achieved by conducting the experiments for the proposed WOA-SVM approach. It includes a comparative analysis of the accuracy and F-measure values between the proposed approach and other standard classification algorithms, which are NB, K-NN, J84, and SVM, in addition to other metaheuristic algorithms, which are the GA, PSO, and MVO. Moreover, this section presents the feature importance analysis of the proposed approach.

5.1. Experimental Setup

The experiments were run on a personal computer with an AMD Ryzen 5600X 3.7 GHz, 16 GB RAM, and Windows 10 specifications. The extraction of the comments from the Facebook website was done using the Rfacebook package. The implementation of the proposed model and other metaheuristic algorithms are developed on Matlab R2016 version.
The values of the parameters for the metaheuristic algorithms can be observed in Table 3.

5.2. Evaluation Measures

This section presents the evaluation measures applied to the experiments, which include the accuracy and F-measure.
The accuracy measure is calculated by finding the number of correct predictions for all the classes and dividing it by the number of instances [59,60], as observed from the following equation:
A c c u r a c y = T P p o s i t i v e + T P n e g a t i v e + T P n e u t r a l # i n s t a n c e s
where T P p o s i t i v e , T P n e g a t i v e , and T P n e u t r a l represent the number of instances that are predicted correctly as positive sentiment, negative sentiment, or neutral sentiment, respectively. instances is the number of instances in a dataset.
On the other hand, the F-measure is the harmonic mean of precision and recall [61], which is calculated by the following equation:
F - m e a s u r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
where the Precision is the percentage of correct predictions for a class relative to all the predictions of the same class [61], and the Recall is the percentage of correct predictions for a class relative to all instances that actually belong to the class [62].

5.3. Standard Classification Models Comparison

This section discusses the results achieved by conducting the experiments of the proposed WOA-SVM approach in terms of accuracy and F-measure. It also compares the proposed approach with the other standard classification algorithms which are NB, K-NN, J84, and SVM.
The accuracy values for the First-rule dataset for the proposed approach and the other standard algorithms can be observed in Table 4. The proposed approach has higher accuracy values than any other algorithms for all the first-rules datasets. K-NN algorithm has better accuracy values for the Data 1 and Data 2 datasets than the other basic classification algorithms, but it could not compete with the values achieved by the proposed approach, as the proposed approach is approximately 1.5% and 4.5% higher than K-NN for Data 1 and Data 2, respectively. Likewise, the NB algorithm could not compete with the values achieved by the proposed approach for Data 3, Data 4, and Data 5 datasets, although it has higher values than the other algorithms. The proposed approach is approximately 5%, 6%, and 4.5% higher than NB for Data 3, Data 4, and Data 5, respectively. In contrast, J84 has the worst accuracy values for all the first-rules datasets. The same observations can be concluded from Table 5 for the latter-rules datasets where the proposed approach has the highest accuracy values compared to the other algorithms. For these datasets, J84 has closer accuracy values to the other algorithms than the ones achieved by the first-rules datasets, but still no algorithm could achieve better values than the proposed approach.
The F-measure values for the first-rules and Latter-rules datasets can be observed by Table 6 and Table 7, respectively. It is observed from both tables that the proposed approach has an outstanding performance compared to the other algorithms having a recognizable higher F-measure value than the others. It has a 27–50% increase in the value of the F-measure compared to the other algorithms for the first-rules datasets. In contrast, it has a 20–31% increase in the value of the F-measure compared to the other algorithms for the latter-rules datasets. It is also observed that the SVM has the worst values compared to the others for the first-rules datasets, and NB has better values than the other standard classification algorithms for both first-rules and latter-rules datasets.
A summary and visualized representation of the results can be observed by the radar chart of Figure 4 for both the accuracy and F-measure values for both first-rules and latter-rules datasets. It is clearly observed from the figures that the values of the accuracy and F-measure for the proposed WOA-SVM approach, which is represented by the red polygon, are much higher than the other values for the standard algorithms, having a red polygon surrounding all the other polygons. It is also observed that the proposed approach has even advanced values compared to the other algorithms for the F-measure. In addition, the values of the F-measure for the standard algorithms are clearly very low for the first-rules datasets, as the corresponding polygons are closer to the center of the radar compared to the other figures, which is represented by Figure 4c.

5.4. Metaheuristic Algorithms Comparison

A comparison between the accuracy and F-measure values for the proposed WOA-SVM and the other meta-heuristic algorithms is discussed in this section.
Table 8 and Table 9 show the accuracy values for the first-rules and latter-rules datasets, respectively. It is observed from Table 4 that the proposed approach outperforms the other approaches for Data 2, Data 4, and Data 5. However, the PSO-SVM outperforms the proposed approach for Data 1 and Data 3, but the proposed approach still outperforms the GA-SVM and MVO-SVM for these datasets. As for the latter-rules datasets, the proposed WOA-SVM approach outperforms the other algorithms for all the datasets except the Data 9 dataset.
Looking at the other tables considering the F-measure, which are Table 10 and Table 11, similar observations can be observed. WOA-SVM outperforms the other algorithms for Data 2 and Data 4 but PSO-SVM has higher F-measure values for Data 1, Data 3, and Data 5. On the other hand, and for the latter-rules datasets in Table 11, the proposed approach outperforms the other algorithms for all the datasets except the Data 9 dataset, which is also observed from the accuracy values in Table 9.

5.5. Feature Importance Analysis

In this subsection, a comprehensive discussion and analysis of the most important features for sentiment prediction are presented. Two datasets were selected from the ten versions (Data 4 and 10) to analyze their features. The selection was performed based on their results performance of the proposed approach, where the highest accuracy was obtained by Data 4 in the first rules and Data 10 in the latter rules with 73.6370% and 78.7798%, respectively.
Figure 5 illustrates the features order, names, and their translation for the two datasets, while Figure 6 and Figure 7 show the weights of each feature. It is worth mentioning that Data 4 represents the first rules period, whereas Data 10 depicts the latter rules period.
The best feature for Data 4 was the ‘Corona’ term, which means that it is the best feature to differentiate between the sentiment classes. Therefore, whenever the word ‘Corona’ is used in the comments it is usually utilized to describe a negative context. The second feature was accomplished by the ‘Fever’ feature. This feature explains one of the most crucial symptoms of the COVID-19 disease. In other words, the majority of people are considering ‘Fever’ as an important word when they reply to government regulations. Furthermore, the ‘Indifference’ feature placed third, this indicates how people are afraid of others’ reckless/careless behavior during the situation, where they indirectly request and alert others and the government of this attitude. On one hand, feature number four (‘Pandemic’) explains the situation generally. On the other hand, in feature five, citizens were asking and hoping for a ‘Lockdown’ as a solution, either for specific locations or the whole country.
As can be seen in this period, people were interested more in the disease itself. There are several features such as ‘Quarantine, Gathering, Sterilization, and Treatment’ proving that. These features show that most opinions are hoping for more consideration from others, thus seeking to increase awareness. Moreover, other features like ‘Shortage’ and ‘Bread’ implied that there is some anxiety and concerns about merchandise scarcity, particularly goods like ‘Bread’. Additionally, a feature like ‘Correct’ demonstrates that the majority of citizens agree with the government regulations and were satisfied with the government’s overall performance at that time.
As for the top-5 features of Data 10, similar to the previous data, feature ‘Corona’ obtained first place as well, while the second feature was acquired by ‘Vaccine’ which describes a new positive context. The feature explains the existence or the necessity of ‘Vaccine’ at this period. Taking the ‘Vaccine’ becomes the best and the foremost solution to permanently get rid of Covid-19. Besides, the third feature (‘Permit/Statement’) can be described in two ways: first by giving permission of others, stores, and places to get out or open, while in the second way, it could mean that it’s an announcement from the decision-makers which is more likely considering the following feature. The ‘Regulations’ feature shows that there is more interest from people of this period about government regulations and how it can influence their lives and other things like the next feature, ‘Salary’.
In this second period, we can notice that people change their interest from the disease to the declaration of the government. Features such as ‘Open’, ‘Conditions’, and ‘Work’ clarify that. People are now feeling monotonous about the circumstances and they are waiting for new regulations to change the situation, while some individuals remain interested in the disease and its effect as shown in features like ‘Infections’, ‘Contact’, ‘Cases’, and ‘Spread’.
Overall, we can observe that people were first interested in the disease and its impact, while in the second period, they lost interest and consecrated more on other factors, including, work, school, making money, and regulations. Furthermore, we can see that there were features that were important in one data and not in the other, such as ‘Fever’ and ‘Lockdown’. Therefore, decision-makers could take into account some of these features and act directly and quickly to make accurate decisions. Analyzing these features that are extracted from public opinions, concerns, feedback, and requests will help and alert the government about the number of violations that occurred in specific locations, thus taking action immediately.
In the same context, this can also give an early alarm for their governments about the citizens’ negative attitudes or any possible aggressive reactions against the governments’ regulations, which may threaten the country’s safety and cause great damage to the current pandemic situation. Especially in the latter period where people became fed up with the lockdown situation and were more concerned about other issues such as ‘Work’, ‘Salary’, ‘Food’, and education, they started asking for reopening of different life aspects and became more dissatisfied about their governments’ regulations.
All aforementioned points can be addressed by our study decision support system, via investigating and ranking the most important set of key features for COVID-19 posts. Thus, these features can be taken into consideration by governments and policy makers, give them indications about when it is necessary to adjust their regulations or make any proactive actions to minimize risks of violations, unemployment, crimes, violence or even people’s depression and panic, besides trying to maximize the benefits. Therefore, our proposed DSS offers the governments’ decision makers an easy adaptable methodology that could facilitate complex decision-making processes and can be adapted to different scenarios and contexts in the future.

5.6. Approach Discussion

The core objective of this study is to propose a sentiment-based DSS for supporting Jordanian Government work. The study was conducted during the period of the Covid-19 pandemic, in which the whole world witnessed dramatic governmental decisions and a massive amount of posts talking about them. Yet, after conducting experiments as previously explained this section discusses limitations, advantages, and disadvantages of the proposed approach, WOA-SVM, in a comparative manner with the rest of the tested methods: GA-SVM, PSO-SVM, and MVO-SVM.
The proposed approach shows an excellent performance due to combined the SVM and WOA together for solving two major issues simultaneously: tuning the SVM parameters to enhance the sentiment prediction performance as well as weighting the features for identifying the most important information. Furthermore, compared with other approaches, such as deep learning and rule-based techniques, both approaches usually take time to perform due to the complexity of their models. Furthermore, the rule-based techniques required a lot of manual work as well as a deep knowledge of the domain, whereas deep learning cannot perform effectively on small datasets. On the other hand, the WOA-SVM can execute efficiently on small data and does not take long to perform. However, the proposed approach sometimes suffers from selecting the correct meta-heuristic algorithms for the problem, considering there is no optimal meta-heuristic algorithm that solves all problems.

6. Conclusions

The COVID-19 pandemic put decision-makers in government under great pressure, as they have to take emergent quick decisions to prevent the virus spread and combat this highly infectious disease. This raises the need for a powerful decision support system taking into consideration public sentiment and attitudes. Monitoring public sentiment is important for policy-makers to take the appropriate decisions. With more than 3.8 billion people using social media these days it becomes the most significant source of human sentiment information. The Facebook platform was selected for this work, as it is the most popular social network in Jordan. The study divided the regulations into two categories, namely, first and latter regulations, and collected people’s reactions to these regulations then five different versions were generated from each of the two collected datasets.
This work proposes a novel framework based on Whale Optimization Algorithm, it follows a hybrid approach by combining SVM and WOA for hyperparameter optimization and feature weighting to analyze people’s sentiment and enhance governments’ decisions. The study compares different traditional classification models and several metaheuristic algorithms against ten unique datasets. The WOA-SVM outperforms the other algorithms in all datasets. Furthermore, the highest results obtained by WOA-SVM were on Data 10 with 78.7798% in terms of accuracy. This result shows that Data 10 with TF-IDF and Light Stemming techniques were the best combination for this study. In addition, identifying the most important features regarding decision support systems and sentiment analysis to automatically extract useful information more quickly and accurately is essential in providing important knowledge to act fast and make better decisions.
For future work, the study can be extended by analyzing each regulation alone and investigate its impact on enhancing the decision-making in a more detailed situation. Besides, different and more complex feature extraction and stemming techniques can be employed, including word embedding. Further, increasing the number of applied metaheuristic algorithms and utilizing different classification models could be a direction for future work.

Author Contributions

Conceptualization, R.O. and A.M.A.-Z.; Methodology, R.O. and A.M.A.-Z.; Validation, R.O. and A.M.A.-Z.; Data curation, R.O. and A.M.A.-Z.; Writing—original draft preparation, R.O., O.H., R.Q., L.A.-Q. and A.M.A.-Z.; Writing—review and editing, R.O., O.H., R.Q., L.A.-Q. and A.M.A.-Z.; Supervision R.O., O.H. and A.M.A.-Z.; Project administration, R.O. and A.M.A.-Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. WHO. WHO Coronavirus (COVID-19) Dashboard. 2021. Available online: https://covid19.who.int (accessed on 1 August 2021).
  2. Gupta, P.; Kumar, S.; Suman, R.; Kumar, V. Sentiment Analysis of Lockdown in India During COVID-19: A Case Study on Twitter. IEEE Trans. Comput. Soc. Syst. 2020, 8, 992–1002. [Google Scholar] [CrossRef]
  3. Nayak, J.; Naik, B.; Dinesh, P.; Vakula, K.; Rao, B.K.; Ding, W.; Pelusi, D. Intelligent system for COVID-19 prognosis: A state-of-the-art survey. Appl. Intell. 2021, 51, 2908–2938. [Google Scholar] [CrossRef]
  4. Alqutob, R.; Al Nsour, M.; Tarawneh, M.R.; Ajlouni, M.; Khader, Y.; Aqel, I.; Kharabsheh, S.; Obeidat, N. COVID-19 crisis in Jordan: Response, scenarios, strategies, and recommendations. JMIR Public Health Surveill. 2020, 6, e19332. [Google Scholar] [CrossRef]
  5. Jordan, P.M. Defense Law. 2021. Available online: http://www.pm.gov.jo/content/1588539907/%D8%A3%D9%88%D8%A7%D9%85%D8%B1-%D8%A7%D9%84%D8%AF%D9%81%D8%A7%D8%B9.html (accessed on 1 August 2021).
  6. Al-Ahmad, B.; Al-Zoubi, A.; Abu Khurma, R.; Aljarah, I. An Evolutionary Fake News Detection Method for COVID-19 Pandemic Information. Symmetry 2021, 13, 1091. [Google Scholar] [CrossRef]
  7. Al-Mahadin, S. Laughing it off: Coronavirus superspreaders, anxiety, and fear in Jordan and Australia. Psychol. Trauma Theory Res. Pract. Policy 2020, 12, S45. [Google Scholar] [CrossRef] [PubMed]
  8. Almomani, E.Y.; Qablan, A.M.; Atrooz, F.Y.; Almomany, A.M.; Hajjo, R.M.; Almomani, H.Y. The Influence of Coronavirus Diseases 2019 (COVID-19) Pandemic and the Quarantine Practices on University Students’ Beliefs About the Online Learning Experience in Jordan. Front. Public Health 2021, 8, 997. [Google Scholar] [CrossRef]
  9. Facebook. Facebook Statistics. 2021. Available online: https://www.statista.com/statistics/264810/number-of-monthly-active-facebook-users-worldwide (accessed on 1 August 2021).
  10. Adamu, H.; Lutfi, S.L.; Malim, N.H.A.H.; Hassan, R.; Di Vaio, A.; Mohamed, A.S.A. Framing Twitter Public Sentiment on Nigerian Government COVID-19 Palliatives Distribution Using Machine Learning. Sustainability 2021, 13, 3497. [Google Scholar] [CrossRef]
  11. Perboli, G.; Arabnezhad, E. A Machine Learning-based DSS for mid and long-term company crisis prediction. Expert Syst. Appl. 2021, 174, 114758. [Google Scholar] [CrossRef]
  12. Samuel, J.; Ali, G.; Rahman, M.; Esawi, E.; Samuel, Y. Covid-19 public sentiment insights and machine learning for tweets classification. Information 2020, 11, 314. [Google Scholar] [CrossRef]
  13. Alamoodi, A.; Zaidan, B.; Zaidan, A.; Albahri, O.; Mohammed, K.; Malik, R.; Almahdi, E.; Chyad, M.; Tareq, Z.; Albahri, A.; et al. Sentiment analysis and its applications in fighting COVID-19 and infectious diseases: A systematic review. Expert Syst. Appl. 2020, 167, 114155. [Google Scholar] [CrossRef]
  14. Bordoloi, M.; Biswas, S.K. Graph based sentiment analysis using keyword rank based polarity assignment. Multimed. Tools Appl. 2020, 79, 36033–36062. [Google Scholar] [CrossRef]
  15. Al-Qudah, D.A.; Ala’M, A.Z.; Castillo-Valdivieso, P.A.; Faris, H. Sentiment Analysis for e-Payment Service Providers Using Evolutionary eXtreme Gradient Boosting. IEEE Access 2020, 8, 189930–189944. [Google Scholar] [CrossRef]
  16. Ji, H.; Alfarraj, O.; Tolba, A. Artificial intelligence-empowered edge of vehicles: Architecture, enabling technologies, and applications. IEEE Access 2020, 8, 61020–61034. [Google Scholar] [CrossRef]
  17. Raamkumar, A.S.; Tan, S.G.; Wee, H.L. Measuring the outreach efforts of public health authorities and the public response on Facebook during the COVID-19 pandemic in early 2020: Cross-country comparison. J. Med. Internet Res. 2020, 22, e19334. [Google Scholar] [CrossRef] [PubMed]
  18. Hussain, A.; Tahir, A.; Hussain, Z.; Sheikh, Z.; Gogate, M.; Dashtipour, K.; Ali, A.; Sheikh, A. Artificial intelligence–enabled analysis of public attitudes on facebook and twitter toward COVID-19 vaccines in the united kingdom and the united states: Observational study. J. Med. Internet Res. 2021, 23, e26627. [Google Scholar] [CrossRef]
  19. Guo, X.; Li, J. A Novel Twitter Sentiment Analysis Model with Baseline Correlation for Financial Market Prediction with Improved Efficiency. In Proceedings of the 2019 Sixth International Conference on Social Networks Analysis, Management and Security (SNAMS), Granada, Spain, 22–25 October 2019; pp. 472–477. [Google Scholar] [CrossRef] [Green Version]
  20. Prastyo, P.H.; Sumi, A.S.; Dian, A.W.; Permanasari, A.E. Tweets responding to the Indonesian Government’s handling of COVID-19: Sentiment analysis using SVM with normalized poly kernel. J. Inf. Syst. Eng. Bus. Intell. 2020, 6, 112–122. [Google Scholar] [CrossRef]
  21. Eshtay, M.; Faris, H.; Heidari, A.A.; Ala’M, A.Z.; Aljarah, I. AutoRWN: Automatic construction and training of random weight networks using competitive swarm of agents. Neural Comput. Appl. 2021, 33, 5507–5524. [Google Scholar] [CrossRef]
  22. Yaghi, R.I.; Faris, H.; Aljarah, I.; Ala’M, A.Z.; Heidari, A.A.; Mirjalili, S. Link prediction using evolutionary neural network models. In Evolutionary Machine Learning Techniques; Springer: Berlin/Heidelberg, Germany, 2020; pp. 85–111. [Google Scholar]
  23. Ala’M, A.Z.; Hassonah, M.A.; Heidari, A.A.; Faris, H.; Mafarja, M.; Aljarah, I. Evolutionary competitive swarm exploring optimal support vector machines and feature weighting. Soft Comput. 2021, 25, 3335–3352. [Google Scholar]
  24. Aljarah, I.; Faris, H.; Heidari, A.A.; Mafarja, M.M.; Ala’M, A.Z.; Castillo, P.A.; Merelo, J.J. A Robust Multi-Objective Feature Selection Model Based on Local Neighborhood Multi-Verse Optimization. IEEE Access 2021, 9, 100009–100028. [Google Scholar] [CrossRef]
  25. Al-Qaisi, L.; Hassonah, M.A.; Al-Zoubi, M.M.; Ala’M, A.Z. A Review of Evolutionary Data Clustering Algorithms for Image Segmentation. In Evolutionary Data Clustering: Algorithms and Applications; Springer: Singapore, 2021; p. 201. [Google Scholar]
  26. Qaddoura, R.; Faris, H.; Aljarah, I. An efficient evolutionary algorithm with a nearest neighbor search technique for clustering analysis. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 8387–8412. [Google Scholar] [CrossRef]
  27. Tubishat, M.; Abushariah, M.A.; Idris, N.; Aljarah, I. Improved whale optimization algorithm for feature selection in Arabic sentiment analysis. Appl. Intell. 2019, 49, 1688–1707. [Google Scholar] [CrossRef]
  28. Akyol, S.; Alatas, B. Sentiment classification within online social media using whale optimization algorithm and social impact theory based optimization. Phys. A Stat. Mech. Its Appl. 2020, 540, 123094. [Google Scholar] [CrossRef]
  29. Almulhim, T.S.; Barahona, I. Decision support system for ranking relevant indicators for reopening strategies following COVID-19 lockdowns. Qual. Quant. 2021, 1–29. [Google Scholar] [CrossRef]
  30. Aryuni, M.; Madyatmadja, E.D. Decision support system on government loan for Indonesian’s poor societies. In Proceedings of the 2017 International Conference on Information Management and Technology (ICIMTech), Yogyakarta, Indonesia, 15–17 November 2017; pp. 6–9. [Google Scholar]
  31. Alkraiji, A.I. The Efficiency of the Top Management and the Reality of the Decision Support Systems in Saudi Government Organisations. In Proceedings of the World Conference on Information Systems and Technologies, Madeira, Portugal, 11–13 April 2017; pp. 700–716. [Google Scholar]
  32. Listyaningsih, V.; Utami, E. Decision support system performance-based evaluation of village government using AHP and TOPSIS methods: Secang sub-district of Magelang regency as a case study. Int. J. Intell. Syst. Appl. 2018, 4, 18–28. [Google Scholar] [CrossRef] [Green Version]
  33. Kasie, F.M.; Bright, G.; Walker, A. Decision support systems in manufacturing: A survey and future trends. J. Model. Manag. 2017, 12, 432–454. [Google Scholar] [CrossRef]
  34. Jang, H. A decision support framework for robust R&D budget allocation using machine learning and optimization. Decis. Support Syst. 2019, 121, 1–12. [Google Scholar]
  35. Aggarwal, L.; Goswami, P.; Sachdeva, S. Multi-criterion intelligent decision support system for COVID-19. Appl. Soft Comput. 2021, 101, 107056. [Google Scholar] [CrossRef]
  36. Simonofski, A.; Fink, J.; Burnay, C. Supporting policy-making with social media and e-participation platforms data: A policy analytics framework. Gov. Inf. Q. 2021, 38, 101590. [Google Scholar] [CrossRef]
  37. Al-Laith, A.; Alenezi, M. Monitoring people’s emotions and symptoms from Arabic tweets during the COVID-19 pandemic. Information 2021, 12, 86. [Google Scholar] [CrossRef]
  38. Chakraborty, K.; Bhatia, S.; Bhattacharyya, S.; Platos, J.; Bag, R.; Hassanien, A.E. Sentiment Analysis of COVID-19 tweets by Deep Learning Classifiers—A study to show how popularity is affecting accuracy in social media. Appl. Soft Comput. 2020, 97, 106754. [Google Scholar] [CrossRef]
  39. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  40. Zeng, N.; Qiu, H.; Wang, Z.; Liu, W.; Zhang, H.; Li, Y. A new switching-delayed-PSO-based optimized SVM algorithm for diagnosis of Alzheimer’s disease. Neurocomputing 2018, 320, 195–202. [Google Scholar] [CrossRef]
  41. Almomani, I.; Qaddoura, R.; Habib, M.; Alsoghyer, S.; Al Khayer, A.; Aljarah, I.; Faris, H. Android Ransomware Detection Based on a Hybrid Evolutionary Approach in the Context of Highly Imbalanced Data. IEEE Access 2021, 9, 57674–57691. [Google Scholar] [CrossRef]
  42. Qaddoura, R.; Aljarah, I.; Faris, H.; Almomani, I. A Classification Approach Based on Evolutionary Clustering and Its Application for Ransomware Detection. In Evolutionary Data Clustering: Algorithms and Applications; Springer: Singapore, 2021; pp. 237–248. [Google Scholar]
  43. Qaddoura, R.; El-Emam, N.N. Privacy Preservation Tools and Techniques in Artificial Intelligence. In Cybersecurity; Taylor & Francis: Abingdon, UK, 2021; pp. 161–182. [Google Scholar]
  44. Wu, H.; Wang, L.; Zhao, Z.; Shu, C.; Lu, C. Support vector machine based differential pulse-width pair Brillouin optical time domain analyzer. IEEE Photonics J. 2018, 10, 1–11. [Google Scholar] [CrossRef]
  45. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  46. Qaddoura, R.; Faris, H.; Aljarah, I.; Castillo, P.A. Evocluster: An open-source nature-inspired optimization clustering framework in python. In Proceedings of the International Conference on the Applications of Evolutionary Computation (Part of EvoStar), Seville, Spain, 15–17 April 2020; pp. 20–36. [Google Scholar]
  47. Qaddoura, R.; Faris, H.; Aljarah, I.; Castillo, P.A. EvoCluster: An Open-Source Nature-Inspired Optimization Clustering Framework. SN Comput. Sci. 2021, 2, 1–12. [Google Scholar] [CrossRef]
  48. Parsing, C. Speech and Language Processing. 2009. Available online: http://people.cs.pitt.edu/~litman/courses/cs2731/lec/slp12_f19.pdf (accessed on 1 August 2021).
  49. Habib, M.; Faris, M.; Qaddoura, R.; Alomari, A.; Faris, H. A Predictive Text System for Medical Recommendations in Telemedicine: A Deep Learning Approach in the Arabic Context. IEEE Access 2021, 9, 85690–85708. [Google Scholar] [CrossRef]
  50. Alsmearat, K.; Al-Ayyoub, M.; Al-Shalabi, R. An extensive study of the bag-of-words approach for gender identification of arabic articles. In Proceedings of the 2014 IEEE/ACS 11th International Conference on Computer Systems and Applications (AICCSA), Doha, Qatar, 10–13 November 2014; pp. 601–608. [Google Scholar]
  51. Yan, D.; Li, K.; Gu, S.; Yang, L. Network-based bag-of-words model for text classification. IEEE Access 2020, 8, 82641–82652. [Google Scholar] [CrossRef]
  52. Aljarah, I.; Habib, M.; Hijazi, N.; Faris, H.; Qaddoura, R.; Hammo, B.; Abushariah, M.; Alfawareh, M. Intelligent detection of hate speech in Arabic social network: A machine learning approach. J. Inf. Sci. 2020, 47, 0165551520917651. [Google Scholar] [CrossRef]
  53. Schütze, H.; Manning, C.D.; Raghavan, P. Introduction to Information Retrieval; Cambridge University Press: Cambridge, UK, 2008; Volume 39. [Google Scholar]
  54. Kim, S.W.; Gil, J.M. Research paper classification systems based on TF-IDF and LDA schemes. Hum.-Centric Comput. Inf. Sci. 2019, 9, 1–21. [Google Scholar] [CrossRef]
  55. Al-Zoubi, A.; Alqatawna, J.; Faris, H.; Hassonah, M.A. Spam profiles detection on social networks using computational intelligence methods: The effect of the lingual context. J. Inf. Sci. 2021, 47, 58–81. [Google Scholar] [CrossRef]
  56. Srinivasan, S.; Ravi, V.; Alazab, M.; Ketha, S.; Ala’M, A.Z.; Padannayil, S.K. Spam emails detection based on distributed word embedding with deep learning. In Machine Intelligence and Big Data Analytics for Cybersecurity Applications; Springer: Berlin/Heidelberg, Germany, 2021; pp. 161–189. [Google Scholar]
  57. Habib, M.; Faris, H.; Hassonah, M.A.; Alqatawna, J.; Sheta, A.F.; Ala’M, A.Z. Automatic email spam detection using genetic programming with smote. In Proceedings of the 2018 Fifth HCT Information Technology Trends (ITT), Dubai, United Arab Emirates, 28–29 November 2018; pp. 185–190. [Google Scholar]
  58. Faris, H.; Alqatawna, J.; Ala’M, A.Z.; Aljarah, I. Improving email spam detection using content based feature engineering approach. In Proceedings of the 2017 IEEE Jordan Conference on Applied Electrical Engineering and Computing Technologies (AEECT), Aqaba, Jordan, 11–13 October 2017; pp. 1–6. [Google Scholar]
  59. Qaddoura, R.; Al-Zoubi, A.; Almomani, I.; Faris, H. A Multi-Stage Classification Approach for IoT Intrusion Detection Based on Clustering with Oversampling. Appl. Sci. 2021, 11, 3022. [Google Scholar] [CrossRef]
  60. Qaddoura, R.; Ala’M, A.Z.; Almomani, I.; Faris, H. Predicting Different Types of Imbalanced Intrusion Activities Based on a Multi-Stage Deep Learning Approach. In Proceedings of the 2021 International Conference on Information Technology (ICIT), Amman, Jordan, 14–15 July 2021; pp. 858–863. [Google Scholar]
  61. Habib, M.; Faris, M.; Qaddoura, R.; Alomari, M.; Alomari, A.; Faris, H. Toward an Automatic Quality Assessment of Voice-Based Telemedicine Consultations: A Deep Learning Approach. Sensors 2021, 21, 3279. [Google Scholar] [CrossRef] [PubMed]
  62. Qaddoura, R.; Al-Zoubi, M.; Faris, H.; Almomani, I. A Multi-Layer Classification Approach for Intrusion Detection in IoT Networks Based on Deep Learning. Sensors 2021, 21, 2987. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Three-class classification by SVM.
Figure 1. Three-class classification by SVM.
Applsci 11 09080 g001
Figure 2. A simple example of the weighting mechanism.
Figure 2. A simple example of the weighting mechanism.
Applsci 11 09080 g002
Figure 3. Detailed description of the methodology.
Figure 3. Detailed description of the methodology.
Applsci 11 09080 g003
Figure 4. Radar chart for comparing standard classification algorithms in terms of accuracy and F-measure.
Figure 4. Radar chart for comparing standard classification algorithms in terms of accuracy and F-measure.
Applsci 11 09080 g004aApplsci 11 09080 g004b
Figure 5. Features details and translation for Data 4 and 10.
Figure 5. Features details and translation for Data 4 and 10.
Applsci 11 09080 g005
Figure 6. WOA-SVM weights for the features of Data 4.
Figure 6. WOA-SVM weights for the features of Data 4.
Applsci 11 09080 g006
Figure 7. WOA-SVM weights for the features of Data 10.
Figure 7. WOA-SVM weights for the features of Data 10.
Applsci 11 09080 g007
Table 1. The description of the first rules datasets.
Table 1. The description of the first rules datasets.
First Rules
DatasetsTokenizationStemming# of Features
Data 1TF-IDFKhoja Stemm1461
Data 2TF-IDFLight Stemm1461
Data 3N-GramKhoja Stemm3412
Data 4N-GramLight Stemm3412
Data 5Bag-of-WordsLight Stemm1515
Table 2. The description of the latter rules datasets.
Table 2. The description of the latter rules datasets.
Latter Rules
DatasetsTokenizationStemming# of Features
Data 6TF-IDFKhoja Stemm1186
Data 7TF-IDFLight Stemm1186
Data 8N-GramKhoja Stemm1788
Data 9N-GramLight Stemm1788
Data 10Bag-of-WordsLight Stemm1264
Table 3. Initial parameters of the meta-heuristic algorithms.
Table 3. Initial parameters of the meta-heuristic algorithms.
AlgorithmParameterValue
WOAa2 to 0
r[0, 1]
MVOMinimum wormhole existence ratio0.2
Maximum wormhole existence ratio1
GACrossover ratio0.9
Mutation ratio0.1
Selection mechanismRoulette wheel
PSOAcceleration constants 2.1 , 2.1
Inertia w 0.9 , 0.6
Table 4. Accuracy results of standard classifiers against WOA-SVM for First-rules datasets.
Table 4. Accuracy results of standard classifiers against WOA-SVM for First-rules datasets.
DatasetsNBk-NNJ84SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStdAvgStd
Data 166.93%3.83%67.61%2.71%62.71%3.51%65.20%1.31%69.05%4.61%
Data 266.93%3.83%67.61%2.71%62.71%3.51%65.20%1.31%72.05%2.96%
Data 367.52%3.99%66.83%2.52%62.71%3.51%65.79%1.32%72.73%4.71%
Data 467.52%3.99%66.83%2.52%62.71%3.51%65.79%1.32%73.64%2.58%
Data 567.60%3.40%67.33%2.62%62.57%3.64%65.29%1.57%72.00%2.90%
Table 5. Accuracy results of standard classifiers against WOA-SVM for Latter-rules datasets.
Table 5. Accuracy results of standard classifiers against WOA-SVM for Latter-rules datasets.
DatasetsNBk-NNJ84SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStdAvgStd
Data 668.89%1.43%69.48%1.23%68.37%2.68%67.78%1.44%77.80%3.11%
Data 768.89%1.43%69.48%1.23%68.37%2.68%67.78%1.44%78.19%2.63%
Data 869.25%1.44%68.99%1.49%68.24%2.60%69.29%1.21%77.18%3.08%
Data 969.25%1.44%68.99%1.49%68.24%2.60%69.29%1.21%77.14%3.21%
Data 1068.53%1.82%69.78%2.43%70.17%2.32%69.02%1.59%78.78%1.98%
Table 6. F-measure results of standard classifiers against WOA-SVM for First-rules datasets.
Table 6. F-measure results of standard classifiers against WOA-SVM for First-rules datasets.
DatasetsNBk-NNJ84SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStdAvgStd
Data 151.48%1.08%45.53%1.05%40.40%1.06%30.63%1.03%79.03%3.40%
Data 251.48%1.08%45.53%1.05%40.40%1.06%30.63%1.03%80.36%3.06%
Data 347.74%1.06%40.68%1.05%40.40%1.06%32.30%1.01%81.12%3.35%
Data 447.74%1.06%40.66%1.05%40.40%1.06%32.30%1.01%81.96%1.73%
Data 553.91%1.02%41.87%1.10%40.68%1.01%31.17%1.09%80.66%2.04%
Table 7. F-measure results of standard classifiers against WOA-SVM for Latter-rules datasets.
Table 7. F-measure results of standard classifiers against WOA-SVM for Latter-rules datasets.
DatasetsNBk-NNJ84SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStdAvgStd
Data 662.90%0.30%61.54%0.26%53.33%1.09%55.88%0.44%84.48%3.00%
Data 762.90%0.30%61.54%0.26%53.33%1.09%55.88%0.44%84.64%2.16%
Data 863.13%0.26%60.05%0.30%53.01%1.10%57.48%0.44%83.58%2.46%
Data 963.13%0.26%60.05%0.30%53.01%1.10%57.48%0.44%83.55%2.32%
Data 1064.15%0.39%62.90%0.53%60.51%0.48%59.09%0.41%84.59%2.01%
Table 8. Accuracy results of GA-SVM, PSO-SVM, MVO-SVM, and WOA-SVM for First-rules datasets.
Table 8. Accuracy results of GA-SVM, PSO-SVM, MVO-SVM, and WOA-SVM for First-rules datasets.
DatasetsGA-SVMPSO-SVMMVO-SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStd
Data 167.88%6.72%71.64%3.88%68.87%5.28%69.05%4.61%
Data 268.47%3.80%70.15%2.70%71.19%4.35%72.05%2.96%
Data 367.60%6.04%73.73%2.80%66.29%3.8072.73%4.71%
Data 468.50%5.54%71.87%4.75%67.52%7.11%73.64%2.58%
Data 565.57%3.09%71.87%3.19%70.28%4.94%72.00%2.90%
Table 9. Accuracy results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for Latter-rules datasets.
Table 9. Accuracy results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for Latter-rules datasets.
DatasetsGA-SVMPSO-SVMMVO-SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStd
Data 672.43%6.01%74.03%7.10%75.67%5.90%77.80%3.11%
Data 777.24%3.94%77.70%3.11%78.06%2.59%78.19%2.63%
Data 868.44%5.97%76.69%3.42%75.77%4.94%77.18%3.08%
Data 976.29%2.70%75.93%3.06%78.16%2.08%77.14%3.21%
Data 1076.10%3.96%78.09%3.91%78.62%1.95%78.78%1.98%
Table 10. F-measure results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for First-rules datasets.
Table 10. F-measure results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for First-rules datasets.
DatasetsGA-SVMPSO-SVMMVO-SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStd
Data 178.56%4.19%80.82%2.45%78.83%3.51%79.03%3.40%
Data 278.03%3.62%79.28%1.84%80.12%2.64%80.36%3.06%
Data 378.62%3.97%81.60%2.63%77.92%2.75%81.12%3.35%
Data 478.73%3.83%80.50%3.12%78.02%4.44%81.96%1.73%
Data 577.36%2.48%80.66%2.44%79.76%2.93%80.66%2.04%
Table 11. F-measure results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for Latter-rules datasets.
Table 11. F-measure results of GA-SVM, PSO-SVM, WOA-SVM, and MVO-SVM for Latter-rules datasets.
DatasetsGA-SVMPSO-SVMMVO-SVMWOA-SVM
AvgStdAvgStdAvgStdAvgStd
Data 679.98%3.75%81.53%5.05%82.29%3.76%84.48%3.00%
Data 784.02%3.07%84.01%2.41%84.22%2.22%84.64%2.16%
Data 877.66%4.60%83.06%2.68%82.84%3.58%83.58%2.46%
Data 982.80%2.13%82.64%2.10%84.13%1.74%83.55%2.32%
Data 1082.88%2.24%83.93%2.71%84.32%2.17%84.59%2.01%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Obiedat, R.; Harfoushi, O.; Qaddoura, R.; Al-Qaisi, L.; Al-Zoubi, A.M. An Evolutionary-Based Sentiment Analysis Approach for Enhancing Government Decisions during COVID-19 Pandemic: The Case of Jordan. Appl. Sci. 2021, 11, 9080. https://doi.org/10.3390/app11199080

AMA Style

Obiedat R, Harfoushi O, Qaddoura R, Al-Qaisi L, Al-Zoubi AM. An Evolutionary-Based Sentiment Analysis Approach for Enhancing Government Decisions during COVID-19 Pandemic: The Case of Jordan. Applied Sciences. 2021; 11(19):9080. https://doi.org/10.3390/app11199080

Chicago/Turabian Style

Obiedat, Ruba, Osama Harfoushi, Raneem Qaddoura, Laila Al-Qaisi, and Ala’ M. Al-Zoubi. 2021. "An Evolutionary-Based Sentiment Analysis Approach for Enhancing Government Decisions during COVID-19 Pandemic: The Case of Jordan" Applied Sciences 11, no. 19: 9080. https://doi.org/10.3390/app11199080

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