Krushi Mitra Smart Crop Price Prediction And forecasting System Using Machine Learning And Data Analytics Approach
Abstract
Agriculture is the backbone of India's economy, yet farmers face persistent challenges due to crop price volatility and uncertain profit outcomes. This paper presents the Smart Crop Price Prediction and Profit Forecasting System, a data-driven web application built using Python, Flask, and MySQL. The system integrates historical market data from government portals, real-time weather data via REST APIs, and machine learning algorithms including Linear Regression, Random Forest, and LSTM networks to forecast crop prices and estimate profit margins. The three-tier architecture comprises an HTML/CSS/JavaScript frontend, a Flask backend exposing RESTful endpoints, and a MySQL relational database. Experimental evaluation shows the Random Forest model achieves a Mean Absolute Percentage Error (MAPE) of 8.4% on test data, outperforming SARIMA and Linear Regression baselines. The system provides interactive dashboards, profit simulators, and downloadable reports, empowering non-technical users including smallholder farmers to make informed, data-backed agricultural decisions.
References
G. Avinash et al., "Price Forecasting of TOP Vegetables: Machine Learning Approaches and Applications," Proc. Indian Agricultural Statistics, 2023.
Authors from Mumbai Institutions, "ML Based Agricultural Profitability Analysis: Case Study on APMC Data," Int. Journal of Interactive Multimedia and AI, 2024.
H. L. Gururaj et al., "A ML-Based Approach for Crop Price Prediction: System Design and Evaluation," World Scientific Publishing, 2024.
Indian Authors, "Predicting Prices of Cash Crops Using Machine Learning," Informatics Journals, India, 2023.
R. L. Manogna et al., "Enhancing Agricultural Commodity Price Forecasting with ML and DL," Scientific Reports, Nature Publishing, 2025.
R. Sharma and A. Singh, "Machine Learning Approach for Crop Price Prediction Using Regression Techniques," Int. Journal of Computer Applications, Vol. 178(3), pp. 45-52, 2022.
N. Jadhav and P. Deshmukh, "Smart Agricultural Price Prediction System Using Python and ML Algorithms," IJIRST, Vol. 12(4), pp. 67-75, 2023.
National Informatics Centre, "AgriMarket Portal –
Agricultural Market Information System," https://agmarknet.gov.in, 2022.
OpenWeatherMap, "Weather Data API Documentation," https://openweathermap.org/api, 2023.
L. Zhang and X. Li, "Profit Estimation Model for Precision Agriculture Based on AI and Data Analytics," Computers and Electronics in Agriculture, 182, 105985, 2021.
Refbacks
- There are currently no refbacks.