• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2022, Volume: 15, Issue: 42, Pages: 2194-2203

Original Article

Stacked Ensembles: Boosting Model Performance to New Heights Based on Regression for Forecasting Future Wheat Commodities Prices in Gujarat

Received Date:05 August 2022, Accepted Date:16 September 2022, Published Date:10 November 2022


Objectives: The goal of this study is to develop an estimation method that will improve absolute and proportionate price predictions, helping farmers in their long-term efforts to boost output and profit. Methods: For the experimentation, Dataset is made up of wheat commodities price of different mandi’s of Gujarat region which is collected from agmarknet website, run by Indian government and weather variables which are obtained from weather API (world weather online website) based on commodities region such as Max-Min Temp, Pressure, Wind, WindSpeed, Humidity respectively which has a direct impact on crop production. Various machine learning approaches such as SVR (Support vector regressor), DTR (Decision tree regression), PR(Polynomial regression), Multiple regression, and Boosting algorithms such as XgBoost, Light GBM experimented for Daily data, 10 days and 15 days average price estimation, from the experimentation, observed that DTR Can’t be performed well with continuous numerical data. The presence of one or two outliers in the data can seriously affect the results of PR (sensitive to the outliers). The meta-learner attempts to minimize the weakness and maximize the strengths of every individual model such as Multiple regression and SVR (Support vector regressor). Findings: The development of a stacking model, which aids a farmer in more accurately predicting crop price, is motivated by the study of several agriculture-specific requirements like weather parameters, and fuel cost. Every individual regression model like the Decision tree regressor, Support vector regressor, and polynomial regressor is evaluated by the meta-learner to identify its strengths and weaknesses. Novelty: This research addresses the complexity of crop price forecasting along with unique feature set which includes (i) historical commodities prices (ii) weather data (iii) transportation factors iiii) Holiday Impacts.

Keywords: Agriculture; Commodity price; Wheat; Machine learning; Regression; Time Series; Forecasting


  1. Guo Y, Tang D, Tang W, Yang S, Tang Q, Feng Y, et al. Agricultural Price Prediction Based on Combined Forecasting Model under Spatial-Temporal Influencing Factors. Sustainability. 14(17):10483. Available from: https://doi.org/10.3390/su141710483
  2. Bayona-Oré S, Cerna R, Hinojoza ET. Machine Learning for Price Prediction for Agricultural Products. WSEAS TRANSACTIONS on BUSINESS and ECONOMICS. 2021;18:989–977. Available from: https://doi.org/10.37394/23207.2021.18.92
  3. Chen Z, Goh HS, Sin KL, Lim K, Chung NKH, Liew XY. Automated Agriculture Commodity Price Prediction System with Machine Learning Techniques. Advances in Science, Technology and Engineering Systems Journal. 2021;6(4):376–384. Available from: https://www.astesj.com/publications/ASTESJ_060442.pdf
  4. Selvanayagam T, Suganya S, Palendrarajah P, Manogarathash AMP, Gamage D, Kasthurirathna. Agro-Genius: Crop Prediction using Machine Learning. International Journal of Innovative Science and Research Technology. 2019;4(10):243–249. Available from: https://ijisrt.com/assets/upload/files/IJISRT19OCT1880.pdf.pdf
  5. Minghua W, Qiaolin Z, Zhijian Y, Jingui Z. Prediction model of agricultural product's price based on the improved BP neural network. 2012 7th International Conference on Computer Science & Education (ICCSE). 2012. Available from: https://doi.org/10.1109/ICCSE.2012.6295150
  6. Dhanapal R, AjanRaj A, Balavinayagapragathish S, Balaji J. Crop price prediction using supervised machine learning algorithms (article retracted) Journal of Physics: Conference Series. 2021;1916:012042. Available from: https://iopscience.iop.org/article/10.1088/1742-6596/1916/1/012282
  7. Corraya AD, Corraya S. Regression Based Price and Yield Prediction) of Agricultural Crop”. International Journal of Computer Applications. 2016;152(5):1–7. Available from: https://www.ijcaonline.org/archives/volume152/number5/corraya-2016-ijca-911804.pdf
  8. Tran TTK, Lee T, Shin JY, Kim JS, Kamruzzaman M. Deep Learning-Based Maximum Temperature Forecasting Assisted with Meta-Learning for Hyperparameter Optimization. Atmosphere. 2020;11(5):1–21. Available from: https://doi.org/10.3390/atmos11050487
  9. Lavanya M, Parameswari R. A Multiple Linear Regressions Model for Crop Prediction with Adam Optimizer and Neural Network Mlraonn. International Journal of Advanced Computer Science and Applications. 2020;11(4):253–257. Available from: https://dx.doi.org/10.14569/IJACSA.2020.0110434
  10. Prassanna SA, Harshanand BA, Srishti B, Chaitanya R, Soundari SKN, Sriram M, et al. Crop Value Forecasting using Decision Tree Regressor and Models. European Journal of Molecular & Clinical Medicine. 2020;07(02):3702–3722. Available from: https://ejmcm.com/article_2585_86ae450aad4837565e30767586a4d64b.pdf
  11. Moritz S, Bartz-Beielstein T. imputeTS: Time Series Missing Value Imputation in R. The R Journal. 2017;9(1):207–218. Available from: https://journal.r-project.org/archive/2017/RJ-2017-009/RJ-2017-009.pdf


© 2022 Joshi & Patel. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.