The Classification of Students' Stress Levels Based on Learning Patterns Using Naïve Bayes Algorithm
DOI:
https://doi.org/10.30996/elsains.v8i1.133498Abstract
Student stress levels are one of the factors that can affect academic and psychological conditions. Learning patterns, daily activities, and academic achievements such as GPA are thought to have a relationship with the level of stress experienced by students. This study aims to classify students' stress levels based on lifestyle factors and academic performance using a Naïve Bayes algorithm. The approach used is quantitative with the CRISP-DM framework, which includes business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The research data were obtained from a Kaggle dataset and a private student dataset. The analysis process was carried out through preprocessing, data balancing using SMOTE, and splitting the data into training and testing sets. The main model used was Gaussian Naïve Bayes, with K-Nearest Neighbors (KNN) as a comparison model. The results showed that Naïve Bayes achieved the best performance on the private student dataset with an accuracy of 92.59%, while KNN performed better on the Kaggle dataset. These findings indicate that model performance is strongly influenced by data characteristics. Therefore, Naïve Bayes is considered effective for stress level classification on datasets with a limited size and relatively homogeneous distribution.
Downloads
Downloads
Published
Issue
Section
License
Authors who publish with Elsains: Jurnal Elektro agree to the following terms:
- Authors transfer the copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.. that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access)



