Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

iamchiboy/Ghana-Rain-Forecast

Domaine:

climate

Type de record:

software
Créateur:
iam
Hôte:
# Ghana Rain Nowcasting (30-Minute Prediction) **An AI-powered machine learning system for real-time rainfall forecasting in Accra, Ghana** This project collects real-time weather data, engineers predictive features, trains a machine learning model, and provides 30-minute rain forecasts through an interactive web dashboard. ## 🌟 Features - ✅ **Real-time Data Collection** - Automatic weather data fetching every 10 minutes - ✅ **Advanced Feature Engineering** - Rolling windows, lag features, derived meteorological indicators - ✅ **Robust ML Model** - Random Forest with cross-validation and performance metrics - ✅ **Prediction Confidence** - Probability scores and confidence levels for each forecast - ✅ **Interactive Dashboard** - Beautiful Streamlit interface with charts and metrics - ✅ **Production-Ready** - Error handling, logging, validation, and monitoring - ✅ **Secure** - Environment variable management for API keys ## 🏗️ System Architecture ``` OpenWeather API (10-min interval) ↓ Data Collection & Validation ↓ Feature Engineering (rolling, lag, derived features) ↓ Data Cleaning & Preprocessing ↓ Train/Test Split with Stratification ↓ Random Forest Classifier (300 trees) ↓ Cross-Validation & Metrics ↓ Live Prediction Module ↓ Streamlit Dashboard (Real-time visualization) ``` ## 📁 Project Structure ``` Ghana Rain Forecast/ ├── app/ │ └── dashboard.py # Streamlit web dashboard ├── src/ │ ├── __init__.py │ ├── config.py # Centralized configuration │ ├── logger.py # Logging setup │ ├── collect_data.py # API data collection with validation │ ├── preprocess.py # Feature engineering & preprocessing │ ├── train_model.py # Model training with validation │ ├── predict.py # Prediction module with confidence scores │ ├── rain_model.pkl # Trained model (generated) │ ├── model_metrics.json # Model evaluation metrics (generated) │ └── feat …

Visit

github.com

Languages

Ga

Similaires

esinam-kekele/ghana-energy-demand-forecastRain over AfricaRain 2015 20160302eTsonga Rain SongsCombining Indigenous and Scientific Forecast for Improved Climate Services in GhanaSeasonal crop yield forecast verification metrics for Ghana, Kenya, and Zimbabwe

esinam-kekele/ghana-energy-demand-forecast

# ⚡ Ghana Energy Demand Forecasting --- ## 🌍 Problem Statement Reliable electricity is esse

Rain over Africa

The Rain over Africa (RoA) dataset consists of spaceborn estimates of precipitation of Rain over Afr

Rain 2015 20160302e

Aakó Humay and Paschal talk about the rituals involved in the rains of 2015 || Aakó Humay na Paschal

Tsonga Rain Songs

Combining Indigenous and Scientific Forecast for Improved Climate Services in Ghana

<p>Extreme weather events and climate change are affecting the livelihoods of farmers

Seasonal crop yield forecast verification metrics for Ghana, Kenya, and Zimbabwe

This dataset contains forecast verification metrics and reporting outputs for the Seasonal Crop Yiel