Indri Oktavia Ramadani
Universitas Islam Negeri K.H. Abdurrahman Wahid Pekalongan

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

PERBANDINGAN LOGISTIC REGRESSION DAN RANDOM FOREST DALAM KLASIFIKASI INDEKS BEBAN STRES MAHASISWA Muchammad Soufwan Fauzi; Indri Oktavia Ramadani; Fuad Naufal Ihsan; Riskha Syofiyana; Annisa Larasati; Imam Prayogo Pujiono
Jurnal Informatika Medis (J-INFORMED) Vol. 4 No. 2 (2026): Jurnal Informatika Medis (J-INFORMED)
Publisher : LPPM Universitas Muhammadiyah Muara Bungo

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.52060/im.v4i2.4965

Abstract

Academic and daily-life characteristics are relevant to student stress analysis, but their predictive contributions depend on the dataset and target definition. This study aims to compare Logistic Regression and Random Forest in classifying relative categories of a cumulative student stress burden index and evaluate the contribution of daily screen time. A public Kaggle dataset containing 10,000 observations and 29 attributes was used. Although the provider reports survey-based data and AI-assisted enrichment, the data collection and measurement procedures could not be independently verified. The target index was classified into low, moderate, and high categories using tertile thresholds calculated from the training data. Two feature scenarios were evaluated: five academic-contextual features (S1) and the addition of daily screen time (S2). The experiment employed an 80:20 train-test split, preprocessing pipelines, Stratified 5-Fold Cross-Validation, and a Dummy Classifier as the baseline. Logistic Regression S2 achieved the highest test accuracy of 0.4285 and Macro F1-Score of 0.4288, with a cross-validation Macro F1-Score of 0.4313. Adding daily screen time increased test Macro F1-Score by 0.0047 for Logistic Regression and 0.0315 for Random Forest. However, classification performance remained limited, particularly for the moderate category. These findings provide a comparative evaluation of the tested configurations but do not support clinical stress assessment. Further validation using independently documented empirical data and standardized instruments is recommended.