AtmosWeather Intelligence

About Atmos

A machine learning app that forecasts the next 7 days of mean temperature for Cairo, Egypt.

How it works

  • 10 years of hourly weather from the Open-Meteo archive API, cleaned (gaps, duplicates, impossible values, outliers) and aggregated to daily values.
  • Time-series EDA: trend, yearly seasonality, decomposition, ACF/PACF and stationarity tests (see the Task 4 & 5 notebooks).
  • For each of the next 7 days a separate model (Ridge, Gradient Boosting, Random Forest) predicts the mean temperature from today’s temperature, humidity, wind, pressure and the day of the year.
  • Validated chronologically on the last 90 days (never shuffled, no leakage). Models are compared against “persistence” and “seasonal average” baselines.
  • The “Why this prediction?” chart replaces each input by its average and shows how much the forecast moves.

Accuracy on the hold-out period (day +1)

ModelMAERMSEsMAPE
Ridge Regression0.69°C0.88°C2.37%
Gradient Boosting0.7°C0.9°C2.39%
Random Forest best0.64°C0.87°C2.19%

Trained through 2026-10-15. Limitations: one model set per city; inputs outside the training range trigger a caution message; forecasts further out are less certain.

Error by forecast horizon (MAE, °C)

Model+1d+2d+3d+4d+5d+6d+7d
Ridge Regression0.6920.9320.9861.0181.0471.0160.98
Gradient Boosting0.6970.9290.9761.0191.061.0651.05
Random Forest0.6420.8720.9411.0331.0781.0721.024
Persistence (today = tomorrow)0.6861.0221.1551.2821.4711.5371.499
Climatology (seasonal average)1.0171.0090.9940.9940.9930.9840.994

Built by Noura Maher Elamin

Data analysis, dashboards and machine learning web apps.