# An Optimized Hybrid Deep Learning Model to Detect COVID-19 Misleading Information

Authors: Bader Alouffi; Abdullah Alharbi; Radhya Sahal; Hager Saleh
Journal: Computational Intelligence and Neuroscience
 (2021)

---

## Abstract

Fake news is challenging to detect due to mixing accurate and inaccurate information from reliable and unreliable sources. Social media is a data source that is not trustworthy all the time, especially in the COVID-19 outbreak. During the COVID-19 epidemic, fake news is widely spread. The best way to deal with this is early detection. Accordingly, in this work, we have proposed a hybrid deep learning model that uses convolutional neural network (CNN) and long short-term memory (LSTM) to detect COVID-19 fake news. The proposed model consists of some layers: an embedding layer, a convolutional layer, a pooling layer, an LSTM layer, a flatten layer, a dense layer, and an output layer. For experimental results, three COVID-19 fake news datasets are used to evaluate six machine learning models, two deep learning models, and our proposed model. The machine learning models are DT, KNN, LR, RF, SVM, and NB, while the deep learning models are CNN and LSTM. Also, four matrices are used to validate the results: accuracy, precision, recall, andF1-measure. The conducted experiments show that the proposed model outperforms the six machine learning models and the two deep learning models. Consequently, the proposed system is capable of detecting the fake news of COVID-19 significantly.


---

## Body

## 1. Introduction

A novel coronavirus (COVID-19) was discovered in Wuhan, China, at the beginning of December 2019. The World Health Organization (WHO) has announced that the COVID-19 outbreak is a global pandemic on 11 March 2020 [1]. Due to the panic from COVID-19 disease, people started posting fake news and misinformation about the coronavirus on social media networks. The posts, tweets, and comments contain misleading statements. Recently, the researchers have had a particular interest in utilizing sentiment analysis to distinguish the fake news about COVID-19 [2]. Social media has the biggest contribution for spreading COVID-19 fake news due to the huge number of people’s posts having panic expressions. Therefore, the governmental authorities start to launch official websites for COVID-19 announcements to stop circulating fake stories about COVID-19 [3]. Consequently, the researchers began to pay attention to COVID-19 misleading information by analyzing social media contents and applying advanced AI technologies (i.e., machine learning and deep learning) to profiling the COVID-19 fake news [4]. As a result of the research direction in content analysis, the research organizations start raising funding to provide novel solutions to combat COVID-19 in terms of analyzing the misleading information about the COVID-19 pandemic [5–10]. Recently, machine learning and deep learning are playing a vital role in different areas such as sentiment analysis [11, 12]; Alzheimer detection [13]; prediction cancer [14], and others [15, 16]. The researchers have utilized the collected datasets related to COVID-19 through social media to evaluate their proposed approaches [17]. In this work, we have proposed an optimized hybrid model to detect the fake news on COVID-19 on social media. The core idea of the proposed model is the hybridization of using CNN and LSTM.Our main contributions in this work are as follows:(i)
Development of a hybrid model integrating CNN and LSTM to detect fake news about COVID-19 is done.(ii)
The proposed model is optimized using a Hyperopt optimization technique to select the optimal values of parameters(iii)
The proposed model, CNN, LSTM, and regular ML algorithms are applied to three COVID-19 fake news datasets(iv)
The experimental results demonstrated that the proposed model had achieved the best performance compared with other modelsThe rest of this paper is structured as follows. Section2 presents the related work. Section 3 describes the architecture of the proposed system of COVID-19 fake news detection. Section 4 describes the experimental results. Finally, the paper is concluded in Section 5.


## 2. Related Works

Recently, researchers have been actively working to detect fake news about COVID-19. Wani et al. [18] used CNN, LSTM, and bidirectional encoder representations from transformers (BERT) to detect fake news about COVID-19. They used Contraint@AAAI 2021 Covid-19 Fake news detection dataset [19]. Elhadad et al. [20] proposed a voting ensemble classifier using 10 ML algorithms with seven feature extraction techniques to identify misleading information related to the COVID-19 outbreak. They tested their proposed classifier to 3,047,255 tweets about COVID-19. The best results are obtained from the NN, DT, and LR classifiers. Müller et al. [21] proposed transformer model COVID-Twitter-BERT (CT-BERT), on large a large corpus of Twitter messages about COVID-19. In [22], authors created an annotated dataset about COVID-19 fake news tweets. They proposed a multilingual bidirectional encoder (mBERT) to extract the textual features from the dataset. The results show the mBERT has achieved the highest performance compared with SVM, RF, and a multilayer perceptron. In [17], two stages are developed to detect fake news. The first stage uses a novel fact-checking approach to retrieve the most relevant facts about COVID-19, while the second stage verifies the level of truth by computing the textual entailment. In addition, the authors used pretrained transformer-based language models to retrieve and classify fake news in a particular domain of COVID-19 using BERT and ALBERT. They used a dataset that consists of more than 5000 COVID-19 false claims. In [23], authors gathered COVID-19 news articles from two data sources, and Poynter and Snopes then crawled the sources’ textual contents. They classified the articles into 11 various categories. Also, they applied ML algorithms on annotated the articles to detect misinformation about COVID-19. Al-Rakhami et al. [24] proposed an ensemble-learning-based framework to classify the tweets into credible or noncredible. They applied the framework to a large dataset of tweets carrying news about COVID-19. Their framework obtained high accuracy. Hossain et al. [25] introduced a benchmark dataset, COVIDLIES, which contains known COVID-19 misconceptions. They classified each tweet in the dataset into three categories Agree, Disagree, or express No Stance. Patwa et al. [19] created and annotated the dataset that includes 10,700 posts and articles of real and fake news on COVID-19. Four ML baselines: DT, LR, Gradient Boost, and SVM, have been applied to an annotated dataset to classify posts as fake or real. SVM has obtained the best performance with the testing set.


## 3. The Proposed System of Detecting COVID-19 Fake News

In this section, the proposed system of detecting COVID-19 fake news is introduced. Figure1 depicts the workflow of the proposed system showing in a set of steps which are (1) data collection, (2) data cleaning, (3) feature extraction, (4) hyperparameter optimization, and (5) evaluation models.Figure 1
Data fusion steps.


### 3.1. Data Collection

Three datasets of COVID-19 fake news are used, which are described as follows.


#### 3.1.1. Dataset 1

Dataset 1 was collected from Facebook posts, a far-right website which called Natural News (https://towardsdatascience.com/explore-covid-19-infodemic-2d1ceaae2306).Also, another medicine website is used called orthomolecular.org. Although some data sources are removed from the Internet and social media, they are able to reach by the Internet’s Archives.


#### 3.1.2. Dataset 2

Dataset 2 which is COVID-19 fake news data was collected from Internet (https://https://www.researchgate.net/publication/346036811_COVID-19_Fake_News_Data). The dataset 2 consists of a set of COVID-19 fake news. Based on the dataset 2 attributes, the headings used later as labels have the binary attribute. In particular, it has 0, which indicates that the news is fake, while one indicates that the news is true.


#### 3.1.3. Dataset 3

Dataset 3 which is COVID-19 fake news data was collected from Internet (https://www.researchgate.net/publication/349517903_COVID-19_Fake_News_Dataset). Dataset 3 was collected by Webhose.io and then was manually labeled. The dataset consists of three types of news which are (1) false news, which is called fake, (2) true news, and (3) partially false news. For simplification, false news and partially are considered false, labeled as 0, while the real news is labeled as 1.


### 3.2. Data Cleaning

In this phase, we have applied five steps described as follows:(i)
Text Parsing. In this step, the tokenization functions are used to divide the text within the datasets for further analysis.(ii)
Data Cleaning. In this step, regular expressions methods are used to extract English alphabets, numbers, and their combination. This step is applied to eliminate any noisy data within the datasets texts.(iii)
Part of Speech (PoS) Tagging. This step has marked each word in the text with its root, including a verb, adjective, and noun.(iv)
Stop Words Removal. All the common words are removed from the text in this step, such as “a” and “the.”(v)
Stemming. In this step, we have applied a replacement method to replace each word with its root to eliminate the redundancy within the text. In addition, English stemmer is used, which reduces the text by 40–50% concerning the original text within the three datasets.


### 3.3. Feature Extraction Methods

In this phase, two subphases have been done, which are applying Term Frequency-Inverse Document Frequency (TF-IDF) and word embedding for regular ML and DL models, respectively.(i)
For regular ML models, we have applied the TF-IDF method to assign weights to the prepossessed text of the three datasets [26]. The key idea of the TF-IDF is to determine the word frequencies within the text.(ii)
For DL models, word embedding is a mechanism to represent words into vectors where the words with the same meaning have similar vectors. Thus, every word within the text is represented in dense vectors. Glove is one of the more popular word embedding techniques [27]. Glove is built based on the unsupervised learning technique to generate the word vector representation. At the technical level, we used Glove. 6B.zip word embedding included four dimensions (i.e., 25 d, 50 d, 100 d, and 200 d). According to this work, we have used 200 d vectors to construct our embedding matrix.


### 3.4. The Proposed Model Description

In this section, the architecture of our proposed model is described. Figure2 depicts the set of layers of the proposed model, which are sequentially working to detect fake news. In particular, the following layers are used: an embedding layer, a convolutional layer, a pooling layer, an LSTM layer, a flatten layer, a dense layer, and an output layer. In addition, we have applied Hyperopt optimization methods to optimize the proposed model further to select the best values for the proposed model’s parameters. The layers are described as follows:(i)
Embedding Layer. Each new has been represented into vectors mapped to each word. At the technical level, we have implemented this layer using Keras library [28]. The Keras library has three parameters which are input-dim, output-dim, and input-length. The input-dim is used to configure the vocabulary size, while the output-dim is used to configure the size of the embedded words. The input-length is used to configure the length of input sequences. According to our implementation, the input-dim, output-dim, and input-length are 20000, 200, and 32, respectively.(ii)
Dropout Layers. These layers are used to prevent overfitting and reduce the complexity of the model [29]. As stated earlier, this layer receives its input from the embedding layer output. For configuration, we have set the value of the dropout as range between 0.1 and 0.9.(iii)
Convolutional Layer. The convolutional layer receives input from the dropout layer. The convolutional layer has two main parts, which are filter and feature map as a kernel. In the first part, a filter is used to apply filtering on the input word matrix. The filtering process is useful for providing a map of features that indicates the pattern of the input data [30]. The ReLU activation function is used to identify the features within the news.(iv)
The Pooling Layer. This layer uses the max operation for feature reduction within the feature mapping process. In particular, configuring a high value will significantly help capture the essential features, which reduces the computation for the next layer.(v)
LSTM Layer. LSTM is a type of recurrent neural network which is used for prediction based on learning long-term dependencies. According to this work, we have used LSTM to build the hybrid model.(vi)
The Flatten Layer. The text was converted to a 1-dimensional array by the flatten layer, which was then input to the following layer.(vii)
Dense Layer. It is a deeply connected neural network layer. It has some parameters which are input, kernel, bias, and activation. The input parameter represents the input data. The kernel represents the weight data. And the activation is used to represent the activation function.(viii)
The Output Layer. This layer is used to take the output of the flattened layers to generate the model’s final output, real or fake news. We have used ADAM optimizer [31] and sigmoid activation function [32].Figure 2
The architecture of the proposed model.


### 3.5. Different Models

Different models have been compared with the proposed model: six regular ML models, CNN, and LSTM.(i)
Six regular ML models such as DT [33], LR [34], KNN [35], RF [36], SVM [13], and NB [37] were used to compare with proposed model.(ii)
The long short-term memory (LSTM) model has five layers which are (1) an embedding layer, (2) hidden layer, (3) dropout layer, (4) flatten layer, and (5) an output layer. The embedding layer is the first layer that has been designed similarly to the proposed model layers. The hidden layer is used, which is LSTM [38, 39]. In particular, the L2 weight regularization technique is used with reg_rate value for l2. The third layer is the dropout layer which is used to eliminate the overfitting and simplify the model [29]. It is configured by setting the dropout value as a range (0.10.9). The fourth layer is the flattened layer which aims to convert the entire text into a vector of features. Finally, the output layer takes the flatten layer output to generate the final output, which classifies text as the whole in terms of real or fake news.(iii)
Convolutional neural network (CNN) consists of an embedding layer, a convolutional layer, a pooling layer, a flatten layer, a dense layer, and an output layer.


### 3.6. Hyperparameter Optimization

Hyperparameter optimization aims to optimize the hyperparameters for ML and DL models automatically. Hyperparameter tuning is utilized to pass various parameters into the model to select the best values of parameters to achieve the best performance.(i)
For optimization ML models, we have used grid search. We have defined a set of initial values for each hyperparameter. The model checks these values and then selects the best value for each hyperparameter for obtaining the highest accuracy. Also, K-fold cross-validation (CV) is used where the dataset is equally divided into K-fold. K-1 folds are used for training, and the rest part is used for testing. The dividing process is repeated until the model reaches that each fold has been used for testing. Finally, the classifier is evaluated based on the average of accuracy within the 10-fold.(ii)
We have used Hyperopt, which is distributed asynchronous hyperparameter optimization built-in python library, for optimization of DL algorithms. Furthermore, Hyperopt is an open-source library for large-scale AutoML and HyperOpt-Sklearn (https://github.com/hyperopt/hyperopt). A set of parameters for the proposed model is configured as shown in Table 1. Also for the LSTM model, a set of parameters is as shown in Table 2. Similar to LSTM, a set of parameters of the CNN model is configured as shown in Table 3.Table 1
The parameter values have been adjusted for the proposed model.
ParametersValuesFilter size32, 64, 128, 256, 512, 768, 1024Kernel size2, 3, 4, 5Max pooling3, 6LSTM unitRange from 1 to 200Dense unit 1Range from 1 to 200Dense unit 2Range from 1 to 128Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 20Table 2
The parameter values have been adjusted for LSTM.
ParametersValuesNeuronsRange from 1 to 200Reg_rate0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 50Table 3
The parameter values have been adjusted for CNN.
ParametersValuesFilter size32, 64, 128Kernel size2, 3, 4Max pooling3, 6Unit for denseRange from 1 to 200Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 20


### 3.7. Evaluation Metrics

Four standard machine learning metrics are used, which are accuracy, precision, recall, andF1-score. Equations (1)–(4) describe the formulas for calculating these metrics. Accordingly, TP stands for true positive, TN for true negative, FP for false positive, and FN for false negative.(i)
Accuracy is the popular metric used to perform ML and DL models. It measures the percentage of correctly predicted observations. The accuracy calculation formula is as follows:(1)accuracy=TP+TNTP+FP+TN+FN.(ii)
The second metric is a precision which indicates the ratio of true positives to all true events predicted. The precision calculation formula is as follows:(2)precision=TPTP+FP.(iii)
Recall is the third metric used to indicate the total number of positive classifications out of true class. The recall calculation formula is as follows:(3)recall=TPTP+FN.(iv)
The fourth metric isF1-score which shows the trade-off between precision and recall. It shows the weighted average of precision and recall. The F1-score calculation formula is as follows:(4)F1−score=2⋅precision⋅recallprecision+recall.


## 3.1. Data Collection

Three datasets of COVID-19 fake news are used, which are described as follows.


### 3.1.1. Dataset 1

Dataset 1 was collected from Facebook posts, a far-right website which called Natural News (https://towardsdatascience.com/explore-covid-19-infodemic-2d1ceaae2306).Also, another medicine website is used called orthomolecular.org. Although some data sources are removed from the Internet and social media, they are able to reach by the Internet’s Archives.


### 3.1.2. Dataset 2

Dataset 2 which is COVID-19 fake news data was collected from Internet (https://https://www.researchgate.net/publication/346036811_COVID-19_Fake_News_Data). The dataset 2 consists of a set of COVID-19 fake news. Based on the dataset 2 attributes, the headings used later as labels have the binary attribute. In particular, it has 0, which indicates that the news is fake, while one indicates that the news is true.


### 3.1.3. Dataset 3

Dataset 3 which is COVID-19 fake news data was collected from Internet (https://www.researchgate.net/publication/349517903_COVID-19_Fake_News_Dataset). Dataset 3 was collected by Webhose.io and then was manually labeled. The dataset consists of three types of news which are (1) false news, which is called fake, (2) true news, and (3) partially false news. For simplification, false news and partially are considered false, labeled as 0, while the real news is labeled as 1.


## 3.1.1. Dataset 1

Dataset 1 was collected from Facebook posts, a far-right website which called Natural News (https://towardsdatascience.com/explore-covid-19-infodemic-2d1ceaae2306).Also, another medicine website is used called orthomolecular.org. Although some data sources are removed from the Internet and social media, they are able to reach by the Internet’s Archives.


## 3.1.2. Dataset 2

Dataset 2 which is COVID-19 fake news data was collected from Internet (https://https://www.researchgate.net/publication/346036811_COVID-19_Fake_News_Data). The dataset 2 consists of a set of COVID-19 fake news. Based on the dataset 2 attributes, the headings used later as labels have the binary attribute. In particular, it has 0, which indicates that the news is fake, while one indicates that the news is true.


## 3.1.3. Dataset 3

Dataset 3 which is COVID-19 fake news data was collected from Internet (https://www.researchgate.net/publication/349517903_COVID-19_Fake_News_Dataset). Dataset 3 was collected by Webhose.io and then was manually labeled. The dataset consists of three types of news which are (1) false news, which is called fake, (2) true news, and (3) partially false news. For simplification, false news and partially are considered false, labeled as 0, while the real news is labeled as 1.


## 3.2. Data Cleaning

In this phase, we have applied five steps described as follows:(i)
Text Parsing. In this step, the tokenization functions are used to divide the text within the datasets for further analysis.(ii)
Data Cleaning. In this step, regular expressions methods are used to extract English alphabets, numbers, and their combination. This step is applied to eliminate any noisy data within the datasets texts.(iii)
Part of Speech (PoS) Tagging. This step has marked each word in the text with its root, including a verb, adjective, and noun.(iv)
Stop Words Removal. All the common words are removed from the text in this step, such as “a” and “the.”(v)
Stemming. In this step, we have applied a replacement method to replace each word with its root to eliminate the redundancy within the text. In addition, English stemmer is used, which reduces the text by 40–50% concerning the original text within the three datasets.


## 3.3. Feature Extraction Methods

In this phase, two subphases have been done, which are applying Term Frequency-Inverse Document Frequency (TF-IDF) and word embedding for regular ML and DL models, respectively.(i)
For regular ML models, we have applied the TF-IDF method to assign weights to the prepossessed text of the three datasets [26]. The key idea of the TF-IDF is to determine the word frequencies within the text.(ii)
For DL models, word embedding is a mechanism to represent words into vectors where the words with the same meaning have similar vectors. Thus, every word within the text is represented in dense vectors. Glove is one of the more popular word embedding techniques [27]. Glove is built based on the unsupervised learning technique to generate the word vector representation. At the technical level, we used Glove. 6B.zip word embedding included four dimensions (i.e., 25 d, 50 d, 100 d, and 200 d). According to this work, we have used 200 d vectors to construct our embedding matrix.


## 3.4. The Proposed Model Description

In this section, the architecture of our proposed model is described. Figure2 depicts the set of layers of the proposed model, which are sequentially working to detect fake news. In particular, the following layers are used: an embedding layer, a convolutional layer, a pooling layer, an LSTM layer, a flatten layer, a dense layer, and an output layer. In addition, we have applied Hyperopt optimization methods to optimize the proposed model further to select the best values for the proposed model’s parameters. The layers are described as follows:(i)
Embedding Layer. Each new has been represented into vectors mapped to each word. At the technical level, we have implemented this layer using Keras library [28]. The Keras library has three parameters which are input-dim, output-dim, and input-length. The input-dim is used to configure the vocabulary size, while the output-dim is used to configure the size of the embedded words. The input-length is used to configure the length of input sequences. According to our implementation, the input-dim, output-dim, and input-length are 20000, 200, and 32, respectively.(ii)
Dropout Layers. These layers are used to prevent overfitting and reduce the complexity of the model [29]. As stated earlier, this layer receives its input from the embedding layer output. For configuration, we have set the value of the dropout as range between 0.1 and 0.9.(iii)
Convolutional Layer. The convolutional layer receives input from the dropout layer. The convolutional layer has two main parts, which are filter and feature map as a kernel. In the first part, a filter is used to apply filtering on the input word matrix. The filtering process is useful for providing a map of features that indicates the pattern of the input data [30]. The ReLU activation function is used to identify the features within the news.(iv)
The Pooling Layer. This layer uses the max operation for feature reduction within the feature mapping process. In particular, configuring a high value will significantly help capture the essential features, which reduces the computation for the next layer.(v)
LSTM Layer. LSTM is a type of recurrent neural network which is used for prediction based on learning long-term dependencies. According to this work, we have used LSTM to build the hybrid model.(vi)
The Flatten Layer. The text was converted to a 1-dimensional array by the flatten layer, which was then input to the following layer.(vii)
Dense Layer. It is a deeply connected neural network layer. It has some parameters which are input, kernel, bias, and activation. The input parameter represents the input data. The kernel represents the weight data. And the activation is used to represent the activation function.(viii)
The Output Layer. This layer is used to take the output of the flattened layers to generate the model’s final output, real or fake news. We have used ADAM optimizer [31] and sigmoid activation function [32].Figure 2
The architecture of the proposed model.


## 3.5. Different Models

Different models have been compared with the proposed model: six regular ML models, CNN, and LSTM.(i)
Six regular ML models such as DT [33], LR [34], KNN [35], RF [36], SVM [13], and NB [37] were used to compare with proposed model.(ii)
The long short-term memory (LSTM) model has five layers which are (1) an embedding layer, (2) hidden layer, (3) dropout layer, (4) flatten layer, and (5) an output layer. The embedding layer is the first layer that has been designed similarly to the proposed model layers. The hidden layer is used, which is LSTM [38, 39]. In particular, the L2 weight regularization technique is used with reg_rate value for l2. The third layer is the dropout layer which is used to eliminate the overfitting and simplify the model [29]. It is configured by setting the dropout value as a range (0.10.9). The fourth layer is the flattened layer which aims to convert the entire text into a vector of features. Finally, the output layer takes the flatten layer output to generate the final output, which classifies text as the whole in terms of real or fake news.(iii)
Convolutional neural network (CNN) consists of an embedding layer, a convolutional layer, a pooling layer, a flatten layer, a dense layer, and an output layer.


## 3.6. Hyperparameter Optimization

Hyperparameter optimization aims to optimize the hyperparameters for ML and DL models automatically. Hyperparameter tuning is utilized to pass various parameters into the model to select the best values of parameters to achieve the best performance.(i)
For optimization ML models, we have used grid search. We have defined a set of initial values for each hyperparameter. The model checks these values and then selects the best value for each hyperparameter for obtaining the highest accuracy. Also, K-fold cross-validation (CV) is used where the dataset is equally divided into K-fold. K-1 folds are used for training, and the rest part is used for testing. The dividing process is repeated until the model reaches that each fold has been used for testing. Finally, the classifier is evaluated based on the average of accuracy within the 10-fold.(ii)
We have used Hyperopt, which is distributed asynchronous hyperparameter optimization built-in python library, for optimization of DL algorithms. Furthermore, Hyperopt is an open-source library for large-scale AutoML and HyperOpt-Sklearn (https://github.com/hyperopt/hyperopt). A set of parameters for the proposed model is configured as shown in Table 1. Also for the LSTM model, a set of parameters is as shown in Table 2. Similar to LSTM, a set of parameters of the CNN model is configured as shown in Table 3.Table 1
The parameter values have been adjusted for the proposed model.
ParametersValuesFilter size32, 64, 128, 256, 512, 768, 1024Kernel size2, 3, 4, 5Max pooling3, 6LSTM unitRange from 1 to 200Dense unit 1Range from 1 to 200Dense unit 2Range from 1 to 128Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 20Table 2
The parameter values have been adjusted for LSTM.
ParametersValuesNeuronsRange from 1 to 200Reg_rate0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 50Table 3
The parameter values have been adjusted for CNN.
ParametersValuesFilter size32, 64, 128Kernel size2, 3, 4Max pooling3, 6Unit for denseRange from 1 to 200Dropout0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9Batch size50, 20, 10, 73, 146, 219EpochsRang from 1 to 20


## 3.7. Evaluation Metrics

Four standard machine learning metrics are used, which are accuracy, precision, recall, andF1-score. Equations (1)–(4) describe the formulas for calculating these metrics. Accordingly, TP stands for true positive, TN for true negative, FP for false positive, and FN for false negative.(i)
Accuracy is the popular metric used to perform ML and DL models. It measures the percentage of correctly predicted observations. The accuracy calculation formula is as follows:(1)accuracy=TP+TNTP+FP+TN+FN.(ii)
The second metric is a precision which indicates the ratio of true positives to all true events predicted. The precision calculation formula is as follows:(2)precision=TPTP+FP.(iii)
Recall is the third metric used to indicate the total number of positive classifications out of true class. The recall calculation formula is as follows:(3)recall=TPTP+FN.(iv)
The fourth metric isF1-score which shows the trade-off between precision and recall. It shows the weighted average of precision and recall. The F1-score calculation formula is as follows:(4)F1−score=2⋅precision⋅recallprecision+recall.


## 4. Results

### 4.1. Experiment Setup

The experiments were conducted using a Google Colab RAM 25 GB, Python 3, and GPU. The three comparable models, the proposed model, LSTM, and CNN models, are implemented using the Keras library. The regular ML models have been implemented using the sci-kit-learn package. For optimization, grid search is used for ML, and the Hyperopt library is used for DL. For the embedding layer, a 200-dimensional word vector is used for the Glove set pretrained. For the datasets, three datasets of COVID-19 fake news are used. Each dataset is divided into 80% for training and 20% for testing. Each experiment has been repeated ten times. The result of cross-validation (CV) and testing performance has been registered.


### 4.2. Results of Dataset 1

#### 4.2.1. Result of Applying ML to Dataset 1

Table4 describes the obtained performance of CV and the testing validation for ML using dataset 1. Further details are as follows:(i)
CV Result. For DT, bi-gram is registered the best performance (ACC = 79.41%, PRE = 79.83%, REC = 79.09%, and F1 = 79.45%), while four-gram has obtained the worst performance (ACC = 67.45%, PRE = 74.49%, REC = 67.63%, and F1 = 65.23%). For KNN, unigram is registered the highest performance (ACC = 87.52%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%), while four-gram is registered the worst performance (ACC = 64.83%, PRE = 72.84%, REC = 64.83%, and F1 = 61.55%). For LR, unigram is registered the highest performance (ACC = 92.81%, PRE = 92.96%, REC = 92.81%, and F1 = 92.81%), while four-gram is registered the worst performance (ACC = 70.48%, PRE = 79.29%, REC = 70.48%, and F1 = 67.8%). For RF, unigram is registered the highest performance (ACC = 88.71%, PRE = 89.23%, REC = 88.79%, and F1 = 88.86%), while four-gram is registered the worst performance (ACC = 66.92%, PRE = 76.59%, REC = 67.28%, and F1 = 63.15%). For SVM, unigram is registered the highest performance (ACC = 92.58%, PRE = 92.71%, REC = 92.58%, and F1 = 92.57%), while four-gram is registered the worst performance (ACC = 69.43%, PRE = 79.09%, REC = 69.43%, and F1 = 66.39%). For SVM, unigram is registered the highest performance (ACC = 90.77%, PRE = 90.92%, REC = 90.77%, and F1 = 90.76%), while four-gram is registered the worst performance (ACC = 72.39%, PRE = 79.16%, REC = 72.39%, and F1 = 70.49%).(ii)
Testing Result. For DT, bi-gram is registered the highest performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%), while four-gram is registered the worst performance (ACC = 58.44%, PRE = 60.02%, REC = 58.44%, and F1 = 51.28%). For KNN, unigram is registered the highest performance (ACC = 80.56%, PRE = 81.42%, REC = 80.56%, and F1 = 80.4%), while four-gram is registered the worst performance (ACC = 50.05%, PRE = 65.05%, REC = 50.05%, and F1 = 34.13%). For LR, unigram is registered the highest performance (ACC = 89.91%, PRE = 89.93%, REC = 89.91%, and F1 = 89.91%), while four-gram is registered the worst performance (ACC = 64.55%, PRE = 75.39%, REC = 64.55%, and F1 = 60.55%). For RF, unigram is registered the highest performance (ACC = 81.9%, PRE = 82.62%, REC = 81.9%, and F1 = 81.82%), while four-gram is registered the worst performance (ACC = 57.62%, PRE = 74.66%, REC = 57.62%, and F1 = 49.22%). For SVM, unigram is registered the highest performance (ACC = 89.57%, PRE = 89.57%, REC = 89.57%, and F1 = 89.57%), while four-gram is registered the worst performance (ACC = 60.52%, PRE = 61.11%, REC = 60.52%, and F1 = 60.16%). For NB, unigram is registered the highest performance (ACC = 88.57%, PRE = 88.75%, REC = 88.57%, and F1 = 88.55%), while four-gram is registered the worst performance (ACC = 58.48%, PRE = 60.61%, REC = 58.48%, and F1 = 50.6%).Table 4
The performance of applying ML to dataset 1
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram78.0478.2878.1177.7868.3168.5768.3168.24Bi-gram79.4179.8379.0979.4569.2771.0669.2769.32Tri-gram72.0476.4972.2370.8662.3469.7162.3458.74Four-gram67.4574.4967.6365.2358.4460.0258.4451.28KNNUnigram87.5288.0587.5287.4680.5681.4280.5680.4Bi-gram86.787.3486.786.6276.0676.0876.0676.05Tri-gram75.8478.1975.8475.3354.4276.3154.4242.94Four-gram64.8372.8464.8361.5550.0565.0550.0534.13LRUnigram92.8192.9692.8192.8189.9189.9389.9189.91Bi-gram90.790.9490.790.6877.2782.3177.2776.43Tri-gram82.5184.4182.5182.1369.6176.4569.6167.66Four-gram70.4879.2970.4867.864.5575.3964.5560.55RFUnigram88.7189.2388.7988.8681.982.6281.981.82Bi-gram83.0585.8183.0582.3277.9678.2977.9677.92Tri-gram76.3979.4776.5575.9764.5965.2764.5964.01Four-gram66.9276.5967.2863.1557.6274.6657.6249.22SVMUnigram92.5892.7192.5892.5789.5789.5789.5789.57Bi-gram90.590.7690.590.4886.4986.5286.4986.49Tri-gram80.9983.5280.9980.4574.9376.4274.9374.63Four-gram69.4379.0969.4366.3960.5261.1160.5260.16NBUnigram90.7790.9290.7790.7688.5788.7588.5788.55Bi-gram89.690.189.689.5582.5183.582.5182.36Tri-gram78.6282.7978.6277.863.0770.9563.0758.96Four-gram72.3979.1672.3970.4958.4860.6158.4850.6


#### 4.2.2. Result of Applying DL to Dataset 1

Table5 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows:(i)
CV Result. The proposed model has obtained the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while LSTM has obtained the lowest performance (ACC = 84.55%, PRE = 83.7%, REC = 84.63%, and F1 = 84.69%)(ii)
Testing Result. he proposed model has obtained the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.248%, and F1 = 93.02%), while LSTM has obtained the lowest performance (ACC = 78.74%, PRE = 78.56%, REC = 78.66%, and F1 = 78.74%)Table 5
The performance of applying DL to dataset 1.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.7810099.1899.5593.2492.8793.2493.02CNN99.1195.0895.3995.0678.7978.8878.7978.76LSTM84.5583.784.6384.6978.7478.5678.6678.74


#### 4.2.3. The Optimum DL Parameter Settings for Dataset 1

The best values of the proposed model’s parameters are shown in Table6. The optimal values for CNN’s parameters are shown in Table 7. The optimal settings of the LSTM parameters are shown in Table 8.Table 6
The optimum parameter values for dataset 1 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit196Dense unit 137Dense unit 2106Dropout LSTM0.2Dropout dense 10.3Dropout dense 20.4Batch size219Epochs7Table 7
The optimal CNN parameter values for dataset 1.
ParametersValuesFilter size31Kernel size2Max pooling5Unit for dense10Dropout0.1Batch size73Epochs13Table 8
The optimal LSTM parameter values for dataset 1.
ParametersValuesNeurons24Reg rate0.3Dropout0.2Batch size73Epochs14


### 4.3. Results of Dataset 2

#### 4.3.1. Result of Applying ML to Dataset 2

Table9 describes the obtained performance of CV and the testing validation for ML using dataset 2. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 96.37%, PRE = 96.0%, REC = 96.38%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.5%, PRE = 94.16%, REC = 95.5%, and F1 = 93.44%). For KNN, unigram is registered the highest performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%), while four-gram is registered the worst performance (ACC = 95.53%, PRE = 95.03%, REC = 95.53%, and F1 = 93.5%). For LR, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.64%, PRE = 95.55%, REC = 95.64%, and F1 = 93.74%). For RF, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.51%, PRE = 94.31%, REC = 95.49%, and F1 = 93.45%). For SVM, unigram is registered the highest performance (ACC = 97.4%, PRE = 96.98%, REC = 97.0%, and F1 = 96.33%), while four-gram is registered the worst performance (ACC = 95.57%, PRE = 95.35%, REC = 95.57%, and F1 = 93.59%). For NB, unigram is registered the highest performance (ACC = 96.22%, PRE = 95.69%, REC = 96.22%, and F1 = 95.81%), while four-gram is registered the worst performance(ACC = 95.00%, PRE = 90.00%, REC = 95.00%, and F1 = 93.00%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 95.65%, PRE = 95.16%, REC = 95.65%, and F1 = 95.36%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.93%, and F1 = 93.29%). For KNN, unigram is registered the highest performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%), while four-gram is registered the worst performance (ACC = 95.30%, PRE = 94.2%, REC = 95.30%, and F1 = 93.20%). For LR, unigram is registered the highest performance (ACC = 96.69%, PRE = 96.38%, REC = 96.69%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.0%, PRE = 95.0%, REC = 95.0%, and F1 = 93.0%). For RF, unigram is registered the highest performance (ACC = 96.22%, PRE = 96.28%, REC = 96.22%, and F1 = 94.98%), while four-gram is registered the worst performance (ACC = 95.35%, PRE = 90.91%, REC = 95.35%, and F1 = 93.07%). For SVM, unigram is registered the highest performance (ACC = 96.90%, PRE = 96.80%, REC = 96.90%, and F1 = 96.04%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.39%, and F1 = 93.29%). For NB, unigram is registered the highest performance (ACC = 95.38%, PRE = 94.55%, REC = 95.38%, and F1 = 94.85%), while four-gram is registered the worst performance (ACC = 95.02%, PRE = 90.04%, REC = 95.01%, and F1 = 93.03%).Table 9
The performance of applying ML to dataset 2.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram96.3796.096.3896.0295.6595.1695.6595.36Bi-gram95.8694.9895.8294.6694.9893.6294.9894.09Tri-gram95.6594.9595.6293.995.6294.6895.6293.96Four-gram95.594.1695.593.4495.3994.195.3993.29KNNUnigram95.9496.0295.9494.495.4495.6595.4493.9Bi-gram95.5595.1995.5593.5595.5895.295.5893.7Tri-gram95.5595.1995.5593.5595.6494.9995.6493.9Four-gram95.5395.0395.5393.595.3094.295.3093.20LRUnigram97.2797.1297.2796.8396.6996.3896.6996.02Bi-gram95.9195.995.9194.3795.394.2995.394.63Tri-gram95.6695.7195.6693.895.5794.4195.5793.94Four-gram95.6495.5595.6493.7495.094.095.093.0RFUnigram96.9597.0196.9796.2496.2296.2896.2294.98Bi-gram95.695.0795.5993.6695.6495.7895.6493.79Tri-gram95.5294.5695.5193.4895.4995.5895.4993.43Four-gram95.5194.3195.4993.4595.3590.9195.3593.07SVMUnigram97.496.9897.096.3396.9096.8096.9096.04Bi-gram97.096.8097.396.3496.7896.6996.7896.02Tri-gram95.7395.6795.7393.9795.6194.8995.6193.88Four-gram95.5795.3595.5793.5995.3994.195.3993.29NBUnigram96.2295.6996.2295.8195.3894.5595.3894.85Bi-gram95.3690.9395.3693.0995.3590.9195.3593.07Tri-gram95.3690.9395.3693.0995.3590.9195.3593.07Four-gram95.0090.0095.0093.0095.0290.0495.0193.03


#### 4.3.2. Result of Applying DL to Dataset 2

Table10 describes the obtained performance of CV and the testing validation for DL using dataset 2. Further details are as follows:(i)
CV Result. The proposed model is registered the highest performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while LSTM is registered the worst performance (ACC = 97.12%, PRE = 77.57%, REC = 90.83%, and F1 = 91.29%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while LSTM is registered the worst performance (ACC = 96.84%, PRE = 96.5%, REC = 96.84%, and F1 = 96.45%)Table 10
The performance of applying DL to dataset 2.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.8399.197.4798.0497.797.597.5397.7CNN99.9292.0890.8391.2997.597.3297.597.21LSTM97.1277.5750.8758.5396.8496.596.8496.45


#### 4.3.3. The Optimum DL Parameter Settings for Dataset 2

The best values of the proposed model’s parameters are shown in Table11. The optimal values for CNN’s parameters are shown in Table 12. The optimal settings of the LSTM parameters are shown in Table 13.Table 11
The optimum parameter values for dataset 2 for the proposed model.
ParametersValuesFilter size1024Kernel size2Max pooling3LSTM unit154Dense unit 153Dense unit 283Dropout LSTM0.6Dropout dense 10.2Dropout dense 20.2Batch size219Epochs15Table 12
The optimal CNN parameter values for dataset 2.
ParametersValuesFilter size64Kernel size4Max pooling6Unit for dense28Dropout0.4Batch size73Epochs40Table 13
The optimal LSTM parameter values for dataset 2.
ParametersValuesNeurons45Reg rate0.05Dropout0.5Batch size146Epochs32


### 4.4. Results of Dataset 3

#### 4.4.1. Result of Applying ML to Dataset 3

Table14 describes the obtained performance of CV and the testing validation for ML using dataset 3. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%), while four-gram is registered the worst performance (ACC = 67.67%, PRE = 64.84%, REC = 67.59%, and F1 = 61.23%). For KNN, unigram is registered the highest performance (ACC = 73.16%, PRE = 76.98%, REC = 73.32%, and F1 = 71.69%), while four-gram is registered the worst performance (ACC = 67.44%, PRE = 70.66%, REC = 67.44%, F1 = 68.1%). For LR, unigram is registered the highest performance (ACC = 81.71%, PRE = 81.57%, REC = 81.71%, nd F1 = 81.06%), while four-gram is registered the worst performance (ACC = 68.87%, PRE = 69.42%, REC = 68.87%, and F1 = 61.02%). For RF, unigram is registered the highest performance (ACC = 80.2%, PRE = 79.84%, REC = 79.48%, and F1 = 78.21%), while four-gram is registered the worst performance (ACC = 67.41%, PRE = 72.33%, REC = 67.46%, F1 = 56.2%). For SVM, unigram is registered the highest performance (ACC = 82.12%, PRE = 82.01%, REC = 82.12%, and F1 = 81.63%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.13%, REC = 69.1%, and F1 = 60.95%). For NB, bi-gram is registered the highest performance (ACC = 80.25%, PRE = 80.27%, REC = 80.25%, and F1 = 80.2%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.16%, REC = 69.23%, and F1 = 60.17%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%), while four-gram is registered the worst performance (ACC = 52.98%, PRE = 66.1%, REC = 52.98%, and F1 = 52.49%). For KNN, unigram is registered the highest performance (ACC = 69.12%, PRE = 75.72%, REC = 69.12%, and F1 = 59.7%), while four-gram is registered the worst performance (ACC = 35.8%, PRE = 67.11%, REC = 35.8%, and F1 = 21.7%). For LR, unigram is registered the highest performance (ACC = 74.7%, PRE = 75.14%, REC = 74.7%, and F1 = 71.71%), while four-gram is registered the worst performance (ACC = 60.63%, PRE = 69.25%, REC = 60.63%, and F1 = 61.4%). For RF, unigram is registered the highest performance (ACC = 75.32%, PRE = 75.98%, REC = 75.32%, and F1 = 72.45%), while four-gram is registered the worst performance (ACC = 65.5%, PRE = 58.5%, REC = 65.5%, and F1 = 54.0%). For SVM, unigram is registered the highest performance (ACC = 76.92%, PRE = 76.49%, REC = 76.92%, and F1 = 75.54%), while four-gram is registered the worst performance (ACC = 65.22%, PRE = 55.61%, REC = 65.22%, and F1 = 53.75%). For NB, bi-gram is registered the highest performance (ACC = 72.26%, PRE = 71.11%, REC = 72.26%, and F1 = 71.09%), while four-gram is registered the worst performance (ACC = 65.74%, PRE = 58.39%, REC = 65.74%, and F1 = 53.86%).Table 14
The performance of applying ML to dataset 3.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram72.2172.572.3372.0766.9666.766.9666.81Bi-gram72.1172.171.9171.8464.7766.1864.7765.27Tri-gram68.8271.9868.7969.4661.1466.9461.1462.14Four-gram67.6764.8467.5961.2352.9866.152.9852.49KNNUnigram73.1676.9873.3271.6969.1275.7269.1259.7Bi-gram70.4575.1270.4562.6968.1773.4868.1757.92Tri-gram73.3272.6173.1670.9567.5269.8867.5256.99Four-gram67.4470.6667.4468.135.867.1135.821.7LRUnigram81.7181.5781.7181.0674.775.1474.771.71Bi-gram77.3977.8777.3975.3368.7569.2468.7568.96Tri-gram77.2877.8177.2875.1268.8669.1968.8669.01Four-gram68.8769.4268.8761.0260.6369.2560.6361.4RFUnigram80.279.8479.4878.2175.3275.9875.3272.45Bi-gram73.3976.3473.8768.565.7158.2965.7154.0Tri-gram67.8272.7167.9857.2165.7158.6365.7154.26Four-gram67.4172.3367.4656.265.558.565.554.0SVMUnigram82.1282.0182.1281.6376.9276.4976.9275.54Bi-gram74.7176.6174.7170.9566.3562.8966.3555.36Tri-gram69.571.5769.561.7266.0360.9766.0355.42Four-gram69.171.1369.160.9565.2255.6165.2253.75NBUnigram79.9779.8979.9778.9270.6273.870.6263.58Bi-gram80.2580.2780.2580.272.2671.1172.2671.09Tri-gram69.2171.7269.2160.9166.1161.8766.1154.06Four-gram69.171.1669.2360.1765.7458.3965.7453.86


#### 4.4.2. Result of Applying DL to Dataset 3

Table15 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows.(i)
CV Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while LSTM is registered the worst performance (ACC = 88.56%, PRE = 91.19%, REC = 91.89%, and F1 = 91.38%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while LSTM is registered the worst performance (ACC = 70.16%, PRE = 69.92%, REC = 70.16%, F1 = 69.9%)Table 15
The performance of applying DL to dataset 3.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model97.798.1898.4198.2877.2477.8777.2477.02CNN93.5193.9296.8695.2171.7970.8771.7971.08LSTM88.5691.1991.8991.3870.1669.9270.1669.98


#### 4.4.3. The Optimum DL Parameter Settings for Dataset 3

The best values of the proposed model’s parameters are shown in Table16. The optimal values for CNN’s parameters are shown in Table 17. The optimal settings of the LSTM parameters are shown in Table 18.Table 16
The optimum parameter values for dataset 3 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit55Dense unit 1127Dense unit 276Dropout LSTM0.7Dropout dense 10.6Dropout dense 20.4Batch size219Epochs10Table 17
The optimal CNN parameter values for dataset 3.
ParametersValuesFilter size32Kernel size4Max pooling3Unit for dense6Dropout0.4Batch size146Epochs13Table 18
The optimal LSTM parameter values for dataset 3.
ParametersValuesNeurons30Reg rate0.01Dropout0.4Batch size30Epochs13


### 4.5. Discussion

The section will be present the best models for each dataset.


#### 4.5.1. The Best Models for Dataset 1

Figure3 illustrates a comparison between the best models for CV and test performance for dataset 1. For CV performance, the proposed model has the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.24%, and F1 = 93.02%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%). LR with unigram and SVM with unigram have approximately the same performance.Figure 3
Comparison of performance the best models for dataset 1: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


#### 4.5.2. The Best Models for Ddataset 2

Figure4 illustrates a comparison between the best models for CV and test performance for dataset 2. For CV performance, the proposed model has the best performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while KNN with unigram has the worst performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while KNN with unigram has the worst performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%). LR with unigram and SVM with unigram have approximately the same performance.Figure 4
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


#### 4.5.3. The Best Models for Dataset 3

Figure5 illustrates a comparison between the best models for CV and test performance for dataset 3. For CV performance, the proposed model has the best performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while DT with unigram has obtained the lowest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%). For testing performance, the proposed model has the best performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while DT with unigram has the worst performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%).Figure 5
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


## 4.1. Experiment Setup

The experiments were conducted using a Google Colab RAM 25 GB, Python 3, and GPU. The three comparable models, the proposed model, LSTM, and CNN models, are implemented using the Keras library. The regular ML models have been implemented using the sci-kit-learn package. For optimization, grid search is used for ML, and the Hyperopt library is used for DL. For the embedding layer, a 200-dimensional word vector is used for the Glove set pretrained. For the datasets, three datasets of COVID-19 fake news are used. Each dataset is divided into 80% for training and 20% for testing. Each experiment has been repeated ten times. The result of cross-validation (CV) and testing performance has been registered.


## 4.2. Results of Dataset 1

### 4.2.1. Result of Applying ML to Dataset 1

Table4 describes the obtained performance of CV and the testing validation for ML using dataset 1. Further details are as follows:(i)
CV Result. For DT, bi-gram is registered the best performance (ACC = 79.41%, PRE = 79.83%, REC = 79.09%, and F1 = 79.45%), while four-gram has obtained the worst performance (ACC = 67.45%, PRE = 74.49%, REC = 67.63%, and F1 = 65.23%). For KNN, unigram is registered the highest performance (ACC = 87.52%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%), while four-gram is registered the worst performance (ACC = 64.83%, PRE = 72.84%, REC = 64.83%, and F1 = 61.55%). For LR, unigram is registered the highest performance (ACC = 92.81%, PRE = 92.96%, REC = 92.81%, and F1 = 92.81%), while four-gram is registered the worst performance (ACC = 70.48%, PRE = 79.29%, REC = 70.48%, and F1 = 67.8%). For RF, unigram is registered the highest performance (ACC = 88.71%, PRE = 89.23%, REC = 88.79%, and F1 = 88.86%), while four-gram is registered the worst performance (ACC = 66.92%, PRE = 76.59%, REC = 67.28%, and F1 = 63.15%). For SVM, unigram is registered the highest performance (ACC = 92.58%, PRE = 92.71%, REC = 92.58%, and F1 = 92.57%), while four-gram is registered the worst performance (ACC = 69.43%, PRE = 79.09%, REC = 69.43%, and F1 = 66.39%). For SVM, unigram is registered the highest performance (ACC = 90.77%, PRE = 90.92%, REC = 90.77%, and F1 = 90.76%), while four-gram is registered the worst performance (ACC = 72.39%, PRE = 79.16%, REC = 72.39%, and F1 = 70.49%).(ii)
Testing Result. For DT, bi-gram is registered the highest performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%), while four-gram is registered the worst performance (ACC = 58.44%, PRE = 60.02%, REC = 58.44%, and F1 = 51.28%). For KNN, unigram is registered the highest performance (ACC = 80.56%, PRE = 81.42%, REC = 80.56%, and F1 = 80.4%), while four-gram is registered the worst performance (ACC = 50.05%, PRE = 65.05%, REC = 50.05%, and F1 = 34.13%). For LR, unigram is registered the highest performance (ACC = 89.91%, PRE = 89.93%, REC = 89.91%, and F1 = 89.91%), while four-gram is registered the worst performance (ACC = 64.55%, PRE = 75.39%, REC = 64.55%, and F1 = 60.55%). For RF, unigram is registered the highest performance (ACC = 81.9%, PRE = 82.62%, REC = 81.9%, and F1 = 81.82%), while four-gram is registered the worst performance (ACC = 57.62%, PRE = 74.66%, REC = 57.62%, and F1 = 49.22%). For SVM, unigram is registered the highest performance (ACC = 89.57%, PRE = 89.57%, REC = 89.57%, and F1 = 89.57%), while four-gram is registered the worst performance (ACC = 60.52%, PRE = 61.11%, REC = 60.52%, and F1 = 60.16%). For NB, unigram is registered the highest performance (ACC = 88.57%, PRE = 88.75%, REC = 88.57%, and F1 = 88.55%), while four-gram is registered the worst performance (ACC = 58.48%, PRE = 60.61%, REC = 58.48%, and F1 = 50.6%).Table 4
The performance of applying ML to dataset 1
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram78.0478.2878.1177.7868.3168.5768.3168.24Bi-gram79.4179.8379.0979.4569.2771.0669.2769.32Tri-gram72.0476.4972.2370.8662.3469.7162.3458.74Four-gram67.4574.4967.6365.2358.4460.0258.4451.28KNNUnigram87.5288.0587.5287.4680.5681.4280.5680.4Bi-gram86.787.3486.786.6276.0676.0876.0676.05Tri-gram75.8478.1975.8475.3354.4276.3154.4242.94Four-gram64.8372.8464.8361.5550.0565.0550.0534.13LRUnigram92.8192.9692.8192.8189.9189.9389.9189.91Bi-gram90.790.9490.790.6877.2782.3177.2776.43Tri-gram82.5184.4182.5182.1369.6176.4569.6167.66Four-gram70.4879.2970.4867.864.5575.3964.5560.55RFUnigram88.7189.2388.7988.8681.982.6281.981.82Bi-gram83.0585.8183.0582.3277.9678.2977.9677.92Tri-gram76.3979.4776.5575.9764.5965.2764.5964.01Four-gram66.9276.5967.2863.1557.6274.6657.6249.22SVMUnigram92.5892.7192.5892.5789.5789.5789.5789.57Bi-gram90.590.7690.590.4886.4986.5286.4986.49Tri-gram80.9983.5280.9980.4574.9376.4274.9374.63Four-gram69.4379.0969.4366.3960.5261.1160.5260.16NBUnigram90.7790.9290.7790.7688.5788.7588.5788.55Bi-gram89.690.189.689.5582.5183.582.5182.36Tri-gram78.6282.7978.6277.863.0770.9563.0758.96Four-gram72.3979.1672.3970.4958.4860.6158.4850.6


### 4.2.2. Result of Applying DL to Dataset 1

Table5 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows:(i)
CV Result. The proposed model has obtained the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while LSTM has obtained the lowest performance (ACC = 84.55%, PRE = 83.7%, REC = 84.63%, and F1 = 84.69%)(ii)
Testing Result. he proposed model has obtained the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.248%, and F1 = 93.02%), while LSTM has obtained the lowest performance (ACC = 78.74%, PRE = 78.56%, REC = 78.66%, and F1 = 78.74%)Table 5
The performance of applying DL to dataset 1.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.7810099.1899.5593.2492.8793.2493.02CNN99.1195.0895.3995.0678.7978.8878.7978.76LSTM84.5583.784.6384.6978.7478.5678.6678.74


### 4.2.3. The Optimum DL Parameter Settings for Dataset 1

The best values of the proposed model’s parameters are shown in Table6. The optimal values for CNN’s parameters are shown in Table 7. The optimal settings of the LSTM parameters are shown in Table 8.Table 6
The optimum parameter values for dataset 1 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit196Dense unit 137Dense unit 2106Dropout LSTM0.2Dropout dense 10.3Dropout dense 20.4Batch size219Epochs7Table 7
The optimal CNN parameter values for dataset 1.
ParametersValuesFilter size31Kernel size2Max pooling5Unit for dense10Dropout0.1Batch size73Epochs13Table 8
The optimal LSTM parameter values for dataset 1.
ParametersValuesNeurons24Reg rate0.3Dropout0.2Batch size73Epochs14


## 4.2.1. Result of Applying ML to Dataset 1

Table4 describes the obtained performance of CV and the testing validation for ML using dataset 1. Further details are as follows:(i)
CV Result. For DT, bi-gram is registered the best performance (ACC = 79.41%, PRE = 79.83%, REC = 79.09%, and F1 = 79.45%), while four-gram has obtained the worst performance (ACC = 67.45%, PRE = 74.49%, REC = 67.63%, and F1 = 65.23%). For KNN, unigram is registered the highest performance (ACC = 87.52%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%), while four-gram is registered the worst performance (ACC = 64.83%, PRE = 72.84%, REC = 64.83%, and F1 = 61.55%). For LR, unigram is registered the highest performance (ACC = 92.81%, PRE = 92.96%, REC = 92.81%, and F1 = 92.81%), while four-gram is registered the worst performance (ACC = 70.48%, PRE = 79.29%, REC = 70.48%, and F1 = 67.8%). For RF, unigram is registered the highest performance (ACC = 88.71%, PRE = 89.23%, REC = 88.79%, and F1 = 88.86%), while four-gram is registered the worst performance (ACC = 66.92%, PRE = 76.59%, REC = 67.28%, and F1 = 63.15%). For SVM, unigram is registered the highest performance (ACC = 92.58%, PRE = 92.71%, REC = 92.58%, and F1 = 92.57%), while four-gram is registered the worst performance (ACC = 69.43%, PRE = 79.09%, REC = 69.43%, and F1 = 66.39%). For SVM, unigram is registered the highest performance (ACC = 90.77%, PRE = 90.92%, REC = 90.77%, and F1 = 90.76%), while four-gram is registered the worst performance (ACC = 72.39%, PRE = 79.16%, REC = 72.39%, and F1 = 70.49%).(ii)
Testing Result. For DT, bi-gram is registered the highest performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%), while four-gram is registered the worst performance (ACC = 58.44%, PRE = 60.02%, REC = 58.44%, and F1 = 51.28%). For KNN, unigram is registered the highest performance (ACC = 80.56%, PRE = 81.42%, REC = 80.56%, and F1 = 80.4%), while four-gram is registered the worst performance (ACC = 50.05%, PRE = 65.05%, REC = 50.05%, and F1 = 34.13%). For LR, unigram is registered the highest performance (ACC = 89.91%, PRE = 89.93%, REC = 89.91%, and F1 = 89.91%), while four-gram is registered the worst performance (ACC = 64.55%, PRE = 75.39%, REC = 64.55%, and F1 = 60.55%). For RF, unigram is registered the highest performance (ACC = 81.9%, PRE = 82.62%, REC = 81.9%, and F1 = 81.82%), while four-gram is registered the worst performance (ACC = 57.62%, PRE = 74.66%, REC = 57.62%, and F1 = 49.22%). For SVM, unigram is registered the highest performance (ACC = 89.57%, PRE = 89.57%, REC = 89.57%, and F1 = 89.57%), while four-gram is registered the worst performance (ACC = 60.52%, PRE = 61.11%, REC = 60.52%, and F1 = 60.16%). For NB, unigram is registered the highest performance (ACC = 88.57%, PRE = 88.75%, REC = 88.57%, and F1 = 88.55%), while four-gram is registered the worst performance (ACC = 58.48%, PRE = 60.61%, REC = 58.48%, and F1 = 50.6%).Table 4
The performance of applying ML to dataset 1
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram78.0478.2878.1177.7868.3168.5768.3168.24Bi-gram79.4179.8379.0979.4569.2771.0669.2769.32Tri-gram72.0476.4972.2370.8662.3469.7162.3458.74Four-gram67.4574.4967.6365.2358.4460.0258.4451.28KNNUnigram87.5288.0587.5287.4680.5681.4280.5680.4Bi-gram86.787.3486.786.6276.0676.0876.0676.05Tri-gram75.8478.1975.8475.3354.4276.3154.4242.94Four-gram64.8372.8464.8361.5550.0565.0550.0534.13LRUnigram92.8192.9692.8192.8189.9189.9389.9189.91Bi-gram90.790.9490.790.6877.2782.3177.2776.43Tri-gram82.5184.4182.5182.1369.6176.4569.6167.66Four-gram70.4879.2970.4867.864.5575.3964.5560.55RFUnigram88.7189.2388.7988.8681.982.6281.981.82Bi-gram83.0585.8183.0582.3277.9678.2977.9677.92Tri-gram76.3979.4776.5575.9764.5965.2764.5964.01Four-gram66.9276.5967.2863.1557.6274.6657.6249.22SVMUnigram92.5892.7192.5892.5789.5789.5789.5789.57Bi-gram90.590.7690.590.4886.4986.5286.4986.49Tri-gram80.9983.5280.9980.4574.9376.4274.9374.63Four-gram69.4379.0969.4366.3960.5261.1160.5260.16NBUnigram90.7790.9290.7790.7688.5788.7588.5788.55Bi-gram89.690.189.689.5582.5183.582.5182.36Tri-gram78.6282.7978.6277.863.0770.9563.0758.96Four-gram72.3979.1672.3970.4958.4860.6158.4850.6


## 4.2.2. Result of Applying DL to Dataset 1

Table5 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows:(i)
CV Result. The proposed model has obtained the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while LSTM has obtained the lowest performance (ACC = 84.55%, PRE = 83.7%, REC = 84.63%, and F1 = 84.69%)(ii)
Testing Result. he proposed model has obtained the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.248%, and F1 = 93.02%), while LSTM has obtained the lowest performance (ACC = 78.74%, PRE = 78.56%, REC = 78.66%, and F1 = 78.74%)Table 5
The performance of applying DL to dataset 1.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.7810099.1899.5593.2492.8793.2493.02CNN99.1195.0895.3995.0678.7978.8878.7978.76LSTM84.5583.784.6384.6978.7478.5678.6678.74


## 4.2.3. The Optimum DL Parameter Settings for Dataset 1

The best values of the proposed model’s parameters are shown in Table6. The optimal values for CNN’s parameters are shown in Table 7. The optimal settings of the LSTM parameters are shown in Table 8.Table 6
The optimum parameter values for dataset 1 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit196Dense unit 137Dense unit 2106Dropout LSTM0.2Dropout dense 10.3Dropout dense 20.4Batch size219Epochs7Table 7
The optimal CNN parameter values for dataset 1.
ParametersValuesFilter size31Kernel size2Max pooling5Unit for dense10Dropout0.1Batch size73Epochs13Table 8
The optimal LSTM parameter values for dataset 1.
ParametersValuesNeurons24Reg rate0.3Dropout0.2Batch size73Epochs14


## 4.3. Results of Dataset 2

### 4.3.1. Result of Applying ML to Dataset 2

Table9 describes the obtained performance of CV and the testing validation for ML using dataset 2. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 96.37%, PRE = 96.0%, REC = 96.38%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.5%, PRE = 94.16%, REC = 95.5%, and F1 = 93.44%). For KNN, unigram is registered the highest performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%), while four-gram is registered the worst performance (ACC = 95.53%, PRE = 95.03%, REC = 95.53%, and F1 = 93.5%). For LR, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.64%, PRE = 95.55%, REC = 95.64%, and F1 = 93.74%). For RF, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.51%, PRE = 94.31%, REC = 95.49%, and F1 = 93.45%). For SVM, unigram is registered the highest performance (ACC = 97.4%, PRE = 96.98%, REC = 97.0%, and F1 = 96.33%), while four-gram is registered the worst performance (ACC = 95.57%, PRE = 95.35%, REC = 95.57%, and F1 = 93.59%). For NB, unigram is registered the highest performance (ACC = 96.22%, PRE = 95.69%, REC = 96.22%, and F1 = 95.81%), while four-gram is registered the worst performance(ACC = 95.00%, PRE = 90.00%, REC = 95.00%, and F1 = 93.00%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 95.65%, PRE = 95.16%, REC = 95.65%, and F1 = 95.36%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.93%, and F1 = 93.29%). For KNN, unigram is registered the highest performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%), while four-gram is registered the worst performance (ACC = 95.30%, PRE = 94.2%, REC = 95.30%, and F1 = 93.20%). For LR, unigram is registered the highest performance (ACC = 96.69%, PRE = 96.38%, REC = 96.69%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.0%, PRE = 95.0%, REC = 95.0%, and F1 = 93.0%). For RF, unigram is registered the highest performance (ACC = 96.22%, PRE = 96.28%, REC = 96.22%, and F1 = 94.98%), while four-gram is registered the worst performance (ACC = 95.35%, PRE = 90.91%, REC = 95.35%, and F1 = 93.07%). For SVM, unigram is registered the highest performance (ACC = 96.90%, PRE = 96.80%, REC = 96.90%, and F1 = 96.04%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.39%, and F1 = 93.29%). For NB, unigram is registered the highest performance (ACC = 95.38%, PRE = 94.55%, REC = 95.38%, and F1 = 94.85%), while four-gram is registered the worst performance (ACC = 95.02%, PRE = 90.04%, REC = 95.01%, and F1 = 93.03%).Table 9
The performance of applying ML to dataset 2.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram96.3796.096.3896.0295.6595.1695.6595.36Bi-gram95.8694.9895.8294.6694.9893.6294.9894.09Tri-gram95.6594.9595.6293.995.6294.6895.6293.96Four-gram95.594.1695.593.4495.3994.195.3993.29KNNUnigram95.9496.0295.9494.495.4495.6595.4493.9Bi-gram95.5595.1995.5593.5595.5895.295.5893.7Tri-gram95.5595.1995.5593.5595.6494.9995.6493.9Four-gram95.5395.0395.5393.595.3094.295.3093.20LRUnigram97.2797.1297.2796.8396.6996.3896.6996.02Bi-gram95.9195.995.9194.3795.394.2995.394.63Tri-gram95.6695.7195.6693.895.5794.4195.5793.94Four-gram95.6495.5595.6493.7495.094.095.093.0RFUnigram96.9597.0196.9796.2496.2296.2896.2294.98Bi-gram95.695.0795.5993.6695.6495.7895.6493.79Tri-gram95.5294.5695.5193.4895.4995.5895.4993.43Four-gram95.5194.3195.4993.4595.3590.9195.3593.07SVMUnigram97.496.9897.096.3396.9096.8096.9096.04Bi-gram97.096.8097.396.3496.7896.6996.7896.02Tri-gram95.7395.6795.7393.9795.6194.8995.6193.88Four-gram95.5795.3595.5793.5995.3994.195.3993.29NBUnigram96.2295.6996.2295.8195.3894.5595.3894.85Bi-gram95.3690.9395.3693.0995.3590.9195.3593.07Tri-gram95.3690.9395.3693.0995.3590.9195.3593.07Four-gram95.0090.0095.0093.0095.0290.0495.0193.03


### 4.3.2. Result of Applying DL to Dataset 2

Table10 describes the obtained performance of CV and the testing validation for DL using dataset 2. Further details are as follows:(i)
CV Result. The proposed model is registered the highest performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while LSTM is registered the worst performance (ACC = 97.12%, PRE = 77.57%, REC = 90.83%, and F1 = 91.29%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while LSTM is registered the worst performance (ACC = 96.84%, PRE = 96.5%, REC = 96.84%, and F1 = 96.45%)Table 10
The performance of applying DL to dataset 2.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.8399.197.4798.0497.797.597.5397.7CNN99.9292.0890.8391.2997.597.3297.597.21LSTM97.1277.5750.8758.5396.8496.596.8496.45


### 4.3.3. The Optimum DL Parameter Settings for Dataset 2

The best values of the proposed model’s parameters are shown in Table11. The optimal values for CNN’s parameters are shown in Table 12. The optimal settings of the LSTM parameters are shown in Table 13.Table 11
The optimum parameter values for dataset 2 for the proposed model.
ParametersValuesFilter size1024Kernel size2Max pooling3LSTM unit154Dense unit 153Dense unit 283Dropout LSTM0.6Dropout dense 10.2Dropout dense 20.2Batch size219Epochs15Table 12
The optimal CNN parameter values for dataset 2.
ParametersValuesFilter size64Kernel size4Max pooling6Unit for dense28Dropout0.4Batch size73Epochs40Table 13
The optimal LSTM parameter values for dataset 2.
ParametersValuesNeurons45Reg rate0.05Dropout0.5Batch size146Epochs32


## 4.3.1. Result of Applying ML to Dataset 2

Table9 describes the obtained performance of CV and the testing validation for ML using dataset 2. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 96.37%, PRE = 96.0%, REC = 96.38%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.5%, PRE = 94.16%, REC = 95.5%, and F1 = 93.44%). For KNN, unigram is registered the highest performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%), while four-gram is registered the worst performance (ACC = 95.53%, PRE = 95.03%, REC = 95.53%, and F1 = 93.5%). For LR, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.64%, PRE = 95.55%, REC = 95.64%, and F1 = 93.74%). For RF, unigram is registered the highest performance (ACC = 97.27%, PRE = 97.12%, REC = 97.27%, and F1 = 96.83%), while four-gram is registered the worst performance (ACC = 95.51%, PRE = 94.31%, REC = 95.49%, and F1 = 93.45%). For SVM, unigram is registered the highest performance (ACC = 97.4%, PRE = 96.98%, REC = 97.0%, and F1 = 96.33%), while four-gram is registered the worst performance (ACC = 95.57%, PRE = 95.35%, REC = 95.57%, and F1 = 93.59%). For NB, unigram is registered the highest performance (ACC = 96.22%, PRE = 95.69%, REC = 96.22%, and F1 = 95.81%), while four-gram is registered the worst performance(ACC = 95.00%, PRE = 90.00%, REC = 95.00%, and F1 = 93.00%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 95.65%, PRE = 95.16%, REC = 95.65%, and F1 = 95.36%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.93%, and F1 = 93.29%). For KNN, unigram is registered the highest performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%), while four-gram is registered the worst performance (ACC = 95.30%, PRE = 94.2%, REC = 95.30%, and F1 = 93.20%). For LR, unigram is registered the highest performance (ACC = 96.69%, PRE = 96.38%, REC = 96.69%, and F1 = 96.02%), while four-gram is registered the worst performance (ACC = 95.0%, PRE = 95.0%, REC = 95.0%, and F1 = 93.0%). For RF, unigram is registered the highest performance (ACC = 96.22%, PRE = 96.28%, REC = 96.22%, and F1 = 94.98%), while four-gram is registered the worst performance (ACC = 95.35%, PRE = 90.91%, REC = 95.35%, and F1 = 93.07%). For SVM, unigram is registered the highest performance (ACC = 96.90%, PRE = 96.80%, REC = 96.90%, and F1 = 96.04%), while four-gram is registered the worst performance (ACC = 95.39%, PRE = 94.1%, REC = 95.39%, and F1 = 93.29%). For NB, unigram is registered the highest performance (ACC = 95.38%, PRE = 94.55%, REC = 95.38%, and F1 = 94.85%), while four-gram is registered the worst performance (ACC = 95.02%, PRE = 90.04%, REC = 95.01%, and F1 = 93.03%).Table 9
The performance of applying ML to dataset 2.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram96.3796.096.3896.0295.6595.1695.6595.36Bi-gram95.8694.9895.8294.6694.9893.6294.9894.09Tri-gram95.6594.9595.6293.995.6294.6895.6293.96Four-gram95.594.1695.593.4495.3994.195.3993.29KNNUnigram95.9496.0295.9494.495.4495.6595.4493.9Bi-gram95.5595.1995.5593.5595.5895.295.5893.7Tri-gram95.5595.1995.5593.5595.6494.9995.6493.9Four-gram95.5395.0395.5393.595.3094.295.3093.20LRUnigram97.2797.1297.2796.8396.6996.3896.6996.02Bi-gram95.9195.995.9194.3795.394.2995.394.63Tri-gram95.6695.7195.6693.895.5794.4195.5793.94Four-gram95.6495.5595.6493.7495.094.095.093.0RFUnigram96.9597.0196.9796.2496.2296.2896.2294.98Bi-gram95.695.0795.5993.6695.6495.7895.6493.79Tri-gram95.5294.5695.5193.4895.4995.5895.4993.43Four-gram95.5194.3195.4993.4595.3590.9195.3593.07SVMUnigram97.496.9897.096.3396.9096.8096.9096.04Bi-gram97.096.8097.396.3496.7896.6996.7896.02Tri-gram95.7395.6795.7393.9795.6194.8995.6193.88Four-gram95.5795.3595.5793.5995.3994.195.3993.29NBUnigram96.2295.6996.2295.8195.3894.5595.3894.85Bi-gram95.3690.9395.3693.0995.3590.9195.3593.07Tri-gram95.3690.9395.3693.0995.3590.9195.3593.07Four-gram95.0090.0095.0093.0095.0290.0495.0193.03


## 4.3.2. Result of Applying DL to Dataset 2

Table10 describes the obtained performance of CV and the testing validation for DL using dataset 2. Further details are as follows:(i)
CV Result. The proposed model is registered the highest performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while LSTM is registered the worst performance (ACC = 97.12%, PRE = 77.57%, REC = 90.83%, and F1 = 91.29%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while LSTM is registered the worst performance (ACC = 96.84%, PRE = 96.5%, REC = 96.84%, and F1 = 96.45%)Table 10
The performance of applying DL to dataset 2.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model99.8399.197.4798.0497.797.597.5397.7CNN99.9292.0890.8391.2997.597.3297.597.21LSTM97.1277.5750.8758.5396.8496.596.8496.45


## 4.3.3. The Optimum DL Parameter Settings for Dataset 2

The best values of the proposed model’s parameters are shown in Table11. The optimal values for CNN’s parameters are shown in Table 12. The optimal settings of the LSTM parameters are shown in Table 13.Table 11
The optimum parameter values for dataset 2 for the proposed model.
ParametersValuesFilter size1024Kernel size2Max pooling3LSTM unit154Dense unit 153Dense unit 283Dropout LSTM0.6Dropout dense 10.2Dropout dense 20.2Batch size219Epochs15Table 12
The optimal CNN parameter values for dataset 2.
ParametersValuesFilter size64Kernel size4Max pooling6Unit for dense28Dropout0.4Batch size73Epochs40Table 13
The optimal LSTM parameter values for dataset 2.
ParametersValuesNeurons45Reg rate0.05Dropout0.5Batch size146Epochs32


## 4.4. Results of Dataset 3

### 4.4.1. Result of Applying ML to Dataset 3

Table14 describes the obtained performance of CV and the testing validation for ML using dataset 3. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%), while four-gram is registered the worst performance (ACC = 67.67%, PRE = 64.84%, REC = 67.59%, and F1 = 61.23%). For KNN, unigram is registered the highest performance (ACC = 73.16%, PRE = 76.98%, REC = 73.32%, and F1 = 71.69%), while four-gram is registered the worst performance (ACC = 67.44%, PRE = 70.66%, REC = 67.44%, F1 = 68.1%). For LR, unigram is registered the highest performance (ACC = 81.71%, PRE = 81.57%, REC = 81.71%, nd F1 = 81.06%), while four-gram is registered the worst performance (ACC = 68.87%, PRE = 69.42%, REC = 68.87%, and F1 = 61.02%). For RF, unigram is registered the highest performance (ACC = 80.2%, PRE = 79.84%, REC = 79.48%, and F1 = 78.21%), while four-gram is registered the worst performance (ACC = 67.41%, PRE = 72.33%, REC = 67.46%, F1 = 56.2%). For SVM, unigram is registered the highest performance (ACC = 82.12%, PRE = 82.01%, REC = 82.12%, and F1 = 81.63%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.13%, REC = 69.1%, and F1 = 60.95%). For NB, bi-gram is registered the highest performance (ACC = 80.25%, PRE = 80.27%, REC = 80.25%, and F1 = 80.2%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.16%, REC = 69.23%, and F1 = 60.17%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%), while four-gram is registered the worst performance (ACC = 52.98%, PRE = 66.1%, REC = 52.98%, and F1 = 52.49%). For KNN, unigram is registered the highest performance (ACC = 69.12%, PRE = 75.72%, REC = 69.12%, and F1 = 59.7%), while four-gram is registered the worst performance (ACC = 35.8%, PRE = 67.11%, REC = 35.8%, and F1 = 21.7%). For LR, unigram is registered the highest performance (ACC = 74.7%, PRE = 75.14%, REC = 74.7%, and F1 = 71.71%), while four-gram is registered the worst performance (ACC = 60.63%, PRE = 69.25%, REC = 60.63%, and F1 = 61.4%). For RF, unigram is registered the highest performance (ACC = 75.32%, PRE = 75.98%, REC = 75.32%, and F1 = 72.45%), while four-gram is registered the worst performance (ACC = 65.5%, PRE = 58.5%, REC = 65.5%, and F1 = 54.0%). For SVM, unigram is registered the highest performance (ACC = 76.92%, PRE = 76.49%, REC = 76.92%, and F1 = 75.54%), while four-gram is registered the worst performance (ACC = 65.22%, PRE = 55.61%, REC = 65.22%, and F1 = 53.75%). For NB, bi-gram is registered the highest performance (ACC = 72.26%, PRE = 71.11%, REC = 72.26%, and F1 = 71.09%), while four-gram is registered the worst performance (ACC = 65.74%, PRE = 58.39%, REC = 65.74%, and F1 = 53.86%).Table 14
The performance of applying ML to dataset 3.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram72.2172.572.3372.0766.9666.766.9666.81Bi-gram72.1172.171.9171.8464.7766.1864.7765.27Tri-gram68.8271.9868.7969.4661.1466.9461.1462.14Four-gram67.6764.8467.5961.2352.9866.152.9852.49KNNUnigram73.1676.9873.3271.6969.1275.7269.1259.7Bi-gram70.4575.1270.4562.6968.1773.4868.1757.92Tri-gram73.3272.6173.1670.9567.5269.8867.5256.99Four-gram67.4470.6667.4468.135.867.1135.821.7LRUnigram81.7181.5781.7181.0674.775.1474.771.71Bi-gram77.3977.8777.3975.3368.7569.2468.7568.96Tri-gram77.2877.8177.2875.1268.8669.1968.8669.01Four-gram68.8769.4268.8761.0260.6369.2560.6361.4RFUnigram80.279.8479.4878.2175.3275.9875.3272.45Bi-gram73.3976.3473.8768.565.7158.2965.7154.0Tri-gram67.8272.7167.9857.2165.7158.6365.7154.26Four-gram67.4172.3367.4656.265.558.565.554.0SVMUnigram82.1282.0182.1281.6376.9276.4976.9275.54Bi-gram74.7176.6174.7170.9566.3562.8966.3555.36Tri-gram69.571.5769.561.7266.0360.9766.0355.42Four-gram69.171.1369.160.9565.2255.6165.2253.75NBUnigram79.9779.8979.9778.9270.6273.870.6263.58Bi-gram80.2580.2780.2580.272.2671.1172.2671.09Tri-gram69.2171.7269.2160.9166.1161.8766.1154.06Four-gram69.171.1669.2360.1765.7458.3965.7453.86


### 4.4.2. Result of Applying DL to Dataset 3

Table15 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows.(i)
CV Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while LSTM is registered the worst performance (ACC = 88.56%, PRE = 91.19%, REC = 91.89%, and F1 = 91.38%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while LSTM is registered the worst performance (ACC = 70.16%, PRE = 69.92%, REC = 70.16%, F1 = 69.9%)Table 15
The performance of applying DL to dataset 3.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model97.798.1898.4198.2877.2477.8777.2477.02CNN93.5193.9296.8695.2171.7970.8771.7971.08LSTM88.5691.1991.8991.3870.1669.9270.1669.98


### 4.4.3. The Optimum DL Parameter Settings for Dataset 3

The best values of the proposed model’s parameters are shown in Table16. The optimal values for CNN’s parameters are shown in Table 17. The optimal settings of the LSTM parameters are shown in Table 18.Table 16
The optimum parameter values for dataset 3 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit55Dense unit 1127Dense unit 276Dropout LSTM0.7Dropout dense 10.6Dropout dense 20.4Batch size219Epochs10Table 17
The optimal CNN parameter values for dataset 3.
ParametersValuesFilter size32Kernel size4Max pooling3Unit for dense6Dropout0.4Batch size146Epochs13Table 18
The optimal LSTM parameter values for dataset 3.
ParametersValuesNeurons30Reg rate0.01Dropout0.4Batch size30Epochs13


## 4.4.1. Result of Applying ML to Dataset 3

Table14 describes the obtained performance of CV and the testing validation for ML using dataset 3. Further details are as follows:(i)
CV Result. For DT, unigram is registered the highest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%), while four-gram is registered the worst performance (ACC = 67.67%, PRE = 64.84%, REC = 67.59%, and F1 = 61.23%). For KNN, unigram is registered the highest performance (ACC = 73.16%, PRE = 76.98%, REC = 73.32%, and F1 = 71.69%), while four-gram is registered the worst performance (ACC = 67.44%, PRE = 70.66%, REC = 67.44%, F1 = 68.1%). For LR, unigram is registered the highest performance (ACC = 81.71%, PRE = 81.57%, REC = 81.71%, nd F1 = 81.06%), while four-gram is registered the worst performance (ACC = 68.87%, PRE = 69.42%, REC = 68.87%, and F1 = 61.02%). For RF, unigram is registered the highest performance (ACC = 80.2%, PRE = 79.84%, REC = 79.48%, and F1 = 78.21%), while four-gram is registered the worst performance (ACC = 67.41%, PRE = 72.33%, REC = 67.46%, F1 = 56.2%). For SVM, unigram is registered the highest performance (ACC = 82.12%, PRE = 82.01%, REC = 82.12%, and F1 = 81.63%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.13%, REC = 69.1%, and F1 = 60.95%). For NB, bi-gram is registered the highest performance (ACC = 80.25%, PRE = 80.27%, REC = 80.25%, and F1 = 80.2%), while four-gram is registered the worst performance (ACC = 69.1%, PRE = 71.16%, REC = 69.23%, and F1 = 60.17%).(ii)
Testing Result. For DT, unigram is registered the highest performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%), while four-gram is registered the worst performance (ACC = 52.98%, PRE = 66.1%, REC = 52.98%, and F1 = 52.49%). For KNN, unigram is registered the highest performance (ACC = 69.12%, PRE = 75.72%, REC = 69.12%, and F1 = 59.7%), while four-gram is registered the worst performance (ACC = 35.8%, PRE = 67.11%, REC = 35.8%, and F1 = 21.7%). For LR, unigram is registered the highest performance (ACC = 74.7%, PRE = 75.14%, REC = 74.7%, and F1 = 71.71%), while four-gram is registered the worst performance (ACC = 60.63%, PRE = 69.25%, REC = 60.63%, and F1 = 61.4%). For RF, unigram is registered the highest performance (ACC = 75.32%, PRE = 75.98%, REC = 75.32%, and F1 = 72.45%), while four-gram is registered the worst performance (ACC = 65.5%, PRE = 58.5%, REC = 65.5%, and F1 = 54.0%). For SVM, unigram is registered the highest performance (ACC = 76.92%, PRE = 76.49%, REC = 76.92%, and F1 = 75.54%), while four-gram is registered the worst performance (ACC = 65.22%, PRE = 55.61%, REC = 65.22%, and F1 = 53.75%). For NB, bi-gram is registered the highest performance (ACC = 72.26%, PRE = 71.11%, REC = 72.26%, and F1 = 71.09%), while four-gram is registered the worst performance (ACC = 65.74%, PRE = 58.39%, REC = 65.74%, and F1 = 53.86%).Table 14
The performance of applying ML to dataset 3.
ModelsFeature selection methodsCross-validation performanceTest performanceACCPRERECF1ACCPRERECF1DTUnigram72.2172.572.3372.0766.9666.766.9666.81Bi-gram72.1172.171.9171.8464.7766.1864.7765.27Tri-gram68.8271.9868.7969.4661.1466.9461.1462.14Four-gram67.6764.8467.5961.2352.9866.152.9852.49KNNUnigram73.1676.9873.3271.6969.1275.7269.1259.7Bi-gram70.4575.1270.4562.6968.1773.4868.1757.92Tri-gram73.3272.6173.1670.9567.5269.8867.5256.99Four-gram67.4470.6667.4468.135.867.1135.821.7LRUnigram81.7181.5781.7181.0674.775.1474.771.71Bi-gram77.3977.8777.3975.3368.7569.2468.7568.96Tri-gram77.2877.8177.2875.1268.8669.1968.8669.01Four-gram68.8769.4268.8761.0260.6369.2560.6361.4RFUnigram80.279.8479.4878.2175.3275.9875.3272.45Bi-gram73.3976.3473.8768.565.7158.2965.7154.0Tri-gram67.8272.7167.9857.2165.7158.6365.7154.26Four-gram67.4172.3367.4656.265.558.565.554.0SVMUnigram82.1282.0182.1281.6376.9276.4976.9275.54Bi-gram74.7176.6174.7170.9566.3562.8966.3555.36Tri-gram69.571.5769.561.7266.0360.9766.0355.42Four-gram69.171.1369.160.9565.2255.6165.2253.75NBUnigram79.9779.8979.9778.9270.6273.870.6263.58Bi-gram80.2580.2780.2580.272.2671.1172.2671.09Tri-gram69.2171.7269.2160.9166.1161.8766.1154.06Four-gram69.171.1669.2360.1765.7458.3965.7453.86


## 4.4.2. Result of Applying DL to Dataset 3

Table15 describes the obtained performance of CV and the testing validation for DL using dataset 1. Further details are as follows.(i)
CV Result. The proposed model is registered the highest performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while LSTM is registered the worst performance (ACC = 88.56%, PRE = 91.19%, REC = 91.89%, and F1 = 91.38%)(ii)
Testing Result. The proposed model is registered the highest performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while LSTM is registered the worst performance (ACC = 70.16%, PRE = 69.92%, REC = 70.16%, F1 = 69.9%)Table 15
The performance of applying DL to dataset 3.
ModelsCV performanceTesting performanceACCPRERECF1ACCPRERECF1The proposed model97.798.1898.4198.2877.2477.8777.2477.02CNN93.5193.9296.8695.2171.7970.8771.7971.08LSTM88.5691.1991.8991.3870.1669.9270.1669.98


## 4.4.3. The Optimum DL Parameter Settings for Dataset 3

The best values of the proposed model’s parameters are shown in Table16. The optimal values for CNN’s parameters are shown in Table 17. The optimal settings of the LSTM parameters are shown in Table 18.Table 16
The optimum parameter values for dataset 3 for the proposed model.
ParametersValuesFilter size768Kernel size3Max pooling3LSTM unit55Dense unit 1127Dense unit 276Dropout LSTM0.7Dropout dense 10.6Dropout dense 20.4Batch size219Epochs10Table 17
The optimal CNN parameter values for dataset 3.
ParametersValuesFilter size32Kernel size4Max pooling3Unit for dense6Dropout0.4Batch size146Epochs13Table 18
The optimal LSTM parameter values for dataset 3.
ParametersValuesNeurons30Reg rate0.01Dropout0.4Batch size30Epochs13


## 4.5. Discussion

The section will be present the best models for each dataset.


### 4.5.1. The Best Models for Dataset 1

Figure3 illustrates a comparison between the best models for CV and test performance for dataset 1. For CV performance, the proposed model has the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.24%, and F1 = 93.02%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%). LR with unigram and SVM with unigram have approximately the same performance.Figure 3
Comparison of performance the best models for dataset 1: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


### 4.5.2. The Best Models for Ddataset 2

Figure4 illustrates a comparison between the best models for CV and test performance for dataset 2. For CV performance, the proposed model has the best performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while KNN with unigram has the worst performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while KNN with unigram has the worst performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%). LR with unigram and SVM with unigram have approximately the same performance.Figure 4
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


### 4.5.3. The Best Models for Dataset 3

Figure5 illustrates a comparison between the best models for CV and test performance for dataset 3. For CV performance, the proposed model has the best performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while DT with unigram has obtained the lowest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%). For testing performance, the proposed model has the best performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while DT with unigram has the worst performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%).Figure 5
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


## 4.5.1. The Best Models for Dataset 1

Figure3 illustrates a comparison between the best models for CV and test performance for dataset 1. For CV performance, the proposed model has the best performance (ACC = 99.78%, PRE = 100%, REC = 99.18%, and F1 = 99.55%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 88.05%, REC = 87.52%, and F1 = 87.46%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 93.24%, PRE = 92.87%, REC = 93.24%, and F1 = 93.02%), while DT with bi-gram has the worst performance (ACC = 69.27%, PRE = 71.06%, REC = 69.27%, and F1 = 69.32%). LR with unigram and SVM with unigram have approximately the same performance.Figure 3
Comparison of performance the best models for dataset 1: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


## 4.5.2. The Best Models for Ddataset 2

Figure4 illustrates a comparison between the best models for CV and test performance for dataset 2. For CV performance, the proposed model has the best performance (ACC = 99.83%, PRE = 99.1%, REC = 97.47%, and F1 = 98.04%), while KNN with unigram has the worst performance (ACC = 95.94%, PRE = 96.02%, REC = 95.94%, and F1 = 94.4%). LR with unigram and SVM with unigram have approximately the same performance. For testing performance, the proposed model has the best performance (ACC = 97.7%, PRE = 97.5%, REC = 97.53%, and F1 = 97.7%), while KNN with unigram has the worst performance (ACC = 95.44%, PRE = 95.65%, REC = 95.44%, and F1 = 93.9%). LR with unigram and SVM with unigram have approximately the same performance.Figure 4
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


## 4.5.3. The Best Models for Dataset 3

Figure5 illustrates a comparison between the best models for CV and test performance for dataset 3. For CV performance, the proposed model has the best performance (ACC = 97.7%, PRE = 98.18%, REC = 98.41%, and F1 = 98.28%), while DT with unigram has obtained the lowest performance (ACC = 72.21%, PRE = 72.5%, REC = 72.33%, and F1 = 72.07%). For testing performance, the proposed model has the best performance (ACC = 77.24%, PRE = 77.87%, REC = 77.24%, and F1 = 77.02%), while DT with unigram has the worst performance (ACC = 66.96%, PRE = 66.7%, REC = 66.96%, and F1 = 66.81%).Figure 5
Comparison of performance the best models for dataset 2: (a) CV and (b) testing.
(a)(b)Overall, the proposed model has achieved the best performance for CV and testing.


## 5. Conclusion

In this paper, the hybrid model based on CNN and LSTM has been proposed to detect COVID-19 fake news. Some layers for the proposed model were developed (i.e., an embedding layer, a convolutional layer, a pooling layer, an LSTM layer, a flatten layer, a dense layer, and an output layer. Three datasets about COVID-19 fake news were used to evaluate the proposed model. The experimental results have proved the superiority of our proposed model to detect the fake news of COVID-19 among six machine learning models (i.e., DT, KNN, LR, RF SVM, and NB) and two deep learning models (i.e., CNN and LSTM).



---

*Source: 9615034-2021-11-15.xml*