Determination of Retirement Period for Recommending Replacement of Civil Servants (PNS) in XYZ Regency Using the K-Means Algorithm
DOI:
https://doi.org/10.51903/fk3c8n46Keywords:
Retirement, Non-Teaching Civil Servants, K-Means Clustering, Rule-Based Matching, Employee Replacement RecommendationAbstract
Retirement marks the end of a Civil Servant’s (PNS) service period and requires proper preparation to ensure a smooth replacement process that meets organizational needs. Dinas X of XYZ Regency still faces challenges in managing employee data, particularly in identifying non-teaching employees approaching retirement. This study aims to implement the K-Means algorithm to classify employees based on job level and remaining years of service and to develop a web-based system that provides replacement recommendations using a rule-based matching approach based on Job Position, Competency, Educational Background, and Regional Apparatus Organization (OPD). The clustering process produced three groups: Near Retirement (0–11 years) with 503 employees, Medium Retirement (12–21 years) with 746 employees, and Far from Retirement (22–34 years) with 632 employees. The clustering quality achieved a Silhouette Score of 0.55, indicating reasonably good cluster separation. The clustering results were then used to support employee replacement recommendations. The evaluation results showed that among 62 employees approaching retirement, only 2 had replacement candidates who met all specified criteria. These findings indicate limited availability of suitable replacements. This study can support human resource planning, including job transfers, competency development, and recruitment strategies according to organizational need.
References
[1] A. Johar and F. F. Asahar, “Implementasi Algoritme Hard K-Means Clustering dalam Penentuan Masa Pensiun (Studi Kasus: Badan Kepegawaian Daerah Provinsi Bengkulu),” Jurnal Rekursif, p. 180, 2019. [Online]. Available: https://ejournal.unib.ac.id/index.php/rekursif/article/view/8490
[2] H. Profiliana and J. Wibowo, “Evaluasi Kinerja Pegawai Negeri Sipil Pemerintah Daerah Kabupaten Grobogan Menggunakan Algoritma K-Means,” Dinamik, vol. 27, no. 2, pp. 45–54, 2022, doi: 10.35315/dinamik.v27i2.9592.
[3] W. Cesar, R. Saputra, and A. Wibowo, “Clustering Employee Density with the K-Means Method for Predicting CASN Needs of Government Agencies,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 10, no. 2, pp. 340–354, 2023, doi: 10.35957/jatisi.v10i2.4593.
[4] P. S. Hasugian and J. R. Sagala, “Penerapan Data mining untuk Pengelompokan Siswa Berdasarkan Nilai Akademik dengan Algoritma K-Means,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 3, no. 3, pp. 383–391, 2022, doi: 10.30865/klik.v3i3.627.
[5] E. Yolanda and Suhardi, “Penerapan Algoritma K-Means Clustering untuk Pengelompokan Data Pasien Rehabilitasi Narkoba,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 4, no. 1, pp. 37–46, 2023, doi: 10.30865/klik.v4i1.1107.
[6] M. A. Al Fauzie and J. A. Putra, “Clustering Data Menggunakan Metode K-Means untuk Rekomendasikan Pembelajaran Akademik bagi Siswa Aktif dalam Ekstrakurikuler,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 4, no. 1, pp. 642–648, 2023, doi: 10.30865/klik.v4i1.1116.
[7] P. Subekti, T. D. Andini, and M. Islamiyah, “Sistem Penentuan Konsentrasi Jurusan Bagi Mahasiswa Informatika Menggunakan Metode K-Means di Institut Asia Malang,” Jurnal Manajemen Informatika (JAMIKA), vol. 12, no. 1, pp. 25–39, 2022, doi: 10.34010/jamika.v12i1.6452.
[8] A. E. Pramitasari and Y. Nataliani, “Perbandingan Clustering Karyawan Berdasarkan Nilai Kinerja dengan Algoritma K-Means dan Fuzzy C-Means,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 8, no. 3, pp. 1119–1132, 2021, doi: 10.35957/jatisi.v8i3.957.
[9] J. Han, M. Kamber, and J. Pei, “Data mining: Concepts and Techniques”, 3rd ed. Burlington, MA, USA: Morgan Kaufmann, 2012.
[10] D. A. Abu Salam, “Implementasi Algoritma K-Nearest Neighbor Berbasis Forward Selection untuk Prediksi Mahasiswa Non Aktif Universitas Dian Nuswantoro Semarang,” Journal of Information System, vol. 5, no. 1, p. 65, 2020. [Online]. Available: https://publikasi.dinus.ac.id/index.php/joins/article/view/3351/pdf.
[11] R. S. Syaputra Albadri, “Sistem Informasi Manajemen Kepegawaian Berbasis Web,” Jurnal Teknik Informatika dan Elektro, pp. 111–120, 2024. [Online]. Available: https://jurnal.ugp.ac.id/index.php/JURTIE/article/view/993.
[12] I. CPNS, “kumparan.com,” kumparan, 10 Februari 2022. Available: https://kumparan.com/info-cpns/apa-itu-pppk-non-guru-ini-penjelasannya-1xTdemwNX2V/full?utm_source=chatgpt.com.: 13 Juni 2026].
[13] Y. Natos, “Pengadaan Pegawai Negeri Sipil di Lingkungan Pemerintah Kota Manado,” Jurnal Administro: Jurnal Kajian Kebijakan dan Ilmu Administrasi Negara, vol. 3, no. 2, pp. 19–22, 2021, doi:10.53682/administro.v3i2.2795.
[14] A. Utama, “Karakteristik Mentor pada Kegiatan Pelatihan Dasar Calon Pegawai Negeri Sipil (CPNS),” KNOWLEDGE: Jurnal Inovasi Hasil Penelitian dan Pengembangan, vol. 1, no. 1, pp. 56–65, Dec. 2021, doi: 10.51878/knowledge.v1i1.818. [Online]. Available: https://share.google/i0jF4dPNuuWXMQyoq.
[15] Windari, “Dampak Pemberian Tambahan Penghasilan pada Kinerja Pegawai Negeri Sipil (Studi pada Kantor Camat Ngebel Kabupaten Ponorogo),” JIAP (Jurnal Ilmu Administrasi Publik), vol. 10, no. 2, pp. 156–168, 2023, doi:10.33061/jp.v10i2.5912.
[16] Undang-Undang Republik Indonesia Nomor 5 Tahun 2014 tentang Aparatur Sipil Negara. [Online]. Available: https://peraturan.bpk.go.id/Details/38580/uu-no-5-tahun-2014
[17] Peraturan Pemerintah Republik Indonesia Nomor 11 Tahun 2017 tentang Manajemen Pegawai Negeri Sipil. [Online]. Available: https://peraturan.bpk.go.id/Details/58477/pp-no-11-tahun-2017
[18] Peraturan Pemerintah Republik Indonesia Nomor 17 Tahun 2020 tentang Perubahan atas Peraturan Pemerintah Nomor 11 Tahun 2017 tentang Manajemen Pegawai Negeri Sipil. [Online]. Available: https://peraturan.bpk.go.id/Details/135060/pp-no-17-tahun-2020
[19] T. Susilowati, D. Sugiarto, and I. Mardianto, “Validity Test of Self-Organizing Map (SOM) and K-Means Algorithm for Employee Grouping,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 4, no. 6, pp. 1171–1178, 2020, doi: 10.29207/resti.v4i6.2492.
[20] V. Miftahuljannah and A. Suharso, “Pengimplementasian Berbagai Web Berdasarkan Kebutuhan Pengguna dengan Menggunakan Metode Systematic Literature Review,” INFOTECH Journal, vol. 9, no. 2, 2023, doi: 10.31949/infotech.v9i2.6341.
[21] A. S. Penda, R. K. Amri, and A. S. Suhendro, “Pengembangan Sistem Informasi Penjualan Berbasis Web,” Digital Transformation Technology (Digitech), vol. 3, no. 2, 2024, doi: 10.47709/digitech.
[22] M. R. Ramdani, “Perancangan Sistem Informasi Website Multiuser Menggunakan PHP-HTML dan Pengolahan Data Menggunakan Google Data Studio,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 10, no. 3, pp. 312–321, 2023, doi: 10.35957/jatisi.v10i3.5323.
[23] H. Senduk and M. Sitokdana, “Perancangan Sistem Informasi Pencatatan Gudang Berbasis Website (Studi Kasus Slingbag Salatiga),” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 9, no. 1, pp. 373–383, 2022, doi: 10.35957/jatisi.v9i1.1503.
[24] A. Johar and F. F. Asahar, “Implementasi Algoritme Hard K-Means Clustering dalam Penentuan Masa Pensiun (Studi Kasus: Badan Kepegawaian Daerah Provinsi Bengkulu),” Jurnal Rekursif, 2019. [Online]. Available: https://ejournal.unib.ac.id/index.php/rekursif/article/view/8490
[25] P. S. Hasugian and J. R. Sagala, “Penerapan Data mining untuk Pengelompokan Siswa Berdasarkan Nilai Akademik dengan Algoritma K-Means,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 3, no. 3, pp. 383–391, 2022, doi: 10.30865/klik.v3i3.627.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Salsa Paringga Pangestu Ningsih, Noviana Riza, Kiki Mustaqim

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in this journal are open access and licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license:
-
Authors retain copyright of their work.
-
Others are free to:
-
Share — copy and redistribute the material in any medium or format;
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially;
-
-
As long as they:
-
Give appropriate credit to the original author(s) and the source;
-
Provide a link to the license;
-
Indicate if changes were made;
-
Distribute their contributions under the same license as the original.
-
This ensures that derivative works will also remain free and open under the same terms.













.png)