Research article Special Issues

Forecasting arabica coffee yields by auto-regressive integrated moving average and machine learning approaches

  • Received: 23 June 2023 Revised: 26 September 2023 Accepted: 01 November 2023 Published: 11 November 2023
  • Coffee is a major industrial crop that creates high economic value in Thailand and other countries worldwide. A lack of certainty in forecasting coffee production could lead to serious operation problems for business. Applying machine learning (ML) to coffee production is crucial since it can help in productivity prediction and increase prediction accuracy rate in response to customer demands. An ML technique of artificial neural network (ANN) model, and a statistical technique of autoregressive integrated moving average (ARIMA) model were adopted in this study to forecast arabica coffee yields. Six variable datasets were collected from 2004 to 2018, including cultivated areas, productivity zone, rainfalls, relative humidity and minimum and maximum temperatures, totaling 180 time-series data points. Their prediction performances were evaluated in terms of correlation coefficient (R2), and root means square error (RMSE). From this work, the ARIMA model was optimized using the fitting model of (p, d, q) amounted to 64 conditions through the Akaike information criteria arriving at (2, 1, 2). The ARIMA results showed that its R2 and RMSE were 0.7041 and 0.1348, respectively. Moreover, the R2 and RMSE of the ANN model were 0.9299 and 0.0642 by the Levenberg-Marquardt algorithm with TrainLM and LearnGDM training functions, two hidden layers and six processing elements. Both models were acceptable in forecasting the annual arabica coffee production, but the ANN model appeared to perform better.

    Citation: Yotsaphat Kittichotsatsawat, Anuwat Boonprasope, Erwin Rauch, Nakorn Tippayawong, Korrakot Yaibuathet Tippayawong. Forecasting arabica coffee yields by auto-regressive integrated moving average and machine learning approaches[J]. AIMS Agriculture and Food, 2023, 8(4): 1052-1070. doi: 10.3934/agrfood.2023057

    Related Papers:

  • Coffee is a major industrial crop that creates high economic value in Thailand and other countries worldwide. A lack of certainty in forecasting coffee production could lead to serious operation problems for business. Applying machine learning (ML) to coffee production is crucial since it can help in productivity prediction and increase prediction accuracy rate in response to customer demands. An ML technique of artificial neural network (ANN) model, and a statistical technique of autoregressive integrated moving average (ARIMA) model were adopted in this study to forecast arabica coffee yields. Six variable datasets were collected from 2004 to 2018, including cultivated areas, productivity zone, rainfalls, relative humidity and minimum and maximum temperatures, totaling 180 time-series data points. Their prediction performances were evaluated in terms of correlation coefficient (R2), and root means square error (RMSE). From this work, the ARIMA model was optimized using the fitting model of (p, d, q) amounted to 64 conditions through the Akaike information criteria arriving at (2, 1, 2). The ARIMA results showed that its R2 and RMSE were 0.7041 and 0.1348, respectively. Moreover, the R2 and RMSE of the ANN model were 0.9299 and 0.0642 by the Levenberg-Marquardt algorithm with TrainLM and LearnGDM training functions, two hidden layers and six processing elements. Both models were acceptable in forecasting the annual arabica coffee production, but the ANN model appeared to perform better.



    加载中


    [1] Food, Nations AOotU (2017) The future of food and agriculture: Trends and challenges: FAO.
    [2] Giovannucci D, Purcell T (2008) Standards and agricultural trade in Asia. Soc Sci Res Netw Electron J 34: 789–797. https://doi.org/10.2139/ssrn.1330266 doi: 10.2139/ssrn.1330266
    [3] Chittithaworn C, Islam MA, Keawchana T, et al. (2011) Factors affecting business success of small & medium enterprises (SMEs) in Thailand. Asian Soc Sci 7: 180–190. https://doi.org/10.5539/ass.v7n5p180 doi: 10.5539/ass.v7n5p180
    [4] Anderson K (2022) Agriculture in a more uncertain global trade environment. Agric Econ 53: 563–579. https://doi.org/10.1111/agec.12726 doi: 10.1111/agec.12726
    [5] Gu YH, Jin D, Yin H, et al. (2022) Forecasting agricultural commodity prices using dual input attention LSTM. Agriculture 12: 256. https://doi.org/10.3390/agriculture12020256 doi: 10.3390/agriculture12020256
    [6] Sharafati A, Moradi Tayyebi M, Pezeshki E, et al. (2022) Uncertainty of climate change impact on crop characteristics: A case study of Moghan plain in Iran. Theor Appl Climatol 149: 603–620. https://doi.org/10.1007/s00704-022-04074-9 doi: 10.1007/s00704-022-04074-9
    [7] Somporn C, Kamtuo A, Theerakulpisut P, et al. (2011) Effects of roasting degree on radical scavenging activity, phenolics and volatile compounds of Arabica coffee beans (Coffea arabica L. cv. Catimor). Int J Food Sci Technol 46: 2287–2296. https://doi.org/10.1111/j.1365-2621.2011.02748.x doi: 10.1111/j.1365-2621.2011.02748.x
    [8] Haryono A, Maarif MS, Suroso A, et al. (2023) The design of a contract farming model for coffee tree replanting. Economies 11: 185. https://doi.org/10.3390/economies11070185 doi: 10.3390/economies11070185
    [9] Azis AM, Irjayanti M, Rusyandi D (2022) Visibility and information accuracy of coffee supply chain in West Java Indonesia. In: Sergi BS, Sulistiawan D (Eds.), Modeling Economic Growth in Contemporary Indonesia, Emerald Publishing Limited, 225–236. https://doi.org/10.1108/978-1-80262-431-120221014
    [10] Katemauswa FA (2019) Factors influencing demand forecasting and demand planning: A case at an apparel retailer. MSc Dissertation, University of Kwazulu-Natal. https://researchspace.ukzn.ac.za/handle/10413/18966
    [11] Kilian B, Jones C, Pratt L, et al. (2006) Is sustainable agriculture a viable strategy to improve farm income in Central America? A case study on coffee. J Bus Res 59: 322–330. https://doi.org/10.1016/j.jbusres.2005.09.015 doi: 10.1016/j.jbusres.2005.09.015
    [12] Kittichotsatsawat Y, Jangkrajarng V, Tippayawong KY (2021) Enhancing coffee supply chain towards sustainable growth with big data and modern agricultural technologies. Sustainability 13: 4593. https://doi.org/10.3390/su13084593 doi: 10.3390/su13084593
    [13] Kruse L, Wunderlich N, Beck R (2019) Artificial intelligence for the financial services industry: What challenges organizations to succeed. Proceedings of the 52nd Hawaii International Conference on System Sciences, 6408–6417. https://doi.org/10.24251/hicss.2019.770 doi: 10.24251/hicss.2019.770
    [14] Utku Al, Kaya SK (2022) Deep learning based a comprehensive analysis for waste prediction. Oper Res Eng Sci: Theory Appl 5: 176–189. https://doi.org/10.31181/oresta190822135u doi: 10.31181/oresta190822135u
    [15] Tanikić D, Manić M, Devedžić G, et al. (2010) Modelling metal cutting parameters using intelligent techniques. J Mech Eng/Strojniški Vestnik, 56: 52–62.
    [16] Agatonovic-Kustrin S, Beresford R (2000) Basic concepts of artificial neural network (ANN) modeling and its application in pharmaceutical research. J Pharm Biomed Anal 22: 717–727. https://doi.org/10.1016/s0731-7085(99)00272-1 doi: 10.1016/S0731-7085(99)00272-1
    [17] Liakos KG, Busato P, Moshou D, et al. (2018) Machine learning in agriculture: A review. Sensors 18: 2674. https://doi.org/10.3390/s18082674 doi: 10.3390/s18082674
    [18] Khairunniza-Bejo S, Mustaffha S, Ismail WIW (2014) Application of artificial neural network in predicting crop yield: A review. J Food Sci Eng 4: 1.
    [19] Kittichotsatsawat Y, Tippayawong N, Tippayawong KY (2022) Prediction of arabica coffee production using artificial neural network and multiple linear regression techniques. Sci Rep 12: 14488. https://doi.org/10.1038/s41598-022-18635-5 doi: 10.1038/s41598-022-18635-5
    [20] Bhojani SH, Bhatt N (2020) Wheat crop yield prediction using new activation functions in neural network. Neural Comput Appl 32: 13941–13951. https://doi.org/10.1007/s00521-020-04797-8 doi: 10.1007/s00521-020-04797-8
    [21] Palanivel K, Surianarayanan C (2019) An approach for prediction of crop yield using machine learning and big data techniques. Int J Comput Eng Technol 10: 110–118. https://doi.org/10.34218/ijcet.10.3.2019.013 doi: 10.34218/ijcet.10.3.2019.013
    [22] Zhao Z, Chow TL, Rees HW, et al. (2009) Predict soil texture distributions using an artificial neural network model. Comput Electron Agric 65: 36–48. https://doi.org/10.1016/j.compag.2008.07.008 doi: 10.1016/j.compag.2008.07.008
    [23] Kafy AA, Rahman AF, Al Rakib A, et al. (2021) Assessment and prediction of seasonal land surface temperature change using multi-temporal Landsat images and their impacts on agricultural yields in Rajshahi, Bangladesh. Environ Challenges 4: 100147. https://doi.org/10.1016/j.envc.2021.100147 doi: 10.1016/j.envc.2021.100147
    [24] Kaul M, Hill RL, Walthall C (2005) Artificial neural networks for corn and soybean yield prediction. Agric Syst 85: 1–18. https://doi.org/10.1016/j.agsy.2004.07.009 doi: 10.1016/j.agsy.2004.07.009
    [25] Abdollahpour S, Kosari-Moghaddam A, Bannayan M (2020) Prediction of wheat moisture content at harvest time through ANN and SVR modeling techniques. Inf Proc Agric 7: 500–510. https://doi.org/10.1016/j.inpa.2020.01.003 doi: 10.1016/j.inpa.2020.01.003
    [26] Ustaoglu B, Cigizoglu H, Karaca M (2008) Forecast of daily mean, maximum and minimum temperature time series by three artificial neural network methods. Meteorol Appl 15: 431–445. https://doi.org/10.1002/met.83 doi: 10.1002/met.83
    [27] Tariq A, Yan J, Ghaffar B, et al. (2022) Flash flood susceptibility assessment and zonation by integrating analytic hierarchy process and frequency ratio model with diverse spatial data. Water 14: 3069. https://doi.org/10.3390/w14193069 doi: 10.3390/w14193069
    [28] Ghaderizadeh S, Abbasi-Moghadam D, Sharifi A, et al. (2022) Multiscale dual-branch residual spectral–spatial network with attention for hyperspectral image classification. IEEE J Sel Topics Appl Earth Observ Remote Sens 15: 5455–5467. https://doi.org/10.1109/jstars.2022.3188732 doi: 10.1109/JSTARS.2022.3188732
    [29] Zamani A, Sharifi A, Felegari S, et al. (2022) Agro climatic zoning of saffron culture in miyaneh city by using WLC method and remote sensing data. Agriculture 12: 118. https://doi.org/10.3390/agriculture12010118 doi: 10.3390/agriculture12010118
    [30] Kosari A, Sharifi A, Ahmadi A, et al. (2020) Remote sensing satellite's attitude control system: Rapid performance sizing for passive scan imaging mode. Aircr Eng Aerosp Technol 92: 1073–1083. https://doi.org/10.1108/aeat-02-2020-0030 doi: 10.1108/AEAT-02-2020-0030
    [31] Pfaff B (2008) Analysis of integrated and cointegrated time series with R. Springer Science & Business Media. https://doi.org/10.1007/978-0-387-75967-8
    [32] Padhan PC (2012) Application of ARIMA model for forecasting agricultural productivity in India. J Agric Soc Sci 8: 50–56.
    [33] Iqbal N, Bakhsh K, Maqbool A, et al. (2005) Use of the ARIMA model for forecasting wheat area and production in Pakistan. J Agric Soc Sci 1: 120–122.
    [34] Osman T, Divigalpitiya P, Arima T (2016) Using the SLEUTH urban growth model to simulate the impacts of future policy scenarios on land use in the Giza Governorate, Greater Cairo Metropolitan region. Int J Urban Sci 20: 407–426. https://doi.org/10.1080/12265934.2016.1216327 doi: 10.1080/12265934.2016.1216327
    [35] Kumari P, Mishra G, Srivastava C (2017) Forecasting models for predicting pod damage of pigeonpea in Varanasi region. J Agrometeorol 19: 265–269. https://doi.org/10.54386/jam.v19i3.669 doi: 10.54386/jam.v19i3.669
    [36] Bekuma T, Mamo G, Regassa A (2022) Modeling and forecasting of rainfall and temperature time series in East Wollega Zone, Western Ethiopia. Arabian J Geosci 15: 1377. https://doi.org/10.1007/s12517-022-10638-w doi: 10.1007/s12517-022-10638-w
    [37] Mahto AK, Alam MA, Biswas R, et al. (2021) Short-term forecasting of agriculture commodities in context of indian market for sustainable agriculture by using the artificial neural network. J Food Qual 2021: 9939906. https://doi.org/10.1155/2021/9939906 doi: 10.1155/2021/9939906
    [38] Purohit SK, Panigrahi S, Sethy PK, et al. (2021) Time series forecasting of price of agricultural products using hybrid methods. Appl Artif Intell 35: 1388–1406.. https://doi.org/10.1080/08839514.2021.1981659 doi: 10.1080/08839514.2021.1981659
    [39] Cenas PV (2017) Forecast of agricultural crop price using time series and Kalman filter method. Asia Pac J Multidiscip Res 5: 15–21.
    [40] Onsree T, Tippayawong N (2021) Machine learning application to predict yields of solid products from biomass torrefaction. Renewable Energy 167: 425–432. https://doi.org/10.1016/j.renene.2020.11.099 doi: 10.1016/j.renene.2020.11.099
    [41] Katongtung T, Onsree T, Tippayawong KY, et al. (2023) Prediction of biocrude oil yields from hydrothermal liquefaction using a gradient tree boosting machine approach with principal component analysis. Energy Rep 9: 215–222. https://doi.org/10.1016/j.egyr.2023.08.079 doi: 10.1016/j.egyr.2023.08.079
    [42] Prasertpong P, Onsree T, Khuenkaeo N, et al. (2023) Exposing and understanding synergistic effects in co-pyrolysis of biomass and plastic waste via machine learning. Bioresour Technol 369: 128419. https://doi.org/10.1016/j.biortech.2022.128419 doi: 10.1016/j.biortech.2022.128419
    [43] Onsree T, Tippayawong N, Phithakkitnukoon S, et al. (2022) Interpretable machine-learning model with a collaborative game approach to predict yields and higher heating value of torrefied biomass. Energy 249: 123676. https://doi.org/10.1016/j.energy.2022.123676 doi: 10.1016/j.energy.2022.123676
    [44] Rahman MM, Islam MA, Mahboob MG, et al. (2022) Forecasting of potato production in Bangladesh using ARIMA and mixed model approach. Sch J Agric Vet Sci 10: 136–145. https://doi.org/10.36347/sjavs.2022.v09i10.001 doi: 10.36347/sjavs.2022.v09i10.001
    [45] Sankar TJ, Pushpa P (2022) Implementation of time series stochastic modelling for zea mays production in India. Math Stat Eng Appl 71: 611–621.
    [46] Nassiri H, Mohammadpour SI, Dahaghin M (2022) Forecasting time trends of fatal motor vehicle crashes in Iran using an ensemble learning algorithm. Traffic Inj Prev 24: 44–49. https://doi.org/10.1080/15389588.2022.2130279 doi: 10.1080/15389588.2022.2130279
    [47] Gorzelany J, Belcar J, Kuźniar P, et al. (2022) Modelling of mechanical properties of fresh and stored fruit of large cranberry using multiple linear regression and machine learning. Agriculture 12: 200. https://doi.org/10.3390/agriculture12020200 doi: 10.3390/agriculture12020200
    [48] Salari K, Zarafshan P, Khashehchi M, et al. (2022) Modeling and predicting of water production by capacitive deionization method using artificial neural networks. Desalination 540: 115992. https://doi.org/10.1016/j.desal.2022.115992 doi: 10.1016/j.desal.2022.115992
    [49] Zhu X, Xiao G, Wang S (2022) Suitability evaluation of potential arable land in the Mediterranean region. J Environ Manag 313: 115011. https://doi.org/10.1016/j.jenvman.2022.115011 doi: 10.1016/j.jenvman.2022.115011
    [50] Wongchai W, Onsree T, Sukkam N, et al. (2022) Machine learning models for estimating above ground biomass of fast growing trees. Expert Syst Appl 199: 117186. https://doi.org/10.1016/j.eswa.2022.117186 doi: 10.1016/j.eswa.2022.117186
    [51] Katongtung T, Onsree T, Tippayawong N (2022) Machine learning prediction of biocrude yields and higher heating values from hydrothermal liquefaction of wet biomass and wastes. Bioresour Technol 344: 126278. https://doi.org/10.1016/j.biortech.2021.126278 doi: 10.1016/j.biortech.2021.126278
    [52] Pesaran MH (2007) A simple panel unit root test in the presence of cross‐section dependence. J Appl Econometrics 22: 265–312. https://doi.org/10.2139/ssrn.457280 doi: 10.2139/ssrn.457280
    [53] Suresh K, Krishna Priya S (2011) Forecasting sugarcane yield of Tamilnadu using ARIMA models. Sugar Tech 13: 23–26. https://doi.org/10.1007/s12355-011-0071-7 doi: 10.1007/s12355-011-0071-7
    [54] Eni D (2015) Seasonal ARIMA modeling and forecasting of rainfall in Warri Town, Nigeria. J Geosci Environ Prot 3: 91. https://doi.org/10.4236/gep.2015.36015
    [55] Sapna S, Tamilarasi A, Kumar MP (2012) Backpropagation learning algorithm based on Levenberg Marquardt Algorithm. Comp Sci Inform Technol (CS and IT) 2: 393–398. https://doi.org/10.5121/csit.2012.2438 doi: 10.5121/csit.2012.2438
    [56] Rawat S, Mishra AR, Gautam S, et al. (2022) Regional time series forecasting of chickpea using ARIMA and neural network models in central plains of Uttar Pradesh (India). Int J Environ Clim Change 2022: 2879–2889. https://doi.org/10.9734/ijecc/2022/v12i1131280 doi: 10.9734/ijecc/2022/v12i1131280
    [57] Somvanshi V, Pandey O, Agrawal P, et al. (2006) Modeling and prediction of rainfall using artificial neural network and ARIMA techniques. J Ind Geophys Union 10: 141–151.
    [58] Dwivedi D, Kelaiya J, Sharma G (2019) Forecasting monthly rainfall using autoregressive integrated moving average model (ARIMA) and artificial neural network (ANN) model: A case study of Junagadh, Gujarat, India. J Appl Nat Sci 11: 35–41. https://doi.org/10.31018/jans.v11i1.1951 doi: 10.31018/jans.v11i1.1951
    [59] Latifi Z, Shabanali Fami H (2022) Forecasting wheat production in Iran using time series technique and artificial neural network. J Agric Sci Technol 24: 261–273.
    [60] Sekhar PH, Kesavulu Poola K, Bhupathi M (2020) Modelling and prediction of coastal Andhra rainfall using ARIMA and ANN models. Int J Stat Appl Math 5: 104–110.
    [61] Paswan S, Paul A, Paul A, et al. (2022) Time series prediction for sugarcane production in Bihar using ARIMA & ANN model. The Pharma Innovation J 11: 1947–1956.
    [62] Zou P, Yang J, Fu J, et al. (2010) Artificial neural network and time seriesmodels for predicting soil salt and water content. Agric Water Manag 97: 2009–2019. https://doi.org/10.1016/j.agwat.2010.02.011 doi: 10.1016/j.agwat.2010.02.011
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1208) PDF downloads(156) Cited by(0)

Article outline

Figures and Tables

Figures(7)  /  Tables(4)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog