Skip to content
Open access

Prediksi Risiko Depresi Pada Remaja Berdasarkan Frekuensi Penggunaan Media Sosial Yang Tinggi Menggunakan SMOTE dan Algoritma Naive Bayes

Aug 2026 · Jurnal Komtika · 0 citations

TL;DR

The naïve bayes algorithm is capable of providing excellent classification performance in prediction the risk of depression in adolescents, and the application of SMOTE successfully balanced the class distribution in the training data, but did not provide a significant performance improvement compared to the model without SMOTE.

Abstract

The increased use of social media among adolescents has been identified as a suspected contributing factor to the emergence of mental health issues, including depression. However, identifying depression risk in adolescents remains challenging, primarily due to data imbalanced, which can affect the performance of classification models. This study aims to build a classification model for adolescent depression risk based on social media usage frequency using the naive bayes algorithm, and compare classification performance before and after applying SMOTE based on accuracy, precision, recall, and F1-Score. This study utilized the Teen Mental Health Dataset obtained from Kaggle. The research stages include data pre-processing, feature and target separation, splitting the data into training and testing sets with an 80:20 ratio. Applying the SMOTE method to the training data, and classification using the naïve bayes algorithm. Model evaluation was conducted using a confusion matrix. The test result showed that the model without SMOTE achieved an accuracy of 99%, precision of 100%, recall of 50%, and an F1-Score 67%. Meanwhile, the model with the application of SMOTE achieved an accuracy 97%, precision of 50%, recall of 33%, and an F1-Score of 40%. Based on the research results, the naïve bayes algorithm is capable of providing excellent classification performance in prediction the risk of depression in adolescents. The application of SMOTE successfully balanced the class distribution in the training data, but did not provide a significant performance improvement compared to the model without SMOTE. Therefore, the naïve bayes model without SMOTE is the best approach for the dataset used in this study.

Read PDF

Similar papers

Open access Sep 2026

Analisis Faktor Risiko Kejadian Preeklampsia Berat pada Ibu Hamil di Rumah Sakit Khusus Daerah Ibu dan Anak Siti Fatimah Tahun 2023

Maternal Mortality Rate (MMR) remains a major global and national health issue, with pregnancy-related hypertension such as preeclampsia being one of the leading causes. This study aimed to analyze the risk factors associated with severe preeclampsia (PEB) among pregnant women at the Siti Fatimah Regional Special Hospi...

Rachel Humaerah, Rosdianah Rahim, Rini Fitriani et al. · 0 citations
Open access Sep 2026

Implementasi Prediksi Stunting Menggunakan Algoritma Xgboost dan Smote Berdasarkan Data BKKBN

The management and intervention of stunting cases in toddlers still face major challenges due to the high class imbalance in risk assessment data, where the population of normal toddlers significantly dominates the at-risk class. This condition often causes machine learning classification models to suffer from predicti...

Sabila Wahyu Pratama, Ghufron Ghufron · 0 citations
Open access Oct 2026

ANALISIS ALGORITMA RANDOM FOREST DAN SURVIVAL ANALYSIS TERHADAP FAKTOR YANG MEMPENGARUHI WAKTU PENYELESAIAN PERKARA DI PENGADILAN AGAMA LUBUK PAKAM KELAS 1A - DELI SERDANG

The increasing number of cases in religious courts poses challenges in maintaining consistency in case resolution time. This study aims to analyze factors affecting case resolution time using Random Forest and Survival Analysis methods.The dataset consists of case records from the Religious Court of Lubuk Pakam Class I...

Nurhalijjah Harahap, Muhammad Iqbal, Rian Farta Wijaya · 0 citations
Open access Sep 2026

ANALISIS PREDIKSI TINGKAT KEHADIRAN SISWA MENGGUNAKAN ALGORITMA NAIVE BAYES DAN LOGISTIC REGRESSION

Student absenteeism, particularly unexcused absence, remains a critical challenge in basic education management that negatively impacts academic continuity and increases dropout risks. This study presents a predictive analysis model for student absenteeism levels using two machine learning algorithms: Naïve Bayes and L...

M. A. Rizko, M. Iqbal, Muhammad Syahputra Novelan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.