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.

Dieu-Merci-IGABUKWISHAKA/rwanda-crop-predictor

Domain:

agriculture

Record type:

project
Creator:
Die
Host:
# Rwanda Crop Yield & Market Price Predictor 🌾 A full end-to-end machine learning web application that predicts: - **Expected crop yield** (kg/ha) - **Expected market price** (RWF/kg) for Rwandan farmers and agriculture officers based on crop type, district, season, and automatically fetched live weather data. ## Problem Statement Farmers in Rwanda make planting and selling decisions without reliable data on expected yields or market prices. This tool gives them data-driven predictions so they can plan better and earn more. ## Who Uses This | User | How they use it | |---|---| | Individual farmers | Know expected yield and best time to sell | | Cooperatives | Plan collective planting and selling strategy | | RAB / MINAGRI | National food security planning | | NGOs / WFP | Early warning for food shortage prediction | ## How It Works 1. User selects crop type, district, and season on the web form 2. App automatically fetches live weather data (rainfall, temperature) from Open-Meteo API using the district coordinates 3. Two ML models run simultaneously 4. Results displayed instantly on screen ## Predictions | Output | Unit | Model | |---|---|---| | Expected crop yield | kg/ha | yield_model.pkl | | Expected market price | RWF/kg | price_model.pkl | ## Tech Stack | Layer | Technology | |---|---| | Data storage | MySQL | | Data processing | Python, Pandas, NumPy | | Visualization | Matplotlib, Seaborn, Power BI | | Machine learning | Scikit-learn | | Backend | Django 5.2 | | Frontend | HTML, CSS | | Weather data | Open-Meteo API (free, no key needed) | | Deployment | Render.com | ## Project Structure ``` rwanda-crop-predictor/ β”œβ”€β”€ data/ # Raw datasets (not tracked by git) β”œβ”€β”€ notebooks/ # Jupyter EDA notebooks β”œβ”€β”€ ml_model/ # Trained model files (.pkl) β”œβ”€β”€ django_app/ # Django web application β”œβ”€β”€ requirements.txt # All Python dependencies └── README.md # Project documentation ``` ## Dataset Sources - FAO FAOSTAT β€” c …

Visit

github.com

Languages

Kinyarwanda