Optimasi Prediksi Harga Sawit Menggunakan Teknik Stacking Algoritma Machine Learning dan Deep Learning dengan SMOTE


  • Abdul Karim * Mail Universitas Labuhanbatu, Rantauprapat, Indonesia
  • Budianto Bangun Universitas Labuhanbatu, Rantauprapat, Indonesia
  • Sugeng Prayetno Universitas Labuhanbatu, Rantauprapat, Indonesia
  • Mohammad Afrendi Universitas Labuhanbatu, Rantauprapat, Indonesia
  • (*) Corresponding Author
Keywords: Palm Oil Price; LSTM; Random Forest; SMOTE; Stacking

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

Download data is not yet available.

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

Dimensions Badge
Article History
Submitted: 2025-04-30
Published: 2025-06-25
Abstract View: 103 times
PDF Download: 69 times
How to Cite
Karim, A., Bangun, B., Prayetno, S., & Afrendi, M. (2025). Optimasi Prediksi Harga Sawit Menggunakan Teknik Stacking Algoritma Machine Learning dan Deep Learning dengan SMOTE. Building of Informatics, Technology and Science (BITS), 7(1), 638-645. https://doi.org/10.47065/bits.v7i1.7239
Section
Articles

Most read articles by the same author(s)

1 2 > >>