Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

fatmahussein252/COVID-19-Daily-New-Cases-Prediction

Domain:

healthcare

Record type:

project
Creator:
fat
Host:
This project applies an LSTM neural network to forecast daily new COVID-19 cases in Egypt based on past case data. # LSTM Time Series Forecasting: COVID-19 Daily New Cases in Egypt ## Overview This project applies a **Long Short-Term Memory (LSTM)** neural network to forecast **daily new COVID-19 cases in Egypt** based on past case data. It uses time series modeling techniques to capture temporal dependencies and predict future case counts. **Dataset**: `egypt_daily_covid.csv` **Columns:** - `date`: Date of record - `country`: Egypt - `daily_new_cases`: Number of newly reported cases The dataset is sorted chronologically and split into: - **80% training set** - **20% testing set** --- ## Steps and Workflow ### 1. **Data Preprocessing** - Handle missing values using forward fill. - Scale values to [0, 1] using `MinMaxScaler`. - Transform data into supervised learning format — use the previous 5 entries to predict the next. ### 2. **Model Architecture** - Sequential LSTM model with: - Input layer - Two LSTM layers - Dense hidden layer - Dense output layer - Compiled using the **Adam optimizer** and **Mean Squared Error (MSE)** loss. - Uses **EarlyStopping** callback to prevent overfitting. ### 3. **Training and Evaluation** - Trained the model on the training set for 8 epochs and validates it on the test set. - Evaluates model performance using **MSE** and visualizes predicted vs. actual values. ### 4. **Results** - mae: 0.0372 - mse: 0.0034 - val_mse: 7.0946e-04 - val_mae: 0.0224

Visit

github.com

Similar

Short-term prediction model for daily COVID-19 reported positive cases in SenegalPrediction of Covid-19 New Cases and New Deaths in Nigeria Using Polynomial Regression ModelAn extreme value analysis of daily new cases of COVID-19 for sixteen countries in west AfricaA predictive model for daily cumulative COVID-19 cases in GhanaForecasting daily confirmed COVID-19 cases in Algeria using ARIMA modelsTemporal Deep Learning Architecture for Prediction of COVID-19 Cases in India

Short-term prediction model for daily COVID-19 reported positive cases in Senegal

In this work, we use an Auto-Regressive Integrated Moving Average (ARIMA) model to study the evoluti

Prediction of Covid-19 New Cases and New Deaths in Nigeria Using Polynomial Regression Model

The Coronavirus disease 2019 (COVID-2019) is a global pandemic and Nigeria is not left out in being

An extreme value analysis of daily new cases of COVID-19 for sixteen countries in west Africa

Abstract We provide an extreme value analysis of daily new cases of COVID-19. We use data from Beni

A predictive model for daily cumulative COVID-19 cases in Ghana

Background: Coronavirus disease 2019 (COVID-19) is a pandemic that has affected

Forecasting daily confirmed COVID-19 cases in Algeria using ARIMA models

ABSTRACT Coronavirus disease has become a worldwide threat affecting almost every

Temporal Deep Learning Architecture for Prediction of COVID-19 Cases in India

To combat the recent coronavirus disease 2019 (COVID-19), academician and clinician are in search of