Application of Categorical Naive Bayes for Classifying Student Stress Levels Based on Academic and Lifestyle Factors
DOI:
https://doi.org/10.59934/jaiea.v5i2.2122Keywords:
Categorical Naive Bayes, CRISP-DM, Student Stress, Machine Learning, Stress ClassificationAbstract
Student stress has become an important issue in higher education due to increasing academic demands and lifestyle pressures. Early identification of student stress levels is necessary to support appropriate interventions. This study applies a machine learning approach to classify student stress levels based on academic and lifestyle factors using the Categorical Naive Bayes algorithm. The dataset was obtained from a student stress survey consisting of categorical attributes and stress level labels ranging from 1 to 5. Data preprocessing was conducted to ensure compatibility with the classification model, followed by data splitting into training and testing sets using an 80:20 ratio. Model performance was evaluated using a confusion matrix and standard classification metrics, including accuracy, precision, recall, and F1-score. The experimental results show that the proposed model achieved an accuracy of 0.50, with weighted average values of 0.52 for precision, 0.50 for recall, and 0.50 for F1-score. These results indicate that Categorical Naive Bayes is capable of performing stress level classification with moderate performance on categorical survey data. This study demonstrates the potential of machine learning techniques as a supporting tool for analyzing student stress levels and provides a basis for further model improvement in future research.
Downloads
References
A. R. Anggraini, “Analisis literatur tentang faktor penyebab dan dampak stres akademik pada mahasiswa,” Maliki Interdisciplinary Journal (MIJ), vol. 3, pp. 318–324, 2025.
A. Van Fadhila, J. A. Azzahra, K. Rizki, T. Zulkarnain, and N. D. Lathifah, “Implementasi metode machine learning untuk mendeteksi tingkat stres manusia berdasarkan kualitas tidur,” in Proceedings of SENAMIKA, pp. 130–143, 2023.
K. Yeler and S. Sürücü, “Classification of student stress levels using machine learning methods,” pp. 210–214, 2025.
S. B. Harahap and Y. Yamasari, “Klasifikasi tingkat stres mahasiswa menggunakan RMSProp untuk arsitektur artificial neural network,” Journal of Informatics and Computer Science (JINACS), vol. 5, no. 4, pp. 560–567, 2024, doi: 10.26740/jinacs.v5n04.p560-567.
R. Nur Listiawan Dhito Eka Santoso, “Optimization of stress classification among students using random forest algorithm,” SITEKNIK Sistem Informasi, Teknik dan Teknologi Terapan, vol. 2, no. 2, pp. 76–87, 2025, doi: 10.5281/zenodo.15130385.
M. M. Amelia, B. M. Fazrin, Y. Y. Panjaitan, M. D. Kurniawan, and N. Khasanah, “Implementasi Naive Bayes untuk klasifikasi gangguan tidur,” Indonesian Journal of Computer Science, vol. 4, no. 1, pp. 53–60, 2025, doi: 10.31294/t18ryp42.
L. Susanti, “Klasifikasi tingkat stres pada mahasiswa teknik informatika dalam perkuliahan metode hybrid menggunakan algoritma Naive Bayes,” STRING (Satuan Tulisan Riset dan Inovasi Teknologi), vol. 8, no. 3, pp. 243–248, 2024.
A. M. Shimaoka, R. C. Ferreira, and A. Goldman, “The evolution of CRISP-DM for data science: Methods, processes and frameworks,” SBC Reviews on Computer Science, vol. 4, no. 1, pp. 28–43, 2024, doi: 10.5753/reviews.2024.3757.
R. A. Casonatto, T. D. P. G. Souza, and A. M. Mariano, “Quality and risk management in data mining: A CRISP-DM perspective,” Procedia Computer Science, vol. 242, pp. 161–168, 2024, doi: 10.1016/j.procs.2024.08.257.
S. G. Dzakiyyah and D. Mahdiana, “Prediction of student academic stress levels using the decision tree algorithm and particle swarm optimization,” Indonesian Journal of Artificial Intelligence and Data Mining (IJAIDM), vol. 8, no. 3, pp. 513–525, 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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







