Optimasi Prediksi Harga Sawit Menggunakan Teknik Stacking Algoritma Machine Learning dan Deep Learning dengan SMOTE
Abstract
The prediction of palm oil prices plays a strategic role in decision-making within the agribusiness sector, particularly in addressing market volatility and imbalanced historical data distribution. This study aims to optimize the accuracy of palm oil price prediction by applying a stacking approach that combines machine learning and deep learning algorithms, while integrating the Synthetic Minority Oversampling Technique (SMOTE) to address class imbalance issues. Three main models were employed in this study: Random Forest, Long Short-Term Memory (LSTM), and a model enhanced with SMOTE. The evaluation was conducted using accuracy, precision, recall, and F1-score metrics, supported by confusion matrix analysis. The results indicate that the model integrated with SMOTE outperforms the others, achieving an accuracy of 0.5447, precision of 0.5512, recall of 0.5447, and F1-score of 0.5462. This model also demonstrates a more balanced classification performance compared to the LSTM and Random Forest models. These findings confirm that the application of oversampling techniques such as SMOTE, when combined with appropriate algorithms, can significantly enhance predictive performance in imbalanced datasets. The study contributes to the development of predictive models for commodity prices based on historical data and opens opportunities for further exploration of more adaptive hybrid methods in future research.
Downloads
References
FAO, “The State of World Fisheries and Aquaculture 2022.” [Online]. Available: https://openknowledge.fao.org/items/11a4abd8-4e09-4bef-9c12-900fb4605a02
P. Triya, N. Suarna, and N. Dienwati Nuris, “Penerapan Machine Learning Dalam Melakukan Prediksi Harga Saham Pt. Bank Mandiri (Persero) Tbk Dengan Algoritma Linear Regression,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 1207–1214, 2024, doi: 10.36040/jati.v8i1.8958.
K. Puteri and A. Silvanie, “Machine Learning untuk Model Prediksi Harga Sembako,” Jurnal Nasional Informatika, vol. 1, no. 2, pp. 82–94, 2020.
L. Qadrini, H. Hikmah, and M. Megasari, “Oversampling, Undersampling, Smote SVM dan Random Forest pada Klasifikasi Penerima Bidikmisi Sejawa Timur Tahun 2017,” Journal of Computer System and Informatics (JoSYC), vol. 3, no. 4, pp. 386–391, 2022, doi: 10.47065/josyc.v3i4.2154.
M. Sulistiyono, Y. Pristyanto, S. Adi, and G. Gumelar, “Implementasi Algoritma Synthetic Minority Over-Sampling Technique untuk Menangani Ketidakseimbangan Kelas pada Dataset Klasifikasi,” Sistemasi, vol. 10, no. 2, p. 445, 2021, doi: 10.32520/stmsi.v10i2.1303.
F. Kausar, M. Awadalla, M. Mesbah, and T. AlBadi, “Automated Machine Learning based Elderly Fall Detection Classification,” Procedia Comput Sci, vol. 203, pp. 16–23, Jan. 2022, doi: 10.1016/J.PROCS.2022.07.005.
M. Bahri, B. Veloso, A. Bifet, and J. Gama, “AutoML for Stream k-Nearest Neighbors Classification,” Proceedings - 2020 IEEE International Conference on Big Data, Big Data 2020, pp. 597–602, Dec. 2020, doi: 10.1109/BIGDATA50022.2020.9378396.
Z. Sadeqi-Arani and A. Kadkhodaie, “A bibliometric analysis of the application of machine learning methods in the petroleum industry,” Results in Engineering, vol. 20, p. 101518, Dec. 2023, doi: 10.1016/J.RINENG.2023.101518.
F. Kausar, M. Awadalla, M. Mesbah, and T. AlBadi, “Automated Machine Learning based Elderly Fall Detection Classification,” Procedia Computer Science, vol. 203, pp. 16–23, Jan. 2022, doi: 10.1016/J.PROCS.2022.07.005.
N. Mohamudally, “Paving the Way Towards Collective Intelligence at the IoT Edge,” Procedia Computer Science, vol. 203, pp. 8–15, 2022, doi: 10.1016/j.procs.2022.07.004.
S. Wang, T. K. Nguyen, and T. Bhatt, “Trip-Related Fall Risk Prediction Based on Gait Pattern in Healthy Older Adults: A Machine-Learning Approach,” Sensors, vol. 23, no. 12, Jun. 2023, doi: 10.3390/S23125536.
D. Razum, G. Seketa, J. Vugrin, and I. Lackovic, “Optimal threshold selection for threshold-based fall detection algorithms with multiple features,” 2018 41st International Convention on Information and Communication Technology, Electronics and Microelectronics, MIPRO 2018 - Proceedings, pp. 1513–1516, Jun. 2018, doi: 10.23919/MIPRO.2018.8400272.
M. Wever, A. Tornede, F. Mohr, and E. Hullermeier, “AutoML for Multi-Label Classification: Overview and Empirical Evaluation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 43, no. 9, pp. 3037–3054, Sep. 2021, doi: 10.1109/TPAMI.2021.3051276.
K. Greff, R. K. Srivastava, J. Koutnik, B. R. Steunebrink, and J. Schmidhuber, “LSTM: A Search Space Odyssey,” IEEE Transactions on Neural Networks and Learning Systems, vol. 28, no. 10, pp. 2222–2232, Oct. 2017, doi: 10.1109/TNNLS.2016.2582924.
T. H. Pham and P. Le-Hong, “End-to-End Recurrent Neural Network Models for Vietnamese Named Entity Recognition: Word-Level Vs. Character-Level,” Communications in Computer and Information Science, vol. 781, pp. 219–232, 2018, doi: 10.1007/978-981-10-8438-6_18.
N. Peng and M. Dredze, “Improving named entity recognition for Chinese social media with word segmentation representation learning,” 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016 - Short Papers, pp. 149–155, 2016, doi: 10.18653/v1/p16-2025.
Q. Tran, A. MacKinlay, and A. J. Yepes, “Named Entity Recognition with stack residual LSTM and trainable bias decoding,” Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Vol 1, Jun. 2017.
J. P. C. Chiu and E. Nichols, “Named Entity Recognition with Bidirectional LSTM-CNNs,” Transactions of the Association for Computational Linguistics, vol. 4, pp. 357–370, Dec. 2016, doi: 10.1162/tacl_a_00104.
W. Gunawan, D. Suhartono, F. Purnomo, and A. Ongko, “Named-Entity Recognition for Indonesian Language using Bidirectional LSTM-CNNs,” Procedia Computer Science, vol. 135, pp. 425–432, Jan. 2018, doi: 10.1016/J.PROCS.2018.08.193.
L. Wang, “Automatic Test Paper Generation Technology for Mandarin Based on Hilbert Huang Algorithm,” Procedia Computer Science, vol. 228, pp. 808–816, Jan. 2023, doi: 10.1016/J.PROCS.2023.11.099.
J. Zheng, H. Zhou, X. Liu, Z. Yang, and Z. Ge, “Local deep learning of principal component regression model for spectroscopic calibration of time-varying spectra data,” Measurement, vol. 247, p. 116855, Apr. 2025, doi: 10.1016/J.MEASUREMENT.2025.116855.
B. Liu et al., “Characterization of lacustrine shale oil reservoirs based on a hybrid deep learning model: A data-driven approach to predict lithofacies, vitrinite reflectance, and TOC,” Marine and Petroleum Geology, p. 107309, Jan. 2025, doi: 10.1016/J.MARPETGEO.2025.107309.
Y. Huo et al., “A survey of deep learning-based microscopic cell image understanding,” Displays, vol. 87, p. 102968, Apr. 2025, doi: 10.1016/J.DISPLA.2025.102968.
S. Liang et al., “Quantitative determination of acid value in palm oil during thermal oxidation using Raman spectroscopy combined with deep learning models,” Food Chemistry, p. 143107, Jan. 2025, doi: 10.1016/J.FOODCHEM.2025.143107.
S. B. Rabbani, I. V. Medri, and M. D. Samad, “Deep clustering of tabular data by weighted Gaussian distribution learning,” Neurocomputing, vol. 623, p. 129359, Mar. 2025, doi: 10.1016/J.NEUCOM.2025.129359.
A. Ali et al., “An intelligent computing methodology for two-phase flow performance assessment of electrical submersible pump using artificial neural network and synthetic minority over-sampling technique,” Measurement, vol. 244, p. 116512, Feb. 2025, doi: 10.1016/J.MEASUREMENT.2024.116512.
S. A. Alex, J. Jesu Vedha Nayahi, and S. Kaddoura, “Deep convolutional neural networks with genetic algorithm-based synthetic minority over-sampling technique for improved imbalanced data classification,” Applied Soft Computing, vol. 156, p. 111491, May 2024, doi: 10.1016/J.ASOC.2024.111491.
R. A. Prasojo et al., “Precise transformer fault diagnosis via random forest model enhanced by synthetic minority over-sampling technique,” Electric Power Systems Research, vol. 220, p. 109361, Jul. 2023, doi: 10.1016/J.EPSR.2023.109361.
N.-T. Ho et al., “Machine Learning Approach With Random Forest And Synthetic Minority Over-Sampling Technique May Be Optimal In Non-Invasive Euploidy Detection: A Preliminary Study,” Fertility and Sterility, vol. 120, no. 4, p. e107, Oct. 2023, doi: 10.1016/J.FERTNSTERT.2023.08.352.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Optimasi Prediksi Harga Sawit Menggunakan Teknik Stacking Algoritma Machine Learning dan Deep Learning dengan SMOTE
Pages: 638-645
Copyright (c) 2025 Abdul Karim, Budianto Bangun, Sugeng Prayetno, Mohammad Afrendi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















