Logo Lanfrica

Momahmoses/agricultural-yield-forecasting

Domain:

agriculturegeospatial

Record type:

software
Creator:
Mom
Host:
||Satellite NDVI and EVI combined with LightGBM for crop yield prediction in North-Central and Northwest Nigeria with a Streamlit dashboard. # Agricultural Yield Forecasting & Farmland Monitoring Satellite imagery (NDVI/EVI from Sentinel-2/Landsat-8) combined with weather and soil data to predict crop yields and identify underperforming farmland across North-Central and Northwest Nigeria. --- ## Problem Statement Nigeria imports food worth billions of naira annually despite having vast agricultural land. Yield gaps from poor crop management and climate stress go undetected without satellite monitoring. This system provides per-farm yield forecasts and anomaly detection to guide agronomic interventions. --- ## Features | Feature | Description | |---------|-------------| | NDVI & EVI Computation | Multi-spectral index extraction from Sentinel-2 / Landsat-8 | | LightGBM Yield Regression | Per-farm yield prediction with feature importance | | Underperforming Farm Detection | Bottom 25th percentile flagging for targeted intervention | | Interactive Yield Map | Folium map with per-farm tooltips | | Crop-Level Breakdown | Performance comparison across 7 crops | --- ## Tech Stack | Layer | Technology | |-------|-----------| | Remote Sensing | Sentinel-2, Landsat-8 (NDVI, EVI) | | Machine Learning | LightGBM, scikit-learn | | Geospatial | GeoPandas, Folium, Rasterio | | Data | pandas, NumPy | | Visualisation | Matplotlib, Seaborn, Plotly | --- ## Project Structure ``` agricultural-yield-forecasting/ ├── src/ │ ├── data_loader.py # NDVI/EVI computation and data pipeline │ ├── model.py # LightGBM training and prediction │ └── visualize.py # Yield maps and performance charts ├── data/raw/ # Satellite imagery, weather, soil CSVs ├── models/ # Saved LightGBM model ├── config.yaml # Crop parameters, thresholds, region config ├── main.py # Pipeline entry point └── requirements.txt ``` --- ## Quick Start ```bash git clone github.com cd agricultural-yield-forecasting pip …