Machine Learning Approach for New COVID-19 Cases Using Recurrent Neural Networks and Long-Short Term Memory
DOI:
https://doi.org/10.24996/ijs.2023.64.11.34Keywords:
Prediction, COVID-19, Long-Short Term Memory, Recurrent Neural NetworksAbstract
This research aims to predict new COVID-19 cases in Bandung, Indonesia. The system implemented two types of deep learning methods to predict this. They were the recurrent neural networks (RNN) and long-short-term memory (LSTM) algorithms. The data used in this study were the numbers of confirmed COVID-19 cases in Bandung from March 2020 to December 2020. Pre-processing of the data was carried out, namely data splitting and scaling, to get optimal results. During model training, the hyperparameter tuning stage was carried out on the sequence length and the number of layers. The results showed that RNN gave a better performance. The test used the RMSE, MAE, and R2 evaluation methods, with the best numbers being 0.66975075, 0.47075, 0.29616625, and 0.7644 on the test data.