Claim Missing Document
Check
Articles

Found 1 Documents
Search

OPTIMIZING THE CLASSIFICATION OF SOCIAL MEDIA'S IMPACT ON MENTAL HEALTH USING RANDOM FOREST WITH GRIDSEARCHCV HYPERPARAMETER TUNING Oloan Sihombing; Jefry So; Geby Stevanie
JOURNAL OF SCIENCE AND SOCIAL RESEARCH Vol. 9 No. 5 (2026): October (2026)
Publisher : Smart Education

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.54314/80kre693

Abstract

The rapid growth of social media has significantly impacted various aspects of life, including individual mental health. This study aims to optimize a classification model for identifying the impact of social media usage on mental health using the Random Forest algorithm. The dataset incorporates various indicators of social media usage behavior and the psychological conditions of respondents. The research process encompasses data preprocessing, model training, and hyperparameter optimization via the GridSearchCV method to enhance model performance. The results demonstrate that hyperparameter tuning improves accuracy, precision, recall, and F1-score compared to the baseline Random Forest model. The resulting optimal model is expected to assist in the early detection of the negative impacts of social media on mental health, thereby serving as a basis for decision-making in the fields of education, healthcare, and public policy.