Analisis Perbandingan Metode Artificial Neural Network dan XGBoost untuk Prediksi Profit dari Data Transaksi Point of Sale
Abstract
In the business world, profit is a key indicator of a company’s success, and predicting future profit is essential for strategic decision-making, such as inventory planning, pricing strategies, and marketing efforts. However, market fluctuations and dynamic consumer behavior often make profit prediction a significant challenge. With technological advancements, data mining methods have become increasingly utilized for analyzing such complex datasets, including Artificial Neural Networks (ANN) and XGBoost. This study explicitly aims to compare the performance of ANN and XGBoost in predicting profit based on transactional data from a Point of Sale (POS) system. ANN was selected for its ability to learn intricate and non-linear patterns in data, while XGBoost is known for its efficiency in processing large datasets and preventing overfitting through boosting and regularization techniques. The dataset consists of 44,348 transactions, with 80% used for training and 20% for testing. Results show that the ANN model achieved an R² of 0.9996 and a MAE of 1,359, outperforming the XGBoost model, which obtained an R² of 0.9978 and a MAE of 1,600. This significant difference indicates that ANN delivers more accurate predictions. ANN’s advantage lies in its capacity to develop complex internal representations of data, making it more responsive to subtle patterns in transactional behavior. These findings highlight the importance of choosing the appropriate model for profit prediction and demonstrate that ANN provides superior predictive accuracy, supporting more precise and data-driven strategic decisions for financial and sales management..
Downloads
References
R. Putri, D. Prasetya, R. N. Azizah, J. Bayu, W. Halwa, and R. H. Nugroho, “Implementasi Penggunaan Data Analytics untuk Mengoptimalkan Pengambilan Keputusan Bisnis di Era Digital,” jbkd, vol. 2, no. 2, pp. 1–12, 2025, doi: 10.47134/jbkd.v2i2.3459.
I. A. M. Basid, N. Islamiyah, R. A. Zuleika, A. Inka, S. Andrini, and I. R. Kusumasari, “Peran Teknologi Informasi dalam Perencanaan dan Pengembangan Bisnis di Era Digital: Tantangan dan Peluang,” Econ. Bus. Manag. J., vol. 3, no. 1, pp. 1–6, 2024, https://www.ejournal-rmg.org/index.php/EBMJ/article/download/201/243
J. Manajemen and U. S. Sulistyawati, “Decoding Big Data : Mengubah Data Menjadi Keunggulan Kompetitif dalam Pengambilan Keputusan Bisnis Abstrak,” jmt, vol. 1, no. 2, pp. 58–71, 2024, doi: 10.63447/jmt.v1i2.1114.
F. A. M. Nurlaelatul, “Journal of Artificial Intelligence and Digital Business ( RIGGS ) Prediksi Harga Properti Di Indonesia Menggunakan Algoritma Random,” RIGGS, vol. 4, no. 1, pp. 43–49, 2025, doi: 10.31004/riggs.v4i1.367.
A. I. Sakti et al., “Implementasi Artificial Neural Network ( ANN ) dalam Memprediksi Nilai Tukar Rupiah terhadap Dolar Amerika Implementasi Artificial Neural Network ( ANN ) dalam Memprediksi Nilai Tukar Rupiah terhadap Dolar Amerika,” EULER, vol. 12, no. 2, pp. 124–130, 2024, doi: 10.37905/euler.v12i2.26654.
I. Gunawan, “Optimasi Model Artificial Neural Network untuk Klasifikasi Paket Jaringan,” Simetris, vol. 14, no. 2, pp. 1–5, 2020, doi: 10.51901/simetris.v14i2.135.
A. Haris et al., “Improving Prediction Accuracy Of Imported Goods Prices Using,” vol. 12, no. 2, 2025, doi: 10.25126/jtiik.2025129419.
J. Fang, H. Wang, F. Yang, K. Yin, X. Lin, and M. Zhang, “A failure prediction method of power distribution network based on PSO and XGBoost,” Aust. J. Electr. Electron. Eng., vol. 19, no. 4, pp. 371–378, 2022, doi: 10.1080/1448837X.2022.2072447.
W. Kurniawan and U. Indahyanti, “Prediksi Angka Harapan Hidup Penduduk Menggunakan Metode XGBoost,” Indones. J. Appl. Technol., vol. 1, no. 2, p. 18, 2024, doi: 10.47134/ijat.v1i2.3045.
H. Wibiksana, “Prediksi Harga Saham pada Portofolio Investor dengan Analisis Time Series Harga Saham menggunakan ANN,” Bull. Comput. Sci. Res., vol. 4, no. 1, pp. 10–17, 2023, doi: 10.47065/bulletincsr.v4i1.298.
R. Awalia and F. Titik Kristanti, “Prediksi Financial Distress Menggunakan Artificial Neural Network (Ann) Pada Perusahaan Perbankan Yang Terdaftar Di Bursa Efek Indonesia (Bei) Periode 2017-2021,” J. Kaji. Pendidik. Ekon. dan Ilmu Ekon., vol. 7, no. 2, pp. 2549–2284, 2023, doi: 10.23969/oikos.v7i2.7924.
H. Wijaya, D. P. Hostiadi, and E. Triandini, “Meningkatkan Prediksi Penjualan Retail Xyz Dengan Teknik Optimasi Random Search Pada Model Xgboost,” SPINTER (Prosiding Semin. Has. Penelit. Inform. dan Komputer), vol. 1, no. 2, pp. 829–833, 2024, [Online]. Available: https://spinter.stikom-bali.ac.id/index.php/spinter/article/view/226
S. T. Nurmaya, B. Soesilo, and D. A. Fatah, “Prediksi Harga Saham Pada Bank Bca Tbk Dengan Teknik Xgboost ( Extreme Gradient Boosting ),” JURSIMA, 2023, doi: 10.47024/js.v12i2.925.
S. Suparmadi and A. Ramadhani, “Sistem Estimasi Pencapaian Target Profit Menggunakan Model Regresi Berbasis Machine Learning,” J. Sci. Soc. Res., vol. 5, no. 3, p. 703, 2022, doi: 10.54314/jssr.v5i3.1042.
R. Winurputra and D. E. Ratnawati, “Peramalan Penjualan Produk Menggunakan Extreme Gradient Boosting ( Xgboost ) Dan Kerangka Kerja Crisp-Dm Untuk Pengoptimalan Manajemen Persediaan ( Studi Kasus : Ub Mart ),” JTIIK, vol. 12, no. 2, pp. 417–428, 2025, doi: 10.25126/jtiik.2025129451.
D. Pradana, M. Luthfi Alghifari, M. Farhan Juna, and D. Palaguna, “Klasifikasi Penyakit Jantung Menggunakan Metode Artificial Neural Network,” Indones. J. Data Sci., vol. 3, no. 2, pp. 55–60, 2022, doi: 10.56705/ijodas.v3i2.35.
A. Khumaidi, R. Raafi’udin, and I. P. Solihin, “Pengujian Algoritma Long Short Term Memory untuk Prediksi Kualitas Udara dan Suhu Kota Bandung,” J. Telemat., vol. 15, no. 1, pp. 13–18, 2020, doi: 10.61769/telematika.v15i1.340.
D. Satriani and V. V. Kusuma, “Perhitungan harga pokok produksi dan harga pokok penjualan terhadap laba penjualan,” J. Ilm. MEA (Manajemen, Ekon. dan Akuntansi), vol. 4, no. 2, p. 438, 2020, [Online]. Available: https://journal.universitassuryadarma.ac.id/index.php/jtin/article/view/645
C. Herdian, A. Kamila, and I. G. Agung Musa Budidarma, “Studi Kasus Feature Engineering Untuk Data Teks: Perbandingan Label Encoding dan One-Hot Encoding Pada Metode Linear Regresi,” Technol. J. Ilm., vol. 15, no. 1, p. 93, 2024, doi: 10.31602/tji.v15i1.13457.
J. Elektronika and D. A. N. Komputer, “Mengoptimalkan Proses Pembersihan Data dalam Analisis Big Data Menggunakan Pipeline Berbasis AI,” ELKOM, vol. 17, no. 2, pp. 657–666, 2024, doi: 10.51903/elkom.v17i2.2311.
F. W. Atmojo et al., “Analisis Pemanfaatan Machine Learning Guna Prediksi Indeks,” Simtek J. Sist. Inf. Dan Tek. Komput., vol. 9, no. 2, 2024, doi: 10.51876/simtek.v9i2.390.
A. H. Nasrullah, “Implementasi Algoritma Decision Tree Untuk Klasifikasi Produk Laris,” J. Ilm. Ilmu Komput., vol. 7, no. 2, pp. 45–51, 2021, doi: 10.35329/jiik.v7i2.203.
C. Sandi, M. B. Adityawan, D. Harlan, M. Farid, and N. Nadeak, “Artificial Neural Network dan Pemodelan Numerik untuk Prediksi Parameter Aliran akibat Dam Break,” J. Tek. Sumber Daya Air, vol. 2, no. 2, pp. 129–140, 2022, doi: 10.56860/jtsda.v2i2.50.
G. Chairunisa et al., “Life Expectancy Prediction Using Decision Tree, Random Forest, Gradient Boosting, and XGBoost Regressions,” J. Sintak, vol. 2, no. 2, pp. 71–82, 2024, doi: 10.62375/jsintak.v2i2.249.
P. Septiana Rizky, R. Haiban Hirzi, and U. Hidayaturrohman, “Perbandingan Metode LightGBM dan XGBoost dalam Menangani Data dengan Kelas Tidak Seimbang,” J Stat. J. Ilm. Teor. dan Apl. Stat., vol. 15, no. 2, pp. 228–236, 2022, doi: 10.36456/jstat.vol15.no2.a5548.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Analisis Perbandingan Metode Artificial Neural Network dan XGBoost untuk Prediksi Profit dari Data Transaksi Point of Sale
Pages: 476-486
Copyright (c) 2025 Panji Kurniawan, Putry Wahyu Setyaningsih

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).





















