key: cord-1002811-qfxaezx8 authors: Aldhyani, Theyazn H. H.; Alkahtani, Hasan title: A Bidirectional Long Short-Term Memory Model Algorithm for Predicting COVID-19 in Gulf Countries date: 2021-10-21 journal: Life (Basel) DOI: 10.3390/life11111118 sha: 4c0dcb6b90bc7cc96b55746cb1117dc1ae703b30 doc_id: 1002811 cord_uid: qfxaezx8 Accurate prediction models have become the first goal for aiding pandemic-related decisions. Modeling and predicting the number of new active cases and deaths are important steps for anticipating and controlling COVID-19 outbreaks. The aim of this research was to develop an accurate prediction system for the COVID-19 pandemic that can predict the numbers of active cases and deaths in the Gulf countries of Saudi Arabia, Oman, the United Arab Emirates (UAE), Kuwait, Bahrain, and Qatar. The novelty of the proposed approach is that it uses an advanced prediction model—the bidirectional long short-term memory (Bi-LSTM) network deep learning model. The datasets were collected from an available repository containing updated registered cases of COVID-19 and showing the global numbers of active COVID-19 cases and deaths. Statistical analyses (e.g., mean square error, root mean square error, mean absolute error, and Spearman’s correlation coefficient) were employed to evaluate the results of the adopted Bi-LSTM model. The Bi-LSTM results based on the correlation metric gave predicted confirmed COVID-19 cases of 99.67%, 99.34%, 99.94%, 99.64%, 98.95%, and 99.91% for Saudi Arabia, Oman, the UAE, Kuwait, Bahrain, and Qatar, respectively, while testing the Bi-LSTM model for predicting COVID-19 mortality gave accuracies of 99.87%, 97.09%, 99.53%, 98.71%, 95.62%, and 99%, respectively. The Bi-LSTM model showed significant results using the correlation metric. Overall, the Bi-LSTM model demonstrated significant success in predicting COVID-19. The Bi-LSTM-based deep learning network achieves optimal prediction results and is effective and robust for predicting the numbers of active cases and deaths from COVID-19 in the studied Gulf countries. Corona disease of 2019 (COVID-19) is a new respiratory disease that first reported in Wuhan City, Hobi Province, China. This disease differs from other coronaviruses (CoV) that are spread between humans in that it causes the symptoms of reproductive extinction of CoV [1] . On 21 January 2020, the World Health Organization (WHO) suggested that there was a possible sustained human-to-human transmission of the novel COVID diseases [2] . On 31 January 2020, the WHO declared a global emergency, and on 11 March, the disease was recognized as a global pandemic [3] . Current estimates suggest that the time of the incubation of the disease is 14 days after exposure. Symptoms include a rise in temperature and trouble breathing, especially if these symptoms appear 14 days from the date of travel to China or other countries with confirmed COVID-19 cases. Suspected patients are given instructions and treatments by healthcare providers before attending hospital or presenting for laboratory examinations. Currently, the WHO has approved some specific vaccines for COVID-19 [4, 5] . In the past, many pandemics, such as those stemming from severe acute respiratory syndrome (SARS), were controlled and halted by using conventional control measures, including patient isolation and travel restrictions. Presently, these measures are being implemented in most countries to reduce the spread of the COVID-19 outbreak [6, 7] . In fact, having methods that enable reliable prediction of the spread of COVID-19 would be of great benefit in persuading the public that it is crucial to adhere to these measures [8, 9] . On 28 January 2020, the United Arab Emirates (UAE) Ministry of Health and Community Protection announced a diagnosis of the new COVID-19 for one family member coming from Wuhan City in the People's Republic of China. This was the first confirmed case in the Gulf countries, and it was followed by a rapid increase in the confirmed cases in the region. On 20 April 2020, Saudi Arabia topped the list of Gulf states in terms of the number of people infected with the Middle East respiratory syndrome (MERS)-CoV, with 10,484 cases and 103 deaths, followed by the UAE with 7265 cases and 43 deaths, Qatar with 6015 cases and 9 deaths, Bahrain with 1895 cases and 7 deaths, Kuwait with 1995 cases and 6 deaths, and Oman with 1410 and 7 deaths, according to the latest statistics prepared by Gulf Online. The world is currently facing rapid developments related to the outbreak of COVID-19, and Gulf countries are seeking precautionary and preventive measures to reduce the spread of the diseases and mitigate its effects. Such important measures have had an impact on the business environment and the overall output of society. The Gulf countries have put in place packages of resolutions and measures to mitigate the economic effects of the pandemic to help the business sector overcome it with the least amount of damage. Table 1 shows that such circumstances raise numerous inquiries about the potential effects of this epidemic on financial reports, and as highlighted by the Saudi Association of Chartered Accountants, the international standards of the financial report adopted in Saudi Arabia are based on principles that require the administration to work hard. For the sake of obtaining information about the influence of COVID-19 on the population of particular countries and predicting the number of possible cases and expected dates for the coronavirus pandemic to end in these countries, we proposed a machine learning model that can be controlled on Cloud Data Centers (CDCs) to provide precise information on predicting the spread of the disease. This will help in monitoring the response of the governments and citizens. The availability of accurate models for predicting outbreaks provides valuable information on diseases that are likely to spread and their consequences. This collected information gives governments and other organizations the chance to propose new policies that can help meet the threats posed by these pandemics [10] . The COVID-19 pandemic has resulted in the infection of more than 162 million people and the registration of more than 3.3 million deaths around the world. Compared with other outbreaks, COVID-19 has shown a nonlinear nature and different features that raise questions about the effectiveness of the available standard models [11] . Many variables, including differences in behaviors among individuals in diverse geographical areas and differences in the policies for controlling the pandemic, play significant roles in decreasing the accuracy of the existing models [12] . Thus, current models face some challenges that interfere with the precision of the obtained results. New models have been developed to cope with these challenges by adopting additional assumptions, such as the effects of quarantines, social distancing, and lockdowns [13] [14] [15] . Several prediction systems have been proposed by different researchers for predicting the spread of COVID-19, e.g., [16] [17] [18] [19] . Machine learning algorithms for predicting COVID-19 have been described [20] [21] [22] . Other researchers [23, 24] have used evolutionbased convolutional neural networks, while still others [25, 26] have adopted transmission models for the prediction of COVID-19. An agent-based method has also been invoked [27] to predict influenza epidemics in China via a search query [28] . Researchers have also used Bayesian regression models [29, 30] or have attempted to investigate the evolution of COVID-19 to find the causes of the disease [31, 32] . Recently, social media have been exploited to find the correlation between clinical data and queries submitted by people with regard to the transmission of the infection [33] [34] [35] . Earlier studies have focused on predicting the transmission of other epidemics, such as SARS [36] , influenza [37] , and dengue fever [38] . Since the beginning of the COVID-19 pandemic, many researchers have attempted to predict the number of confirmed cases and deaths in particular countries in an effort to decrease the spread of the disease. The systems proposed in these studies have proven useful for governments, official health organizations, and the WHO. For example, health surveillance systems can be developed using Twitter data to predict infectious diseases [39] . Some studies have proposed deep learning algorithms to predict infectious diseases [40, 41] , as these algorithms can be used to analyze and predict big data from healthcare datasets [42, 43] . Xu et al. [40] used a deep learning approach and a statistical model, such as the autoregressive integrated moving average (ARIMA) model, for forecasting purposes and noted that the deep learning algorithm achieved better performance [40] . Aldhyani et al. [44] introduced an adaptive fuzzy inference neural network (ANFIS) model to forecast chronic diseases using Google search queries. Theyazn et al. [45] used a soft computing algorithm to classify chronic diseases. Kang et al. [46] , Yuan et al. [47] , and Philip et al. [48] developed surveillance systems that could forecast influenza outbreaks based on internet data. Milinovich et al. [49] developed a surveillance system to predict infectious diseases by employing search data from an Australian engine search, while. Cook et al. [50] used machine learning to predict COVID-19 methodology. COVID-19 modeling and prediction are highly significant undertakings for determining the imaginable future impact of the disease. Developing a model for the spread and effects of COVID-19 can be tremendously important for understanding the COVID-19 impact [51] . In fact, artificial intelligence and traditional statistical models can help in modeling and forecasting COVID-19 [52] [53] [54] [55] [56] [57] . In the current research work, the main goal was to achieve an accurate prediction model using a deep learning algorithm. Zeroual et al. [58] predicted infectious cases in four countries by applying five models: recurrent neural network, LSTM, Bi-LSTM, gated recurrent unit, and variational autoencoder algorithms. Gupta et al. [59] implemented susceptible-exposed-infectious-removed and regression models to forecast COVID-19 cases in India. Shahid et al. [60] proposed ARIMA, SVR, LSTM, and Bi-LSTM to predict COVID-19 instances. Yadav et al. [61] introduced support vector machine (SVM), naïve Bayes (NB), LR, decision tree (DT), random forest (RF), and LSTM to predict confirmed COVID-19 cases based on data from different countries. Rustam et al. [62] also used different models, such as SVM and exponential smoothing (ES), to forecast harmful factors that promote COVID-19 spread. Other authors have used different deep learning neural network algorithms, such as the long short-term memory model (LSTM) [61] [62] [63] and a gated recurrent unit (GRU)-based model [64] , for predicting various time series applications. The robustness of each model relies on the estimation errors and the time costs. Jelena et al. [65] used the regression method for modeling and predicting COVID-1 infection. They also discussed the use of machine learning and evolutionary computing (EC) methods with regression. Their dataset was gathered from various regions to examine their proposed system, which was used to predict active, confirmed, and active cases. Evaluation of the results of the proposed system using the mean square error (MSE) and root mean square error (RMSE) metrics revealed the system score with the highest percentages of RNN (95.1), ARIM (0.95), and MPL (98%) with respect to R2. Isra et al. [66] proposed Holt-Winters and ARIMA models to predict COVID-19 in Saudi Arabia from 24 March 2020 [67] proposed the use of an ARIMA model and a susceptible-infected-recovered (SIR) model to predict the spread of COVID-19 in Saudi Arabia in the time interval from 2 March 2020 to 30 June 2020. Their application of an ARIMA model with different lags (1,0,2), (1,1,1), (1, 1, 3) showed that an ARIMA model with lag (1,1,1) was better than the others and gave scores of R2 (0.96) and RMSE (341) in that period. Nahla et al. [68] presented two deep learning approaches (LSTM and GRU) to predict COVID-19 infection in Egypt, Kuwait, and Saudi Arabia from 1 May 2020 to 12 June 2020. The empirical results showed that the LSTM model achieved the highest percentages for the evaluation metrics MAPE (0.445), RMSE (29.8), and MAE (28.0). Sina et al. [69] presented a study comparing SIR and susceptible-exposed-infectious-removed (SEIR) models to forecast COVID-19 based on a dataset collected from Italy, China, the USA, Iran, and Germany with a time period of 30 days. They used RMSE to test the obtained results of the proposed system and obtained RMSE values of 1020 for Italy, 2524 for China, 1267 for Iran, 22.35 for the USA, and 55.14 for Germany. Gergo et al. [70] used the adaptive network-based fuzzy inference system (ANFIS) model to predict COVID-19 infections with datasets collected from the Hungarian surveillance system over a period of nine days. Use of the MAPE, RMSE, and determination coefficient metrics to test and evaluate the proposed system revealed that the proposed system can serve as an alternative model for a strategy to control the spread of COVID-19. The Bi-LSTM model, which forecasts the maximal number of confirmed cases that will contract the disease per country in a specific time interval and the maximal number of death cases per country, has been proposed to predict COVID-19 cases in the Gulf countries. The main objectives of this research were to present an advanced Bi-LSTM artificial intelligence model to forecast COVID-19 in the Gulf countries, use a validation method to confirm the reliability of the Bi-LSTM model for estimating COVID-19, and include COVID-19 datasets from more than one country to test the robustness of the developed Bi-LSTM model. The novelty of this study is that it describes the development of a system that can assist government agencies and medical personnel to be prepared for forthcoming pandemics and to ensure greater readiness in the healthcare systems. This section presents the Bi-LSTM network for predicting COVID-19. The present research used real COVID-19 data collected from the website Our World in Data. The Bi-LSTM algorithm was proposed to predict the number of active cases and deaths in the Gulf countries of Saudi Arabia, Oman, the United Arab Emirates (UAE), Kuwait, Bahrain, and Qatar. The research data were gathered from the publicly available repository https:// ourworldindata.org/coronavirus-testing (accessed on 15 July 2020). The available repository contains updated data for COVID-19 cases around the world. In this research, we focused on the Gulf countries of Saudi Arabia, Oman, the UAE, Kuwait, Bahrain, and Qatar. We collected confirmed COVID-19 cases by different start dates, as mentioned in Table 2 , to the end date of 8 June 2020. Table 3 summarizes the simple dataset of death cases with different time intervals to 8 June 2020. Each country has a different time interval, as presented in Figure 1 . The x-axis values represent the numbers of instances for each country, while the y-axis values represent the range of values of daily cases. A min-max method was used to transform the data to values between zero and one, as scaling the data can improve the system for predicting COVID-19. The two main advantages of scaling are to avoid instances of greater numeric ranges dominating those with smaller numeric ranges and to prevent numerical difficulties during the prediction. The transformation is accomplished as follows (Equation (1)): (1) where is the minimum of the data, and is the maximum of the data. is the minimum number zero, and is the maximum number one. Memory units in long short-term memory (LSTM) can ultimately carry the results from observation data into the prediction of . The process of implementation occurs in only one direction, forward, which neglects the backward connection and makes the system less efficient. This drawback is overcome by performing the data-training phase in a Bi-LSTM system in two sequential directions: forward and backward. This improves the performance of the model [71] [72] [73] [74] [75] [76] [77] . Bi-LSTM was used for forecasting along coastal areas of Queensland, Australia [78] , and a developed Bi-LSTM model was used for COVID-19 cases in Japan [79] . Yuchao et al. [80] proposed a Bi-LSTM model to predict ship roll. Program code is variable in this link: https: The framework of the long short-term memory model is presented in Figure 2 . The structure of Bi-LSTM is displayed in Figure 3 . Table 4 shows the significant parameters of A min-max method was used to transform the data to values between zero and one, as scaling the data can improve the system for predicting COVID-19. The two main advantages of scaling are to avoid instances of greater numeric ranges dominating those with smaller numeric ranges and to prevent numerical difficulties during the prediction. The transformation is accomplished as follows (Equation (1)): where x min is the minimum of the data, and x max is the maximum of the data. New min x is the minimum number zero, and New max x is the maximum number one. Memory units in long short-term memory (LSTM) can ultimately carry the results from observation data X into the prediction of Y. The process of implementation occurs in only one direction, forward, which neglects the backward connection and makes the system less efficient. This drawback is overcome by performing the data-training phase in a Bi-LSTM system in two sequential directions: forward and backward. This improves the performance of the model [71] [72] [73] [74] [75] [76] [77] . Bi-LSTM was used for forecasting along coastal areas of Queensland, Australia [78] , and a developed Bi-LSTM model was used for COVID-19 cases in Japan [79] . Yuchao et al. [80] proposed a Bi-LSTM model to pre- The framework of the long short-term memory model is presented in Figure 2 . The structure of Bi-LSTM is displayed in Figure 3 . Table 4 shows the significant parameters of the Bi-LSTM algorithm for predicting COVID-19 in the Gulf countries. : cell gate; ℎ : is a hidden state to correspond to input data. All gates depend on the size of the data. is the weight matrices between the cells. The bias values for each layer are designated by , and the sigmoid function σ and hyperbolic tangent function are used as activation functions. The activation function formulas are represented in Equations (7) and (8). where is the input data. The Bi-LSTM algorithm is evaluated and tested using the evaluation metrics. Five statistical analyses (the MSE, RMSE, mean absolute error [NRMSE] , and Spearman's correlation coefficient squared [R 2 ]) are applied to evaluate the Bi-LSTM algorithm. These metrics are expressed as follows (Equations (9)-(12)): These parameters were appropriate for the Bi-LSTM algorithm to predict COVID-19. (Equations (2)-(4)) Using the input gate and forget gate, the LSTM model uses the validated input data to update the formula into (Equations (5) and (6)) where C t : cell gate; h t : is a hidden state to correspond to input data. All gates depend on the size of the data. W is the weight matrices between the cells. The bias values for each layer are designated by b, and the sigmoid function σ and hyperbolic tangent function are used as activation functions. The activation function formulas are represented in Equations (7) and (8). where z is the input data. The Bi-LSTM algorithm is evaluated and tested using the evaluation metrics. Five statistical analyses (the MSE, RMSE, mean absolute error [NRMSE] , and Spearman's correlation coefficient squared [R 2 ]) are applied to evaluate the Bi-LSTM algorithm. These metrics are expressed as follows (Equations (9)-(12)): where x t represents real data, x t represents prediction values, and N is the total number of samples. The Bi-LSTM model was suggested to forecast COVID-19 in the Gulf countries. The performance of the Bi-LSTM algorithm was evaluated and examined using a real dataset collected from the public world repository. The proposed system was validated by dividing the datasets into 80% training data and 20% testing data. Table 5 presents the training results of the Bi-LSTM model for predicting the numbers of confirmed COVID-19 cases in the Gulf countries. The empirical results were compared using the MSE, RMSE, NRMSE, and R 2 evaluation metrics. The proposed system achieved good accuracy in predicting the number of confirmed cases in Qatar during the COVID-19 pandemic. The prediction results obtained from the training dataset for Oman were MSE = 4.4217×10 −5 , RMSE = 0.00664, and NRMSE = 0.00372. Table 6 summarizes the training results of the Bi-LSTM model for predicting deaths from COVID-19 in the Gulf countries in different periods. The mortality rate in the Gulf countries is low because governments took isolation precautions and locked down cities for long periods. The Gulf countries have fewer deaths than other countries around the world. We proposed a robust deep learning algorithm, the Bi-LSTM model, for predicting mortality rates in these countries. The prediction results of the Bi-LSTM model for predicting deaths in Saudi Arabia were superior, with values of 3.8242 × 10 −5 , 0.00618, and 0.036 for the MSE, RMSE, and NRMSE, respectively. The prediction value and actual values were very close. Figure 4 demonstrates the histogram error of the predicted values of the confirmed case of COVID-19 at the training phase. The error histogram is employed to calculate the differential between the prediction values and observation values. We derived the maximum error from prediction values and target values. While the x-axis values represent scaling values, the y-axis shows the number of times that values occurred within the scaling values set (x-axis), representing the instances of values obtained by the proposed system. The minimum error was reported as 0.000020 for predicting confirmed cases in Qatar, and the overall histogram errors are much smaller. Figure 5 shows the histogram error of the predicted values for mortality cases of COVID-19 at the training phase for the Gulf countries. The minimum error was reported as 0.0006530 for predicting confirmed cases in Oman, but the overall histogram errors were much smaller. This section presents the validation of the Bi-LSTM model to forecast the confirmed cases and mortality rate in the Gulf countries of Saudi Arabia, Oman, the UAE, Kuwait, Bahrain, and Qatar. We validated the proposed Bi-LSTM model using 20% of the data as a testing set. The testing results of the Bi-LSTM model were proposed to validate the obtained results. Table 7 demonstrates the prediction results as a testing stage of the Bi-LSTM model for predicting confirmed cases in the Gulf countries. The Bi-LSTM model provided the highest prediction of the confirmed cases in the UAE and the lowest prediction of confirmed cases in Bahrain. This section presents the validation of the Bi-LSTM model to forecast the confirmed cases and mortality rate in the Gulf countries of Saudi Arabia, Oman, the UAE, Kuwait, Bahrain, and Qatar. We validated the proposed Bi-LSTM model using 20% of the data as a testing set. The testing results of the Bi-LSTM model were proposed to validate the obtained results. Table 7 demonstrates the prediction results as a testing stage of the Bi-LSTM model for predicting confirmed cases in the Gulf countries. The Bi-LSTM model provided the highest prediction of the confirmed cases in the UAE and the lowest prediction of confirmed cases in Bahrain. The prediction results at the testing phase of the Bi-LSTM model to forecast the number of confirmed cases in Saudi Arabia were 0.00014, 0.01222, and 0.0163 for MSE, RMSE, and NRMSE, respectively; for Oman, they were 0.00161, 0.0401, and 0.0651, respectively; for the UAE, they were 0.001518, 0.03886, and 0.0510, respectively; for Kuwait, they were 0.001518, 0.03886, and 0.05103, respectively; and for Bahrain, they were 0.00111, 0.01053, and 0.01453, respectively. The testing values and predicted values were very close, indicating that the prediction errors were low. The system showed significant ability to predict confirmed cases in Bahrain and Saudi Arabia data at the testing stage. Table 8 shows the prediction results of the proposed system to predict mortality cases as a testing stage in Gulf countries. The proposed system has achieved fewer prediction errors in predicting mortality cases in Kuwait, with MSE = 0.00152, RMSE = 0.01233, and Figure 6 shows histogram metrics for predicting the confirmed case at the testing phase. The system achieved minimum errors in the testing phase for predicting confirmed cases in Bahrain, with an average error of −0.01218. Based on the obtained results, the proposed model showed the best prediction results in the testing stage for forecasting the number of deaths in Kuwait. The testing results of the Bi-LSTM model for predicting the death toll in Kuwait were 0.0001512, 0.01233, and 0.014 for the MSE, RMSE, and NRMSE, respectively. Figure 7 shows the histogram prediction performance of the Bi-LSTM model in forecasting mortality in the Gulf countries. The average error of the proposed system is much smaller for Kuwait. The proposed model shows good performance. A comparison between the target values and predicted values of confirmed COVID-19 in the Gulf countries is presented in Table 9 . The percentages of the mean errors were very low after using min-max normalization methods. The proposed system was tested by taking 20% of the observation data for testing, and the results indicate the high robustness of the developed model for predicting COVID-19. A comparison between the target values and predicted values of confirmed COVID-19 in the Gulf countries is presented in Table 9 . The percentages of the mean errors were very low after using min-max normalization methods. The proposed system was tested by taking 20% of the observation data for testing, and the results indicate the high robustness of the developed model for predicting COVID-19. Figure 8 shows the performance of the proposed system for forecasting the confirmed cases of COVID-19. The graphic representation shows the forecasting of unseen data. While the target (x-axis) values represent the numbers of simple confirmed cases, the output (y-axis) values represent the forecasting values. Figure 9 shows the performance of the proposed system in forecasting the mortality cases of COVID-19. The graphic is a representation of the prediction of unseen data. While Table 10 summarizes the prediction and observation values for the mortality cases of COVID-19 in the Gulf countries. The proposed system was evaluated and examined by taking 20% of the data for use in testing. Note that the mean errors of the prediction values are very close to the observation values. Table 10 summarizes the prediction and observation values for the mortality cases of COVID-19 in the Gulf countries. The proposed system was evaluated and examined by taking 20% of the data for use in testing. Note that the mean errors of the prediction values are very close to the observation values. The COVID-19 pandemic has had a significant psychological and economic impact on the Gulf countries. At the end of January 2020, the Gulf Cooperation Council (GCC) declared the first case in the UAE [56] . Authorities in the GCC were quick to take high-level measures to contain the disease and prevent its spread; they did so much earlier than in other nearby countries [57] . The subsequent infections were therefore not as high in the UAE when compared with the massive spread that occurred in neighboring countries. Although the disease came from other countries, the lockdown significantly reduced the number of infections. All COVID-19-positive patients were placed in quarantine so that no one else would be infected, and the Ministry of Health in the Gulf states announced with each new infection that the person had been quarantined and those who had been in contact with positive cases were put under observation. The governments of Kuwait and Qatar quickly evacuated citizens from Iran, where the disease was spreading rapidly (the first case was announced on 19 February 2020), and then implemented strict decisions to suspend flights connecting to specific countries and advised citizens not to travel abroad [58] . By the end of May 2020, the number of active cases had increased in the Gulf countries, especially in Saudi Arabia, to reach 150,000 active cases. We collected data from a public repository containing a record of COVID-19 cases around the world. For this study, we took a time interval from the first case that had appeared in Gulf countries until 08 June 2020. When COVID-19 appeared in the Gulf countries, only a few cases were reported because the Gulf countries imposed restrictions and measures to curb the spread of the epidemic. Modeling and prediction became important for estimating the number of active cases and deaths in the Gulf countries. Here, we proposed an advanced deep learning algorithm for predicting COVID-19 cases and attempted to assess the empirical evidence to predict the numbers of active cases and deaths in the Gulf countries. The Bi-LSTM model was applied to predict the cases, and a dataset was collected to test the proposed model. The dataset was divided into 80% training data and 20% testing data for evaluating the Bi-LSTM model. Table 11 shows the correlation coefficient results of the proposed system for predicting COVID-19 in the Gulf countries. Note that the Bi-LSTM model provided a correlation coefficient for predicting the active cases and mortality rate in the Gulf countries. Figure 10 shows the results of the Bi-LSTM model for predicting active cases using the correlation coefficient. Notably, the regression plot is close to both the real and testing values. The values of the correlation coefficient metric are high for all countries, indicating that the Bi-LSTM model has a robust connection with the observation data. The correlation coefficient reached 99% between the actual data and prediction data. Figure 11 illustrates the regression plot of the Bi-LSTM model to predict mortality rates in the Gulf countries. Most of the correlation coefficient values are very high because of the relationship between the observed data and real data and the prediction of COVID-19 cases. These plots were employed to find the relationship between the predicted and the observation values by using Pearson's correlation. While the target (x-axis) values represent the observation data, the output (y-axis) values represent the predicted values. Modeling and prediction of the COVID-19 have played a pivotal and significant role in saving people's lives. The deep learning algorithms were explored as an alternative approach to predict the numbers of confirmed and death cases of COVID-19. Table 12 summarizes existing system results against the proposed system results. Numerous studies have employed artificial intelligence models for estimating and predicting COVID-19. Stevenson et al. [81] applied three models (LSTM, naïve, and seasonal naïve forecast), to predict COVID-19 and they used RMSE metrics to evaluate the obtained results for 7-day and 14-day time intervals to predict future daily cases in South Africa. Satu et al. [82] proposed polynomial multi-layer perceptron (Poly-MLP), support vector regression (SVR), and Prophet models to predict confirmed and death cases using two evaluation metrics, RMSE and R2, to examine the proposed models. The datasets were collected using the Bangladesh surveillance system for the time period of 185 days from 8 March 2020 to 28 November 2020 to predict confirmed infection, death, and recovered cases. However, the authors still required 34 iterative rounds to reach these results, and they had to change neuron values in each round. Zisad et al. [83] used SEIR and SIRNN models to predict COVID-19. The model was tested and trained to employ available data from 250 days in Bangladesh. The RMSE, NRMSE, and R2 were used to evaluate the proposed system, and the prediction error decreased from NRMSE = 1.99 to NRMSE = 0.68, while the accuracy of the regression metric of the proposed system for confirmed cases was between 90% and 99%. Awwad et al. [84] used the statistical STARMA model to predict confirmed and death cases in Saudi Arabian cities. This study covered most Saudi Arabian cities in the time interval from 23 March 2020 to 28 May 2020. The proposed system was tested using the RMSE metric, and we selected the superior result obtained by their proposed model for RMSE = 0.339 for predicting confirmed COVID-19 cases in Taif and RMSE = 0.368 for predicting confirmed cases in Jeddah. Tandon et al. [85] presented an ARIMA model to predict future COVID-19 infection cases using datasets collected from 18 March 2020 or 22 January 2020 to 13 April 2020 round (18 days) from different countries (the USA, China, and Italy) to examine the proposed system. The MAPE metrics were used to test the results of the system, with the best accuracy of the model achieved as MAPE = 4.1. In the current research, we used the Bi-LSTM model for modeling and predicting COVID-19 in the Gulf countries, and achieved excellent results, with RMSE = 0.00019, for predicting confirmed cases at the training phase. For predicting death cases, the proposed system gave RMSE = 0.00014 and very low prediction errors, with correlation regression values of 99.98 to94.16 and 99.83 to 94.16% for prediction of confirmed and death cases, respectively, in the training phase. We compared the results of the proposed model with existing systems that used the same metrics, and we confirmed that the proposed system achieved superior results when compared with other selective studies related to COVID-19 predictions. Overall, the proposed system is better than the existing systems. Over the past year, Gulf countries have imposed restrictions and measures to curb the spread of the COVID-19 epidemic, putting responsible officers in charge of millions of dollars to accomplish this goal. The development and modeling of accurate prediction models are vital steps for estimating the COVID-19 outbreak to provide insights into the spread of this infectious disease. This paper presented the Bi-LSTM network model to predict COVID-19 in the Gulf countries to control the spread of the COVID-19 infectious disease. Initially, real data were collected from a publicly available website that contains up-to-date records of numbers of COVID-19 patients. The results of the Bi-LSTM network showed a high generalization capability for predicting the number of confirmed cases and deaths in the Gulf countries according to the statically analyzed metrics. The dataset was divided into a training set and a testing set. The testing values were used to validate the performance of the Bi-LSTM model. According to the obtained results, the proposed model showed high prediction for most of the Gulf countries' data. The Bi-LSTM model demonstrated that promising results can be gained with fewer errors using this approach. Future studies using another deep learning algorithm are strongly encouraged to improve the results of the existing model. Potential Treatments for COVID-19; A Narrative Literature Review Coronavirus Disease (COVID-19) Pandemic. 2020. Available online The COVID-19 epidemic Functional Assessment of Cell Entry and Receptor Usage for SARS-CoV-2 and Other Lineage B Betacoronaviruses COVID-19) Situation Report-29; World Health Organization Novel Coronavirus Information Center Report of the WHO-China Joint Mission on Coronavirus Disease 2019 (COVID-19); World Health Organization The Continuing 2019-Ncov Epidemic Threat of Novel Coronaviruses to Global Health the Latest 2019 Novel Coronavirus Outbreak in Wuhan COVID-19 and Italy: What next? Predicting the Impacts of Epidemic Outbreaks on Global Supply Chains: A Simulation-Based Analysis on the Coronavirus Outbreak (COVID-19/SARS-CoV-2) Case The Forecasting of Dynamical Ross River Virus Outbreaks A Comparative Study on Predicting Influenza Outbreaks Using Different Feature Spaces: Application of Influenza-Like Illness Data from Early Warning Alert and Response System in Syria Inter-Outbreak Stability Reflects the Size of the Susceptible Pool and Forecasts Magnitudes of Seasonal Epidemics On the Predictability of Infectious Disease Outbreaks Real-Time Forecasting of Hand-Foot-and-Mouth Disease Outbreaks Using the Integrating Compartment Model and Assimilation Filtering Propagation analysis and prediction of the COVID-19 Mathematical Prediction of the Time Evolution of the COVID-19 Pandemic in Italy by a Gauss Error Function and Monte Carlo Simulations On Estimating the Number of Deaths A Mathematical Modelling Approach in the Spread of the Novel 2019 Coronavirus SARS-CoV-2 (COVID-19) Pandemic Artificial Intelligence and Machine Learning to Fight COVID-19 Machine Learning, COVID-19 (2019-nCoV) Prediction Models for Diagnosis and Prognosis of Covid-19 Infection: Systematic Review and Critical Appraisal Classification of COVID-19 Patients from Chest CT Images Using Multi-Objective Differential Evolution-Based Convolutional Neural Networks Artificial intelligence vs COVID-19: Limitations, Constraints and Pitfalls Prediction of COVID-19 Transmission Dynamics Using a Mathematical Model Considering Behavior Changes in Korea On a Statistical Transmission Model in Analysis of the Early Phase of COVID-19 Outbreak The Rapid Assessment and Early Warning Models for COVID-19 An Agent-Based Model of Covid-19 Covid-19 Forecasts Prediction Models for Diagnosis and Prognosis in Covid-19 Evolution of CT Manifestations in a Patient Recovered from 2019 Novel Coronavirus (2019-Ncov) Pneumonia in Wuhan, China Evolution of the Novel Coronavirus from the Ongoing Wuhan Outbreak and Modeling of Its Spike Protein for Risk of Human Transmission Molecular Epidemiology of Human Coronavirus OC43 Reveals Evolution of Di_Erent Genotypes over Time and Recent Emergence of a Novel Genotype Due to Natural Recombination Methods Using Social Media and Search Queries to Predict Infectious Disease Outbreaks Network Theory and SARS: Predicting Outbreak Diversity A Review of Influenza Detection and Prediction Through Social Networking Sites. Theor Fever Predicting Model Based on Baidu Search Index Data and Climate Data in South China High Correlation of Middle East Respiratory Syndrome Spread with Google Search and Twitter Trends in Korea Forecasting Influenza in Hong Kong with Google Search Queries and Statistical Model Fusion Construction and Evaluation of Two Computational Models for Predicting the Incidence of Influenza in Nagasaki Prefecture Deep Learning Applications and Challenges in Big Data Analytics Deep Learning for Digital Pathology Image Analysis: A Comprehensive Tutorial with Selected Use Cases Dermatologist-Level Classification of Skin Cancer with Deep Neural Networks Deep Learning Based Tissue Analysis Predicts Outcome in Colorectal Cancer Soft Computing Model to Predict Chronic Diseases Soft Clustering for Enhancing the Diagnosis of Chronic Diseases over Machine Learning Algorithms Multiscale Mobility Networks And The Spatial Spreading Of Infectious Diseases Monitoring Influenza Epidemics in China with Search Query from Baidu Using Internet Search Queries for Infectious Disease Surveillance: Screening Diseases for Suitability Assessing Google Flu Trends Performance in the United States during the 2009 Influenza Virus A (H1N1) Pandemic COVID-19 Pandemic Forecasting Using CNN-LSTM: A Hybrid Approach An Introduction to Infectious Disease Modelling Deep Learning and Holt-Trend Algorithms for Predicting COVID-19 Pandemic Prediction of Severity of COVID-19-Infected Patients Using Machine Learning Techniques United Arab of Emirates. SEHA Opens 13 Additional Drivethrough COVID-19 Testing Centres Coronavirus Disease of 2019 (COVID-19) in The Gulf Cooperation Council (GCC) Countries: Current Status and Management Practices Predictions For COVID-19 with Deep Learning Models of LSTM, GRU and Bi-LSTM COVID-19 Future Forecasting Using Supervised Machine Learning Models Deep Learning Model for End-to-End Approximation of COSMIC Functional Size Based on Use-Case Names An Efficient Long Short-Term Memory Model Based on Laplacian Eigenmap in Artificial Neural Networks Real-Time Identification of Power Fluctuations Based on LSTM Recurrent Neural Network: A Case Study on Singapore Power System Application of Artificial Intelligence-Based Regression Methods in the Problem of COVID-19 Spread Prediction: A Systematic Review Empirical Evaluation of Alternative Time-Series Models for COVID-19 Forecasting in Saudi Arabia Analyzing and Forecasting COVID-19 Pandemic in the Kingdom of Saudi Arabia Using ARIMA and SIR Models M. Applying Deep Learning Methods on Time-Series Data for Forecasting COVID-19 in COVID-19 Outbreak Prediction with Machine Learning COVID-19 Pandemic Prediction for Hungary; A Hybrid A Novel GRU-RNN Network Model For Dynamic Path Planning of Mobile Robot Artificial Intelligence and COVID-19: Deep Learning Approaches for Diagnosis and Treatment Deep Learning Techniques and COVID-19 Drug Discovery: Fundamentals, State-of-the-Art and Future Directions. In Emerging Technologies During the Era of COVID-19 Pandemic Bidirectional LSTM-CRF Models for Sequence Tagging. arXiv 2015 Isfahan and COVID-19: Deep spatiotemporal representation Time Series Prediction for the Epidemic Trends of COVID-19 Using the Improved LSTM Deep Learning Method: Case Studies in Russia, Peru and Iran Time Series Forecasting of COVID-19 Transmission in Canada Using LSTM Networks An EEMD-BiLSTM Algorithm Integrated with Boruta Random Forest Optimiser for Significant Wave Height Forecasting along Coastal Areas of Queensland, Australia One-Year Lesson: Machine Learning Prediction of COVID-19 Positive Cases with Meteorological Data and Mobility Estimate in Japan Ship Roll Prediction Algorithm Based on Bi-LSTM-TPA Combined Model Development of an Early Alert System for an Additional Wave of COVID-19 Cases Using a Recurrent Neural Network with Long Short-Term Memory Short-Term Prediction of COVID-19 Cases Using Machine Learning Models An Integrated Neural Network and SEIR Model to Predict COVID-19 Estimating COVID-19 cases in Makkah region of Saudi Arabia: Space-time ARIMA modeling COVID-19): ARIMA based time-series analysis to forecast near future The authors extend their appreciation to the Deanship of Scientific Research at King Faisal University for funding this research work through Project No. 216015. The authors declare no conflict of interest.