Mandi Price Forecasting & Selling-Day Advisory is an applied data-analytics application built for the way farmers and small traders actually sell perishable produce in India. Prices of onion, tomato and potato in APMC (Agricultural Produce Market Committee) mandis swing widely day to day, yet most growers still decide when and where to sell on hearsay, agent advice or yesterday's rate board. This project turns the free daily wholesale price data published on Agmarknet — the Government of India's agricultural marketing portal — and its data.gov.in mirror into a practical decision aid: a seven-day forecast of the modal wholesale price for each commodity–mandi pair, and a comparison of nearby mandis paying more on the same day.
The pipeline fetches daily prices (minimum, maximum, modal and arrivals), cleans and stores them in MySQL, and builds lag, rolling-mean and calendar features. Four forecasting approaches are trained and compared — naive and moving-average baselines, SARIMA (statsmodels), gradient-boosted trees (scikit-learn) and an LSTM network (Keras) — and evaluated with time-ordered backtests using MAE, RMSE and MAPE so that no future information leaks into training. An advisory engine converts forecasts into sell today / hold suggestions and a best-mandi recommendation, presented through a Flask dashboard with Matplotlib and Chart.js charts.
Aligned to the VTU MCA 2022 scheme's Project Phase-2 (22MCA44), the project exercises Python Programming and Data Analytics with Python (22MCA31/22MCAL36), DBMS (22MCA21), Artificial Intelligence (22MCA262) and Deep Learning (22MCA411); scikit-learn, statsmodels, Keras and Flask are industry-standard Python libraries used alongside the syllabus tools.
- Relevant for
- Karnataka
- Level
- Advanced · 16 weeks · team of 3
- Common at
- Visvesvaraya Technological University, Jawaharlal Nehru Technological University Hyderabad, Osmania University
- Updated
- Nov 2026