Machine Learning Models to Forecast Rice Prices at the Milling Level According to Quality
Keywords:
Machine learning, nonlinear, time series, forecasting, accuracyAbstract
Machine learning methods have the ability to model nonlinear time series data. Support vector regression (SVR) and double random forest (DRF) are supervised learning techniques that can be applied to such data. Since a comparative analysis of SVR and DRF for rice price forecasting has not been conducted in previous studies, this research aims to compare the performance of these two models in analyzing nonlinear rice price dynamics. The dataset consists of monthly milling-level rice prices for premium, medium, and out-of-quality categories, all of which exhibit nonlinear characteristics. Model performance was evaluated using three forecasting accuracy metrics: mean absolute percentage error (MAPE), mean absolute error (MAE), and root mean square error (RMSE). The results show that the MAPE values for all models are below 10%, indicating high predictive accuracy. Across all evaluation metrics, the SVR model consistently outperformed the DRF model. Therefore, SVR was selected as the best model to generate forecasts for premium, medium, and out of quality rice prices.
References
Agustina SD, Mustakim, Okfalisa, Bella C, Ramadhan MA. Support vector regression algorithm modeling to predict the availability of foodstuff in Indonesia to face the demographic bonus. J Phys Conf Ser. 2018; 1028: 012240. https://doi.org/10.1088/1742-6596/1028/1/012240
Beniwal M, Singh A, Kumar N. Forecasting long-term stock prices of global indices: A forward-validating genetic algorithm optimization approach for support vector regression. Appl Soft Comput. 2023; 145: 110566. https://doi.org/10.1016/j.asoc.2023.110566
Ensafi Y, Amin SH, Zhang G, Shah B. Time-series forecasting of seasonal items sales using machine learning–A comparative analysis. Int J Inf Manag Data Insights. 2022; 2(1): 100063. https://doi.org/10.1016/j.jjimei.2022.100058
Gupta AK, Singh V, Mathur P, Travieso-Gonzalez CM. Prediction of COVID-19 pandemic measuring criteria using support vector machine, prophet and linear regression models in Indian scenario. J Interdiscip Math. 2021; 24(1): 89-108.
Han S, Kim H, Lee YS. Double random forest. Mach Learn. 2020; 109: 1569-1586.
Hermawan W, Fitrawaty, Maipita I. Factors affecting the domestic price of rice in Indonesia. J Econ Policy. 2017; 10(1): 155-171.
Hsu SH, Hsieh JPA, Chih TC, Hsu KC. A two-stage architecture for stock price forecasting by integrating self-organizing map and support vector regression. Expert Syst Appl. 2009; 36(4): 7947-7951.
Hyndman RJ, Koehler AB. Another look at measures of forecast accuracy. Int J Forecasting. 2006; 22(4): 679-688.
Kasemset C, Sae-Haew N, Sopadang A. Multiple regression model for forecasting quantity of supply of off-season longan. Nat Life Sci Commun. 2014; 13(3): 391-402.
Khalil M, McGough AS, Pourmirza Z, Pazhoohesh M, Walker S. Machine learning, deep learning and statistical analysis for forecasting building energy consumption–A systematic review. Eng Appl Artif Intel. 2022; 115: 105287. https://doi.org/10.1016/j.engappai.2022.105287
Khan SD, Alarabi L, Basalamah S. Toward smart lockdown: A novel approach for COVID-19 hotspots prediction using a deep hybrid neural network. Computers. 2020; 9(4): 1-16.
Lv SX, Peng L, Hu H, Wang L. Effective machine learning model combination based on selective ensemble strategy for time series forecasting. Inf Sci. 2022; 612: 994-1023.
Marzouk M, Elshaboury N, Latif AA, Azab S. Deep learning model for forecasting COVID-19 outbreak in Egypt. Process Saf Environ. 2021; 153: 363-375.
Montaño MJJ, Palmer Pol A, Sesé Abad A, Cajal Blasco B. Using the R-MAPE index as a resistant measure of forecast accuracy. Psicothema. 2013; 25(4): 500-506.
Ngoc TT, Dai LV, Thuyen CM. Support vector regression based on grid search method of hyperparameters for load forecasting. Acta Polytech Hung. 2021; 18(2): 143-158.
Ohyver M, Pudjihastuti H. Arima model for forecasting the price of medium quality rice to anticipate price fluctuations. Procedia Comput Sci. 2018; 135: 707-711.
Purnama DI, Setianingsih S. Support vector regression (SVR) model for forecasting number of passengers on domestic flights at Sultan Hasanudin airport Makassar. J Mat Stat Komput. 2020; 16(3): 391-403.
Rady EHA, Fawzy H, Fattah AMA. Time series forecasting using tree based methods. J Stat Appl Probab. 2021; 10(1): 229-244.
Ratnasari AP, Susetyo B, Notodiputro KA. Comparison of double random forest and long short-term memory methods for analyzing economic indicator data. BAREKENG: J Math App. 2023; 17(2): 757-766.
Shoko C, Sigauke C. Short-term forecasting of COVID-19 using support vector regression: An application using Zimbabwean data. Am J Infect Control. 2023; 51(10): 1095-1107.
Smola AJ, Schölkopf B. A tutorial on support vector regression. Stat Comput. 2004; 14(3): 199-222.
Tang Y, Song Z, Zhu Y, Yuan H, Hou M, Ji J, et al. A survey on machine learning models for financial time series forecasting. Neurocomputing. 2022a; 512: 363-380.
Tang F, Wu Y, Zhou Y. Hybridizing grid search and support vector regression to predict the compressive strength of fly ash concrete. Adv Civ Eng Mater. 2022b; 2022: 1-12.
Vapnik VN. The nature of statistical learning theory. New York: Springer; 1995.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
