Daffa Ghifar Syauqi Eka Saputra
Universitas Negeri Malang

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Performance Analysis of Decision Tree Algorithms in Predicting Library Circulation Delays: A Case Study on Data Leakage and Imbalanced Datasets Daffa Ghifar Syauqi Eka Saputra; Shofa An Amta Al Mubaroq; Muhammad Zaki Wiryawan; Setiawan Setiawan; Utari Inayatu Zahrah; Putri Hajar Syalsabilah; Mohammad Yanuar Rizky; Amellia Novitasari
Jurnal Media Computer Science Vol 5 No 4 (2026): Oktober
Publisher : LPPJPHKI Universitas Dehasen Bengkulu

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.37676/jmcs.v5i4.13373

Abstract

This study critically analyzes the performance of the Decision Tree algorithm in predicting late book returns in a library circulation system, focusing on the identification of data leakage and imbalanced dataset issues that are commonly overlooked in naive model evaluations. The dataset comprises 1,249 borrowing transactions with a highly skewed class distribution: 1,219 on-time returns (97.60%) and 30 late returns (2.40%). Decision Tree models were trained using DecisionTreeClassifier with the Gini Index criterion under three data-splitting scenarios: 80:20, 70:30, and 60:40. Although test accuracy appeared high — 100% for the 80:20 and 70:30 splits and 99.80% for the 60:40 split — feature importance analysis revealed that the model's entire classification logic depends solely on the Member_ID feature (importance score = 1.0000), a unique identifier devoid of generalizable predictive value. Decision tree visualization confirms that the resulting two-level structure uses only Member_ID thresholds, ignoring all temporal and categorical features entirely. This study concludes that high accuracy alone does not indicate true generalization capability, and emphasizes the critical need for proper feature selection, class imbalance handling (e.g., SMOTE), and multidimensional evaluation metrics (F1-score, AUC-ROC) as minimum standards in machine learning-based predictive model development.