Analysis of Student Attendance in Information Systems Class B Cohort 2025 Using the Naïve Bayes Algorithm

Main Article Content

isnaldi muhammad
Yoga Apririandi
M Fikrian Nurhadi
Satria Eko Saputra

Abstract





Student attendance is an important indicator for evaluating discipline and engagement in the learning process; however, manual attendance systems remain vulnerable to recording errors and data inconsistencies. This study analyzes attendance patterns of Information Systems Class B students from the 2025 cohort by applying the Gaussian Naïve Bayes algorithm. The dataset consists of 71 attendance records collected from 10 students over four lecture days, including features such as lecture day, arrival time, login activity, and prior attendance frequency. The data were processed through cleaning, encoding, normalization, and stratified train–test splitting with an 80:20 ratio.


The Naïve Bayes model achieved perfect accuracy (1.000) on the test dataset, with precision, recall, and F1-score values of 1.00 for both classes. However, this perfect performance suggests potential issues such as highly homogeneous data structure, small dataset size, or overly strong feature–label relationships, indicating possible overfitting or data leakage. This study highlights the potential of simple probabilistic classification methods for student attendance analysis while emphasizing the need for more rigorous validation using larger and more diverse datasets.





Article Details

Section
Articles

References

[1] S. González, S. García, F. Herrera, J. DelSer, and L. Rokach, “A practical tutorial on bagging and boosting based ensembles for machine learning: Algorithms, software tools, performance study, practical perspectives and opportunities,” Inf. Fusion, vol. 64, 2020, doi: 10.1016/j.inffus.2020.07.007.

[2] K. Hameed, D. Chai, and A. Rassau, “A Progressive Weighted Average Weight Optimisation Ensemble Technique for Fruit and Vegetable Classification,” in 16th IEEE International Conference on Control, Automation, Robotics and Vision, ICARCV 2020, 2020, pp. 303–308, doi: 10.1109/ICARCV50220.2020.9305474.

[3] Z. Zhang, Y. Chen, J. Tang, and X. Luo, “An ensemble learning algorithm with Gaussian-based oversampling,” Xitong Gongcheng Lilun yu Shijian/System Eng. Theory Pract., vol. 41, no. 2, pp. 513–523, 2021, doi: 10.12011/SETP2020-1790.

[4] G. Chicco, “Ant colony system-based applications to electrical distribution system optimization,” in Ant Colony Optimization - Methods and Applications, A. Otsfeld, Ed. Rijeka, Croatia: InTechOpen, 2011, pp. 237–262.

[5] Susanti Lusi, Daulay Khairani Nelly, Intan Bunga, “Sistem Absensi Mahasiswa Berbasis Pengenalan Wajah Menggunakan Algoritma YOLOv5” JURIKOM (Jurnal Riset Komputer) Vol. 10 No. 2, April 2023, DOI 10.30865/jurikom.v10i2.6032

[6] H. Hartatik, “Optimasi Model Prediksi Kelulusan Mahasiswa Menggunakan Algoritma Naive Bayes,” Indones. J. Appl. Informatics, vol. 5, no. 1, p. 32, Apr. 2021, doi: 10.20961/ijai.v5i1.44379.

[7] Rovidatul, Y. Yunus, and G. W. Nurcahyo, “Perbandingan algoritma c4.5 dan naive bayes dalam prediksi kelulusan mahasiswa,” J. CoSciTech (Computer Sci. Inf. Technol., vol. 4, no. 1, pp. 193–199, Apr. 2023, doi: 10.37859/coscitech.v4i1.4755.