Muhammad Naufal Rauf Ibrahim
Department of Agricultural and Biosystem Engineering, Faculty of Agroindustrial Technology, Padjadjaran University

Published : 2 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 2 Documents
Search

Price Forecasting of Shallots Using the Machine Learning Approach of Random Forest Regression Supporting Price Stabilization Muhammad Naufal Rauf Ibrahim
Jurnal Keteknikan Pertanian Vol. 13 No. 3 (2025): Jurnal Keteknikan Pertanian
Publisher : PERTETA

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.19028/jtep.013.3.449-461

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.
Prototype of AI-Integrated Chatbot for Shallot Price Forecasting and Advisory Support to Assist Farmer Decision Making Muhammad Naufal Rauf Ibrahim; Risnandar; Alvin Fatikhunnada
Jurnal Keteknikan Pertanian Vol. 14 No. 1 (2026): Jurnal Keteknikan Pertanian
Publisher : PERTETA

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.19028/jtep.014.1.17-31

Abstract

Forecasting agricultural commodity prices is a fundamental tool for sustainable development in the agricultural economy and broader economic stability. With rapid and simple access to information on future prices, farmers can plan their planting schedules to optimize profits. This study presents a prototype AI chatbot that integrates price forecasting and advisory functions to assist farmers in decision-making and interact as an extension agent. Price forecasting employed Random Forest regression, achieving MAPE of 8.34% training, 13.98% validation, and 15.62% testing. The chatbot was developed to access price forecasting information for the next four months. This system also integrates an LLM-AI model for consultations on planting schedules and other topics using a trusted knowledge base. During the testing phase, the chatbot successfully made predictions, provided recommendations, and interacted as an extension agent. Although demonstrating promising results, this study is limited to shallot price forecasting in Yogyakarta, highlighting the need for broader commodity and regional coverage in future studies. Unlike previous studies that focused only on forecasting or advisory, this study integrates predictive analytics with conversational AI in a farmer friendly chatbot.