Classification of Package Delivery Duration Using Decision Tree Algorithm

Main Article Content

Nava Azahra
Febriana Permatasari
Nalendra Cahaya Heraditya
Wahyu Dhani Prayoga
Muhammad Arifin

Abstract

This study aims to classify package delivery duration based on the difference between shipping time and delivery completion time using the Decision Tree algorithm. The dataset used in this research was obtained from PT Idenative and consists of historical logistics data containing various shipment attributes such as number of items, destination location, delivery status, and time-related variables. Data preprocessing was conducted through cleaning, transformation, and categorization, where delivery duration was classified into four categories: Fast, Normal, Slow, and Very Slow. The classification model was developed using the Decision Tree algorithm due to its interpretability and ability to handle both categorical and numerical data. The dataset was divided into training and testing sets with an 80:20 ratio, and model performance was evaluated using confusion matrix, accuracy, precision, recall, and F1-score metrics. The results show that the model achieved an accuracy of 40.72%, with a macro precision of 0.62, recall of 0.35, and F1-score of 0.34, indicating moderate performance. The model faces challenges in distinguishing between similar classes, particularly Normal and Slow categories. Feature importance analysis reveals that the number of items and destination location are key factors influencing delivery duration. This study demonstrates that the Decision Tree algorithm can be applied to classify delivery duration in the logistics domain while providing interpretable insights for operational decision-making. However, further improvements are required, such as applying ensemble methods and data balancing techniques to enhance model performance.

Article Details

How to Cite
Azahra, N., Permatasari, F., Heraditya, N., Prayoga, W., & Arifin, M. (2026). Classification of Package Delivery Duration Using Decision Tree Algorithm. Journal of Informatics Information System Software Engineering and Applications (INISTA), 8(2), 62-74. https://doi.org/10.20895/inista.v8i2.2122
Section
Articles

References

[1] A. H. Arayadiba, E. K. Nurnawati, N. Rahmawati, and I. Setiawan, “Prediksi Tingkat Risiko Keterlambatan Pengiriman Barang Menggunakan Algoritma Decision Tree,” Jurnal SCRIPT, vol. 13, 2025, doi: 10.34151/script.v13i01.5289.
[2] I. Supriadi, A. Mauluddin, I. Ibrahim, and P. Sagala, “Implementasi Algoritma Simple Hill Climbing Sebagai Optimasi Travelling Salesman Problem Dalam Penentuan Rute Pengiriman Barang (Studi Kasus: Jasa Pengiriman Barang J&T),” INFORMASI (Jurnal Informatika dan Sistem Informasi), vol. 15, no. 1, doi: 10.37424/informasi.v15i1.220.
[3] A. Ramdani, C. D. Sofyan, F. Ramdani, M. F. A. Tama, and M. A. Rachmatsyah, “Algoritma Klasifikasi Data Mining Untuk Memprediksi Masyarakat Dalam Menerima Bantuan Sosial,” Jurnal Ilmiah Sistem Informasi, vol. 1, no. 2, 2022, doi: 10.51903/juisi.v1i2.363.
[4] P. W. Sari, G. Giwangga, N. D. Fitriyanti, A. A. Putra, and H. Irawan, “Implementasi Algoritma C4.5 Untuk Klasifikasi Data Insentif Karyawan PT. Adhi Cakra Utama Mulia,” Jurnal Komputer Antartika, vol. 2, pp. 95–101, 2024, doi: 10.70052/jka.v2i3.318.
[5] M. A. Melfia, K. A. Ramadhini, M. A. Maulana, A. L. Dasiva, A. A. Briantoro, and B. O. Lubis, “Penerapan Data Mining Untuk Klasifikasi Data Penjualan Sembako Terlaris Dengan Algoritma C4.5,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 3, 2025, doi: 10.36040/jati.v9i3.13450.
[6] D. M. Musa et al., “Penerapan Data Mining Untuk Klasifikasi Data Penjualan Pakan Ternak Terlaris Dengan Algoritma C4.5,” Jurnal Teknologi Informatika dan Komputer, vol. 10, no. 1, pp. 172–186, Mar. 2024, doi: 10.37012/jtik.v10i1.1985.
[7] R. R. Andarista and A. Jananto, “Penerapan Data Mining Algoritma C4.5 Untuk Klasifikasi Hasil Pengujian Kendaraan Bermotor,” Jurnal Tekno Kompak, vol. 16, no. 2, 2022, doi: 10.33365/jtk.v16i2.1525.
[8] I. Risnawati et al., “Klasifikasi Data Mining Untuk Mengestimasi Potensi Curah Hujan Berdampak Banjir Daerah Menggunakan Algoritma C4.5,” Jurnal INSAN (Journal of Information Systems Management Innovation, vol. 3, no. 2, 2023, Accessed: Mar. 20, 2026. [Online]. Available: https://jurnal.bsi.ac.id/index.php/jinsan/article/view/3050
[9] A. Riansah, O. Nurdiawan, and R. Herdiana, “Penerapan Algoritma Random Forest dan Decision Tree untuk Meningkatkan Akurasi Klasifikasi Penjualan pada Toko Bangunan,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 3, 2025, doi: 10.36040/jati.v9i3.13622.
[10] F. G. Falentina, G. Y. Y. Wabdaron, D. Andiyani, M. S. Wondiwoi, and H. Sutejo, “Analisis Penerapan Data Mining Untuk Klasifikasi Penjualan Makanan Terlaris Menggunakan Algoritma Decision Tree (C4.5),” Jurnal Ilmiah Sistem Informasi, vol. 4, no. 2, pp. 382–395, Jan. 2026, doi: 10.51903/f2jegk76.
[11] F. Gorunescu, Data Mining: Concepts, Models, and Techniques, vol. 12. German: Springer, 2011. doi: 10.1007/978-3-642-19721-5.
[12] P. Jayadi, W. S. Bhagawan, and J. D. Aldida, “Class Balancing and Parameter Tuning of Machine Learning Models for Enhancing Aphrodisiac Herbal Plant Classification,” Journal of Informatics Information System Software Engineering and Applications (INISTA), vol. 7, no. 2, pp. 183–192, May 2025, doi: 10.20895/inista.v7i2.1832.
[13] P. W. Rahayu et al., BUKU AJAR DATA MINING. Jambi: PT. Sonpedia Publishing Indonesia, 2024. [Online]. Available: https://www.researchgate.net/publication/377415198
[14] I. Akbar, I. S. Samad, R. Rahmat, and S. Rosmiana, “Data Mining Analysis of K-means Algorithm and Decision Tree for Early Detection of Students at Risk of Dropping Out,” Journal of Informatics Information System Software Engineering and Applications (INISTA), vol. 7, no. 2, pp. 148–162, May 2025, doi: 10.20895/inista.v7i2.1630.
[15] M. Arifin, G. W. Bhawika, M. M. Habibi, W. Firdaus, D. E. Agustinova, and R. Rahim, “Application of the Cluster Classification Data Mining Method to Child Illiteracy in Indonesia,” Library Philosophy and Practice, vol. 2021, pp. 1–8, 2021.
[16] J. N. Permana, R. Goejantoro, and S. Prangga, “Comparison Of C4.5 Algorithm and Naïve Bayes for Prediction Of Student Study Timeliness (Case Study: Departement of Statistics Mulawarman University),” Jurnal Eksponensial, vol. 13, no. 2, Nov. 2022, doi: 10.30872/eksponensial.v13i2.947.
[17] D. Avianto and A. P. Wibowo, “Pembentukan Pohon Keputusan Untuk Penerima Bantuan Beras Miskin Menggunakan Algoritma Decision Tree C4.5,” Jurnal Ilmiah NERO, vol. 9, no. 1, 2024, Accessed: Apr. 24, 2026. [Online]. Available: https://journal.trunojoyo.ac.id/nero/article/view/28020
[18] Z. Fatah and R. Atreji, “Klasifikasi Penyakit Gagal Jantung Mengunakan Metode Decision Tree,” Jurnal Ilmiah Sistem Informasi, vol. 4, no. 3, pp. 844–854, Nov. 2025, doi: 10.51903/ana03n66.
[19] S. Helmiyah and R. Pramestiawan, “Analisis Komparatif Algoritma Machine Learning dengan Metrik Akurasi, Presisi, Recall, dan F1-Score pada Dataset Kacang Kering,” Jurnal Ilmu Komputer dan Teknologi, vol. 6, no. 3, pp. 152–159, Oct. 2025, doi: 10.35960/ikomti.v6i3.2031.
[20] F. Al Khafid Faridian and L. Riyandari, “Public Sentiment Analysis Against Identitas Kependudukan Digital Application Using Decision Trees,” Journal of Informatics Information System Software Engineering and Applications (INISTA), vol. 8, no. 1, pp. 1–11, 2025, doi: 10.20895/INISTA.V8I1.1607.