DETECTING EMOTIONAL STATE OF DEPRESSION IN SOCIAL MEDIA POSTS USING LOGISTIC REGRESSION-RECURSIVE FEATURE ELIMINATION

Authors

  • Wang Li Faculty of Information Science and Technology, Universiti Kebangsaan Malaysia, Malaysia
  • Wandeep Kaur Faculty of Information Science and Technology, Universiti Kebangsaan Malaysia, Malaysia
  • Chen Wangmei Faculty of Information Science and Technology, Universiti Kebangsaan Malaysia, Malaysia

Keywords:

Machine learning; Feature extraction; Feature selection; Depression detection; Social media.

Abstract

Depression detection through social media has garnered widespread attention due to its potential for early intervention in mental health issues. This study aims to detect depressive users based on their content shared on social media using machine learning techniques. Given the complexity and diversity of depressive text, existing research still falls short in exploring comprehensive feature extraction techniques. To address this challenge, this study proposes an integrated framework for detecting depressive tendencies through multi-dimensional feature extraction and selection techniques. The proposed approach combines TF-IDF with N-grams, DistilBERT embeddings, and SentiWordNet to capture linguistic, semantic, and emotional features. Additionally, logistic regression-based recursive feature elimination (LR-RFE) is employed to optimize high-dimensional feature sets by reducing redundancy and emphasizing key indicators.Experiments conducted on the CLEF eRisk dataset revealed varying levels of effectiveness across individual feature extraction methods. Notably, multi-feature integration significantly enhanced classification performance, achieving an accuracy of 80.8% and an F1 score of 80.54% with the combined feature set. Feature selection further improved model efficiency and performance. These findings contribute to advancing automated depression detection and lay a foundation for developing scalable and interpretable machine learning models for mental health assessment.

Downloads

Download data is not yet available.

Published

2025-08-01

How to Cite

Li, W. ., Kaur, W. ., & Wangmei, C. . (2025). DETECTING EMOTIONAL STATE OF DEPRESSION IN SOCIAL MEDIA POSTS USING LOGISTIC REGRESSION-RECURSIVE FEATURE ELIMINATION. Malaysian Journal of Computer Science, 38. Retrieved from https://mjcs.um.edu.my/index.php/MJCS/article/view/63780