District-Level Crop Yield Forecasting & Sowing Advisory is a machine-learning project that predicts kharif-season yield (kg/hectare) for major Karnataka crops — ragi, jowar, maize, groundnut and red gram — one to three months before harvest, and turns each forecast into a plain-language advisory: safe to plan for normal yield, below-normal expected, or high risk — review alternate crop.
The data comes from the ICRISAT District Level Database (DLD), an open research dataset that carries season-wise crop area, production, yield, irrigation, rainfall and agricultural-credit variables for about 570 Indian districts going back to 1966. We build a clean district-year panel for 30 Karnataka districts, engineer agronomic features (monsoon rainfall and its lags, irrigated-area share, crop mix), and train baseline linear models against ridge/lasso regression and random-forest / gradient-boosting regressors in scikit-learn, validated with walk-forward (year-based) splits so no future year ever leaks into training.
Forecasts, model metadata and metrics are stored in MySQL, served through a small Express REST API, and shown on a React dashboard where an extension officer or student can pick a district and crop, compare this season's forecast with the five-year average, and export the advisory as CSV.
The project runs as BCS685 Major Project Phase-I (Sem 6) and continues into BCS786 Phase-II (Sem 7); the work split below gives each of the four members an individually examinable module.
- Relevant for
- Karnataka
- Level
- Intermediate · 14 weeks · team of 4
- Common at
- Visvesvaraya Technological University, Anna University, JNTU Hyderabad
- Updated
- Nov 2026