Machine Learning-Based Forecasting Model for Paddy Rice Price movements Using Climatic and Macroeconomic Variables in Gombe State, Nigeria

Authors

Abdulrashid Isiyaku

Department of Computer Science, Faculty of Science, Gombe State University, Gombe (Nigeria)

Prof. Bala Modi

Department of Computer Science, Faculty of Science, Gombe State University, Gombe (Nigeria)

A. M. Yahaya

Department of Computer Science, Faculty of Science, Gombe State University, Gombe (Nigeria)

Aminu Abdullahi Bala

Department of Computer Science, Faculty of Science, Gombe State University, Gombe (Nigeria)

Zainab Ahmed

Department of Computer Science, Faculty of Science, Gombe State University, Gombe (Nigeria)

Article Information

DOI: 10.51584/IJRIAS.2026.11070164

Subject Category: Machine Learning

Volume/Issue: 11/7 | Page No: 2285-2300

Publication Timeline

Submitted: 2026-08-02

Accepted: 2026-08-08

Published: 2026-08-17

Abstract

Paddy rice is a major staple crop in Gombe State, Nigeria, contributing significantly to food security, household income, and rural livelihoods. However, paddy rice prices are highly volatile due to the combined effects of climatic variability, macroeconomic conditions, and market dynamics, creating uncertainty for farmers, traders, and policymakers. Existing forecasting studies have primarily focused on generalized agricultural commodities or relied on historical price data with limited integration of climatic and macroeconomic variables for localized price prediction. This study developed a machine learning-based forecasting model for predicting paddy rice price movements in Gombe State by integrating monthly historical paddy rice prices with climatic variables (rainfall, temperature, and relative humidity) and selected macroeconomic indicators obtained from the Climate Hazards Group InfraRed Precipitation with Station Data (CHIRPS), the Central Bank of Nigeria (CBN), the National Bureau of Statistics (NBS), FAOSTAT, and the Gombe State Agricultural Development Programme (GSADP). Five machine learning models, namely Random Forest, Extreme Gradient Boosting (XGBoost), LightGBM, CatBoost, and Long Short-Term Memory (LSTM), were developed and evaluated using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and the coefficient of determination (R²). The comparative evaluation showed that the Random Forest model achieved the best forecasting performance among the evaluated models. The developed forecasting framework provides a reliable decision-support tool for anticipating paddy rice price movements, reducing financial risk, improving production and marketing decisions, and supporting evidence-based agricultural policy formulation to enhance market efficiency in Gombe State, Nigeria.

Keywords

Price Movement; Machine learning; Random Forest; Climatic variables

Downloads

References

1. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324 [Google Scholar] [Crossref]

2. Central Bank of Nigeria. (2025). Statistical Bulletin. https://www.cbn.gov.ng [Google Scholar] [Crossref]

3. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. https://doi.org/10.1145/2939672.2939785 [Google Scholar] [Crossref]

4. Dzarma, E. D., Nyor, N., Jiya, M., & Gana, A. S. (2024). Optimization of rice yield in Gombe State, North-East Nigeria with machine learning. Adeleke University Journal of Engineering and Technology, 7(2), 65–68. [Google Scholar] [Crossref]

5. Food and Agriculture Organization of the United Nations (FAO). (2022). The State of Food and Agriculture 2022: Leveraging automation in agriculture for transforming agrifood systems. FAO. https://doi.org/10.4060/cb9479en [Google Scholar] [Crossref]

6. Food and Agriculture Organization of the United Nations (FAO). (2025). FAOSTAT Statistical Database. https://www.fao.org/faostat/ [Google Scholar] [Crossref]

7. Funk, C., Peterson, P., Landsfeld, M., Pedreros, D., Verdin, J., Shukla, S., Husak, G., Rowland, J., Harrison, L., Hoell, A., & Michaelsen, J. (2015). The Climate Hazards InfraRed Precipitation with Station Data (CHIRPS): A new environmental record for monitoring extremes. Scientific Data, 2, 150066. https://doi.org/10.1038/sdata.2015.66 [Google Scholar] [Crossref]

8. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735 [Google Scholar] [Crossref]

9. Hyndman, R. J., & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts. https://otexts.com/fpp3/ [Google Scholar] [Crossref]

10. Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., & Liu, T. Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems, 30, 3146–3154. [Google Scholar] [Crossref]

11. Kumar, A., & Singh, R. (2022). Machine learning approaches for agricultural commodity price forecasting under climatic variability. Computers and Electronics in Agriculture, 198, 107017. https://doi.org/10.1016/j.compag.2022.107017 [Google Scholar] [Crossref]

12. National Bureau of Statistics. (2025). Selected Food Price Watch. https://nigerianstat.gov.ng [Google Scholar] [Crossref]

13. Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2018). CatBoost: Unbiased boosting with categorical features. Advances in Neural Information Processing Systems, 31, 6638–6648. [Google Scholar] [Crossref]

14. Sanusi, O. I., Safi, S. K., Adeeko, O., & Tabash, M. I. (2022). Forecasting agricultural commodity price using different models: A case study of widely consumed grains in Nigeria. Agricultural and Resource Economics: International Scientific E-Journal, 8(2), 124–140. https://doi.org/10.51599/are.2022.08.02.07 [Google Scholar] [Crossref]

15. Sari, M., Duran, S., Kutlu, H., et al. (2024). Various optimized machine learning techniques to predict agricultural commodity prices. Neural Computing and Applications, 36, 11439–11459. https://doi.org/10.1007/s00521-024-09679-x [Google Scholar] [Crossref]

16. Witten, I. H., Frank, E., & Hall, M. A. (2011). Data Mining: Practical Machine Learning Tools and Techniques (3rd ed.). Morgan Kaufmann. [Google Scholar] [Crossref]

17. Zhang, T., & Tang, Z. (2024). Agricultural commodity futures prices prediction based on a new hybrid forecasting model combining quadratic decomposition technology and LSTM model. Frontiers in Sustainable Food Systems, 8, Article 1334098. https://doi.org/10.3389/fsufs.2024.1334098 [Google Scholar] [Crossref]

18. Zhang, Y., Wang, H., Li, X., & Chen, J. (2023). Random Forest-based forecasting of agricultural commodity prices using climatic and economic variables. Agricultural Systems, 210, 103707. https://doi.org/10.1016/j.agsy.2023.103707 [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles