Klasifikasi Tingkat Kedisiplinan Siswa Menggunakan Algoritma Machine Learning: Decision Tree, KNN, dan Naive Bayes
DOI:
https://doi.org/10.62712/juktisi.v4i3.788Keywords:
kedisiplinan siswa, klasifikasi machine learning, Decision Tree, KNN, Naive BayesAbstract
Discipline is a crucial factor influencing the effectiveness of learning processes and the quality of graduates in vocational education. SMK Swasta RK Bintang Timur Pematangsiantar maintains records of student attendance and academic performance that have the potential to be analyzed as indicators of student discipline. However, these data have not been optimally utilized as a basis for decision-making to provide early detection of students who are at risk of declining discipline. This research aims to develop a predictive model of student discipline by identifying patterns of attendance and academic achievement using a data mining approach.The study employs the CRISP-DM framework, consisting of business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The dataset includes daily attendance records, semester academic grades, and documented disciplinary behavior used as class labels. Several classification algorithms—Decision Tree (C4.5), KNN, Naive Bayes were implemented to compare model performance. Model evaluation was conducted using confusion matrix, accuracy, precision, recall, and F1-score, with k fold cross-validation.The results show that attendance and academic performance patterns significantly influence the prediction of student discipline levels. The Random Forest algorithm produced the highest performance results, with consistent F1-scores for at-risk student categories. The most influential features include attendance percentage, the number of unexcused absences, and average academic scores. The resulting model is implemented as a decision support prototype dashboard to assist counseling teachers and homeroom teachers in monitoring potential disciplinary violations and planning early intervention. This research is expected to support the development of data-driven discipline monitoring systems in schools and provide practical benefit in preventive actions to improve student behavior quality at SMK Swasta RK Bintang Timur Pematangsiantar.
Downloads
References
F. S. A. Safitri and E. Sutadji, “Strategi Pengembangan Kompetensi Lulusan Pendidikan Kejuruan Guna Meningkatkan Daya Saing Global,” Didakt. J. Kependidikan, vol. 14, no. 1, pp. 1507–1522, 2025, [Online]. Available: https://jurnaldidaktika.org
N. A. Pristi, A. V. Sjafri, and G. Suprayitno, “Strategi Peningkatan Daya Saing Usaha Kecil Menengah Melalui Peningkatan Mutu Sekolah Menengah Kejuruan,” Manaj. IKM J. Manaj. Pengemb. Ind. Kecil Menengah, vol. 18, no. 1, pp. 73–83, 2023, doi: 10.29244/mikm.18.1.73-83.
S. Bidol, “Analisis ketersediaan sumber daya dan proses pengembangan kurikulum terhadap kebutuhan industri dimediasi oleh mutu pendidikan di SMK Negeri 8 Samarinda …,” J. Din. Manaj. Berkelanjutan, vol. 6, no. 4, 2024, [Online]. Available: https://ejurnals.com/ojs/index.php/jdmb/article/view/1320%0Ahttps://ejurnals.com/ojs/index.php/jdmb/article/download/1320/1571
A. Rifai, “Strategi Kepala Sekolah Dalam Implementasi Pendidikan Nilai Di Sekolah,” TA’DIBUNA J. Pendidik. Agama Islam, vol. 1, no. 1, p. 1, 2018, doi: 10.30659/jpai.1.1.1-10.
A. Widiyarto and M. Ali, “Efektivitas Pendekatan Segitiga Restitusi dalam Pendidikan Agama Islam untuk Meningkatkan Disiplin Siswa Sekolah Menengah Kejuruan di Boyolali (Studi Kasus SMK N 1 Sawit dan SMK Muhammadiyah 1 Boyolali),” J. Islam. Educ. Stud., vol. 10, no. 3, pp. 544–567, 2025, [Online]. Available: http://ejournal.uniramalang.ac.id/index.php/alwijdan
E. Alzizah, D. S. Wulandari, R. Rahim, J. Wulansyah, and Duriska, “Pengelolaan Ketidakhadiran Siswa Berbasis Aplikasi di SMK 1 Muhammadiyah Sangatta,” J. Adm. Pendidik. Islam, vol. 4, no. 2, pp. 190–200, 2022, doi: 10.15642/japi.2022.4.2.190-200.
Y. A. Rindri, D. Yolanda, and I. Irwan, “Sistem Monitoring dan Penilaian Siswa Terbaik Praktik Kerja Industri pada SMK Negeri 1 Bakam,” Manutech J. Teknol. Manufaktur, vol. 16, no. 02, pp. 135–144, 2024, doi: 10.33504/manutech.v16i02.345.
I. Malah, H. Sumual, and I. Rianto, “Perancangan Sistem Absensi, Tracking Guru dan Siswa di Sekolah Menengah Kejuruan,” Edutik J. Pendidik. Teknol. Inf. dan Komun., vol. 2, no. 2, pp. 159–171, 2022, doi: 10.53682/edutik.v2i2.4431.
S. A. A. Kharis and A. H. A. Zili, “Learning Analytics dan Educational Data Mining pada Data Pendidikan,” J. Ris. Pembelajaran Mat. Sekol., vol. 6, no. 1, pp. 12–20, 2022, doi: 10.21009/jrpms.061.02.
A. R. Azis, “Analisis Komparasi Algoritma Machine Learning dalam Prediksi Performa Akademik Mahasiswa: Literature Review,” J. Ilmu Komput. dan Inform., vol. 4, no. 2, pp. 143–148, 2025, doi: 10.54082/jiki.212.
S. Anastassia Amellia Kharis and A. Haqqi Anna Zili, “Tantangan Dan Peluang Educational Data Mining Dan Learning Analytics Pada Pendidikan Jarak Jauh Di Indonesia,” in Prosiding Seminar Nasional Sains dan …, 2024, pp. 218–225. [Online]. Available: https://conference.ut.ac.id/index.php/saintek/article/view/2536%0Ahttps://conference.ut.ac.id/index.php/saintek/article/download/2536/1049
Nuari Anisa Sivi, Rudi Hartono, and Putra Hanafi, “Penerapan Algoritma C4.5 untuk Prediksi Kelulusan Mahasiswa berdasarkan Data Akademik,” Polyg. J. Ilmu Komput. dan Ilmu Pengetah. Alam, vol. 1, no. 5, pp. 01–17, 2023, doi: 10.62383/polygon.v1i5.855.
H. Pratiwi, M. I. Sa’ad, and Salmon, “Strategi Manajemen Pendidikan Berbasis Machine Learning untuk Prediksi Prestasi Siswa,” Borneo Educ. Manag. Res. J., vol. 6, no. 1, pp. 21–30, 2025, [Online]. Available: https://jurnal.fkip.unmul.ac.id/index.php/bedu/article/view/5016%0Ahttps://jurnal.fkip.unmul.ac.id/index.php/bedu/article/download/5016/1989
T. Gori, A. Sunyoto, and H. Al Fatta, “Preprocessing Data dan Klasifikasi untuk Prediksi Kinerja Akademik Siswa,” J. Teknol. Inf. dan Ilmu Komput., vol. 11, no. 1, pp. 215–224, 2024, doi: 10.25126/jtiik.20241118074.
D. A. Triani, M. Aldi, N. H. P. Fauzi, and R. N. Safitri, “Curriculum innovation at SMK PGRI 2 Cimahi: Preparing students for the workforce,” Hipkin J. Educ. Res., vol. 2, no. 1, pp. 23–36, 2025, doi: 10.64014/hipkin-jer.v2i1.40.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Damri Mulia Hutabalian, Pebruarianto Hutabarat, Mhd Prasetyo, Mhd Agung Irnanda, Naufal Dhiya Putra Dalimunthe, Rika Rosnelly

This work is licensed under a Creative Commons Attribution 4.0 International License.















