Classification of Remission Data for Prisoners in Tangerang Class IIA Correctional Institution using K-Nearest Neighbor Algorithm

Authors

  • Refa Maulana Abdillah Institut Teknologi dan Bisnis Bina Sarana Global, Indonesia
  • Halim Agung Institut Teknologi dan Bisnis Bina Sarana Global, Indonesia
  • Syaipul Ramdhan Institut Teknologi dan Bisnis Bina Sarana Global, Indonesia

DOI:

https://doi.org/10.70609/g-tech.v9i3.7532

Keywords:

K-Nearest Neighbors (KNN), Data Mining, remission, Correctional Institution

Abstract

The classification of remission eligibility for prisoners is a critical issue in correctional institutions, as it directly impacts prison management and the rehabilitation process. Special remission is a reduction of sentence granted to prisoners based on specific criteria, including religious status and the type of remission granted. This research aims to address the challenge of classifying special remission data for prisoners at the Class IIA Tangerang Correctional Facility using the K-Nearest Neighbor (KNN) algorithm. The dataset used in this study includes four indicators: Length of Sentence, Remaining Sentence, Crime Type, and Risk Dimension, which are analyzed to predict the remission status to be granted. The KNN model, with a parameter of k=1, achieved an accuracy of 93.94%. However, the model struggled to accurately classify the "No Remission" class, resulting in failures to detect prisoners who are not eligible for remission. The data processing steps included converting categorical data into numerical format, data normalization, and splitting the data into training and testing sets. Model evaluation was conducted using Confusion Matrix, Precision, Recall, and F1-Score. The findings suggest that while the KNN algorithm can be effectively used to classify remission status, further improvements are needed to address class imbalance and optimize results.

References

Cholil, M., & others. (2021). Optimizing k-Nearest Neighbor Algorithm for Classification Problems. Jurnal Teknologi Dan Sistem Komputer, 7(1), 42–58.

Creswell, J. W. (2014). Research Design: Qualitative, Quantitative, and Mixed Methods Approaches. SAGE Publications.

Danny, M., Muhidin, A., & Jamal, A. (2024). Application of the K-Nearest Neighbor Machine Learning Algorithm to Preduct Sales of Best-Selling Products. Brilliance: Research of Artificial Intelligence, 4(1), 255–264. https://doi.org/10.47709/brilliance.v4i1.4063

Han, J., & Kamber, M. (2007). Data Mining: Concepts and Techniques The Explosive Growth of Data: from terabytes to petabytes. Data Mining: Concepts and Techniques.

Iwan Sudipa, I. G., Azdy, R. A., Arfiani, I., Setiohardjo, N. M., & Sumiyatun. (2024). Leveraging K-Nearest Neighbors for Enhanced Fruit Classification and Quality Assessment. Indonesian Journal of Data and Science, 5(1), 30–36. https://doi.org/10.56705/ijodas.v5i1.125

Khotiah, T., Sugianela, Y., Setiowati, D., & Arianto, F. (2022). Classification Model of Prisoner Remission Data Using K-Nearest Neighbors Algorithm with Genetic Algorithm Optimization. Jurnal Ilmiah Intech : Information Technology Journal of UMUS, 4(01), 87–96.

Lau, B. P. L., & others. (2019). A Survey of Data Fusion inSsmart City Applications. Information Fusion, 52(January), 357–374. https://doi.org/10.1016/j.inffus.2019.05.004

Nazar, R. (2024). Implementasi Pemrograman Python Menggunakan Google Colab. Jurnal Informatika Dan Komputer (JIK) , 15(1), 50–56.

Nuraeni, F., Kurniadi, D., & Diazki, M. H. (2024). Algoritma K-Nearest Neighbor pada Kasus Dataset Imbalanced untuk Klasifikasi Kinerja Karyawan Perusahaan. Jurnal Teknologi Informasi Dan Ilmu Komputer, 11(3), 557–568. https://doi.org/10.25126/jtiik.938144

Peraturan Pemerintah RI. (1999). Peraturan Pemerintah Republik Indonesia tentang Syarat dan Tata Cara Pelaksanaan Hak Warga Binaan Pemasyarakatan (PP Nomor 32 Pasal 1 ayat 6 Tahun 1999).

Permenkumham. (2018). Peraturan Menteri Hukum dan Hak Asasi Manusia Nomor 3 Tahun 2018 Pasal 3 Tentang Syarat dan Tata Cara Pemberian Remisi, Asimilasi, Cuti Mengunjungi Keluarga, Pembebasan Bersyarat, Cuti Menjelang Bebas, dan Cuti Bersyarat.

Permenkumham. (2022). Peraturan Menteri Hukum dan Hak Asasi Manusia Nomor 7 Pasal 4 Tahun 2022 Tentang Perubahan Kedua Atas Peraturan Menteri Hukum dan Hak Asasi Manusia.

Ravat, A. (2023). K-Nearest Neighbor ( KNN ) model for carrier data classification in security domain. 1(1), 35–47.

Sakti, R., & Daulay, A. (2024). Analisis Kritis dan Pengembangan Algoritma K-Nearest Neighbor ( KNN ): Sebuah Tinjauan Literatur. 4(2), 131–141.

Susilo, B., Ramdhan, N. A., & Bachri, O. S. (2024). Application of the K-Nearest Neighbor Algorithm for Predicting Digital Product Sales Penerapan Algoritma K-Nearest Neighbor untuk Prediksi Penjualan Produk Digital. 4(October), 1466–1476.

Tiwari, V. R. (2023). Developments in KD tree and KNN searches. International Journal of Computer Applications, 975, 8887.

Ujianto, N. T., Fadilah, H., Fanti, A. P., & Saputra, A. D. (2025). IT-EXPLORE Penerapan algoritma K-Nearest Neighbors ( KNN ) untuk klasifikasi citra medis. 02, 33–43.

Undang-Undang RI. (1995). Undang-Undang Republik Indonesia Nomor 12 Tahun 1995 Tentang Pemasyarakatan. In tentang Permasyarakatan (Vol. 66, Issue September, pp. 37–39).

Wan, B., Sheng, Z., Zhu, W., & Hu, Z. (2024). Compactness-Weighted KNN Classification Algorithm. International Journal of Advanced Computer Science and Applications, 15(9), 229–238. https://doi.org/10.14569/IJACSA.2024.0150922

Downloads

Published

2025-07-26

How to Cite

Classification of Remission Data for Prisoners in Tangerang Class IIA Correctional Institution using K-Nearest Neighbor Algorithm. (2025). G-Tech: Jurnal Teknologi Terapan, 9(3), 1614-1623. https://doi.org/10.70609/g-tech.v9i3.7532