Price Forecasting of Shallots Using the Machine Learning Approach of Random Forest Regression Supporting Price Stabilization

Shallots (Allium cepa L.) are a major horticultural commodity in Indonesia, with a production of 1.98 million tons in 2022, representing 13.59% of the total national vegetable production. Accurate forecasting of agricultural commodity prices is fundamental to sustainable development in the agricultural sector and contributes to broader economic stability. This study uses the random forest regression algorithm, a supervised machine learning technique that utilizes ensemble learning to combine multiple decision trees. This approach offers advantages in modeling non-linear relationships for agricultural price prediction while also reducing the risk of overfitting, resulting in more accurate and stable forecasts compared to individual decision trees. The purpose of this research is to develop and optimize a shallot price forecasting model using random forest regression. The optimized model, using 50 decision tree estimators, successfully predicted up to 15 months ahead of monthly prices and achieved an RMSE of 2363.15 and a MAPE of 8.71% in validation, then a MAPE of 10.31% in test evaluation.

Authors

Institutions

Publication Details

Journal
Jurnal Keteknikan Pertanian
Published
2025-10-09
DOI
https://doi.org/10.19028/jtep.013.3.449-461
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Price Forecasting of Shallots Using the Machine Learning Approach of Random Forest Regression Supporting Price Stabilization

Mohd Adib Ibrahim
Jurnal Keteknikan Pertanian
Smart Agriculture and AI
article

Price Forecasting of Shallots Using the Machine Learning Approach of Random Forest Regression Supporting Price Stabilization

Mohd Adib Ibrahim
article en

Abstract

Shallots (Allium cepa L.) are a major horticultural commodity in Indonesia, with a production of 1.98 million tons in 2022, representing 13.59% of the total national vegetable production. Accurate forecasting of agricultural commodity prices is fundamental to sustainable development in the agricultural sector and contributes to broader economic stability. This study uses the random forest regression algorithm, a supervised machine learning technique that utilizes ensemble learning to combine multiple decision trees. This approach offers advantages in modeling non-linear relationships for agricultural price prediction while also reducing the risk of overfitting, resulting in more accurate and stable forecasts compared to individual decision trees. The purpose of this research is to develop and optimize a shallot price forecasting model using random forest regression. The optimized model, using 50 decision tree estimators, successfully predicted up to 15 months ahead of monthly prices and achieved an RMSE of 2363.15 and a MAPE of 8.71% in validation, then a MAPE of 10.31% in test evaluation.

Jurnal Keteknikan PertanianVol. 13(3)
Padjadjaran University (ID)
Openalex Percentile: Top 79%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Price Forecasting of Shallots Using the Machine Learning Approach of Random Forest Regression Supporting Price Stabilization — Mohd Adib Ibrahim · Jurnal Keteknikan Pertanian (2025) | TGRS Research Map | TGRS