Implementation of the Gradient Boosting Algorithm for Palm Oil Price Prediction
DOI:
https://doi.org/10.59934/jaiea.v5i3.2316Keywords:
Price Prediction, Palm Oil, XGBoost Algorithm, Hyperparameter Tuning, Machine LearningAbstract
The price of palm oil is highly volatile due to the influence of global market dynamics, trade policies, and climate change, creating uncertainty for industry players in decision-making. This research aims to implement the XGBoost (Extreme Gradient Boosting) algorithm, optimized using Grid Search Cross-Validation, to predict palm oil prices. The dataset used is the Palm Oil Futures Historical Data.csv obtained from Kaggle, consisting of nine features. Data preprocessing is performed using StandardScaler for normalization, followed by model training with hyperparameter tuning. The system is built as a web-based application separating the frontend using PHP and Flask as the Backend API. Testing on 105 test data points yielded an MAE of 43.97, RMSE of 65.14, and R² of 91.82%, demonstrating the model’s strong ability to explain palm oil price variation. Based on the results, the XGBoost algorithm is suitable as a decision-support tool for commodity price prediction, achieving high accuracy consistent with standard criteria for commodity price forecasting and capable of handling large datasets.
Downloads
References
Y. I. M. E. U. Supriyanto, “Prediksi Harga Minyak Kelapa Sawit Menggunakan Linear Regression Dan Random,” J. Ilm. Wahana Pendidik., vol. 8, no. 7, pp. 178–185, 2022, doi: 10.5281/zenodo.6559603.
S. D. Oktarina, R. Nurkhoiry, R. Amalia, I. Pradiko, and S. Rahutomo, “Dampak Ketidakpastian Covid-19, Iklim, Dan Kompleksitas Lainnya Pada Industri Kelapa Sawit,” War. Pus. Penelit. Kelapa Sawit, vol. 27, no. 2, pp. 70–77, 2022, doi: 10.22302/iopri.war.warta.v27i2.83.
F. Suroso, G. M. Rahmah, and D. R. A. Permana, “Implementasi Sistem Peramalan Kebutuhan Spare Part Mobil Dengan WMA,” J. Teknol. dan Manaj., vol. 21, no. 2, pp. 113–122, 2023, doi: 10.52330/jtm.v21i2.136.
Z. I. Bimawan, T. Astuti, and P. Arsi, “Comparison of Random Forest, K-Nearest Neighbor, Decision Tree, and Xgboost Algorithms for Detecting Stunting in Toddlers,” J. Tek. Inform., vol. 5, no. 6, pp. 1599–1607, 2024, doi: 10.52436/1.jutif.2024.5.6.2629.
R. Siringoringo, R. Perangin Angin, and B. Rumahorbo, “Model Klasifikasi Genetic-Xgboost Dengan T-Distributed Stochastic Neighbor Embedding Pada Peramalan Pasar,” J. TIMES, vol. 11, no. 1, pp. 30–36, 2022, doi: 10.51351/jtm.11.1.2022672.
M. Fajri and A. Primajaya, “Komparasi Teknik Hyperparameter Optimization pada SVM untuk Permasalahan Klasifikasi dengan Menggunakan Grid Search dan Random Search,” J. Appl. Informatics Comput., vol. 7, no. 1, pp. 14–19, 2023, doi: 10.30871/jaic.v7i1.5004.
N. K. Tri Yulianto, Rhevi HS Putri, “ANALISIS PENGARUH HARGA CPO (CRUDE PALM OIL) DUNIA DAN PRODUKSI CPO (CRUDE PALM OIL) INDONESIA TERHADAP FLUKTUASI HARGA MINYAK GORENG CURAH INDONESIA,” J. Cakrawala Ilm., vol. 2, no. 2, pp. 741–748, 2022.
F. Ekonomi and U. Tidar, “Analisis Hubungan Volatilitas Harga Crude Palm Oil, Volume Ekspor dan Nilai Tukar Indonesia,” vol. 6, pp. 42–53, 2023.
F. A. Lase, K. S. Zai, J. Berkat, and I. Jaya, “Analysis Of Raw Material Inventory Forecasting Using The Time Series Method In Achieving Profit In The Integrated Training And Skills Development Business In Gunungsitoli Analisis Peramalan Persediaan Bahan Baku Menggunakan Metode Time Series Dalam Mencap,” vol. 4, no. 2, pp. 765–778, 2025.
R. Fadianty and S. Sriani, “Penerapan Data Mining dengan Algoritma Regresi Linear Berganda Untuk Memprediksi Omset Penjualan Minyak Goreng,” Build. Informatics, Technol. Sci., vol. 6, no. 2, pp. 1191–1200, 2024, doi: 10.47065/bits.v6i2.5951.
E. Ismanto and M. Novalia, “Komparasi Kinerja Algoritma C4.5, Random Forest, dan Gradient Boosting untuk Klasifikasi Komoditas,” Techno.Com, vol. 20, no. 3, pp. 400–410, 2021, doi: 10.33633/tc.v20i3.4576.
H. T. Wen, H. Y. Wu, and K. C. Liao, “Using XGBoost Regression to Analyze the Importance of Input Features Applied to an Artificial Intelligence Model for the Biomass Gasification System,” Inventions, vol. 7, no. 4, 2022, doi: 10.3390/inventions7040126.
K. Aqbar and R. A. Supomo, “Performance Analysis of LSTM and XGBoost Models Optimization in Forecasting Crude Palm Oil (CPO) Production at Palm Oil Mill (POM),” Int. J. Comput. Appl., vol. 185, no. 17, pp. 37–44, 2023, doi: 10.5120/ijca2023922890.
Z. Chen et al., “Automated Agriculture Commodity Price Prediction System with Machine Learning Techniques,” vol. 6, no. 2, 2021.
M. Andriyani, S. Nurwilda, D. Zatusiva Haq, and D. Candra Rini Novitasari, “Prediksi Harga Beras Premium Tahun 2024 Menggunakan Metode Gradient Boosted Trees Regression,” J. Teknol. Inf. J. Keilmuan dan Apl. Bid. Tek. Inform., vol. 18, no. 2, pp. 75–84, 2024, [Online]. Available: https://doi.org/10.47111/JTIAvailableonlineathttps://e-journal.upr.ac.id/index.php/JTI
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








