We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Natural Language Processing and Random Forest for Mental Health Symptom Identification Using Social Media Data
PeriodicalsMathematics

Natural Language Processing and Random Forest for Mental Health Symptom Identification Using Social Media Data

Checking your access to this record.

Abstract & Overview

This study explores the implementation of machine learning models, specifically Natural Language Processing (NLP) and Random Forest, for detecting mental health symptoms based on text analysis of web-sourced data. The research addresses the challenges of analyzing highly subjective and dynamic text in social media content to identify patterns associated with anxiety, depression, and stress. The methodology involves several preprocessing steps including case folding, cleansing, language normalization, negation conversion, stopword removal, and tokenization, followed by TF-IDF weighting and Random Forest classification. The model evaluation revealed a high accuracy rate of approximately 80%, although achieving a confidence level of 75% proved challenging. This research demonstrates that despite the inherent difficulties in predicting subjectively variable text, the machine learning approaches employed show satisfactory performance in identifying mental health symptoms, offering potential for early detection and intervention systems.

Cite this record

Sigit Sugara, Popon Dauni, Novianti Indah Putri, Yogi Saputra, Nana Suryana (2025). Natural Language Processing and Random Forest for Mental Health Symptom Identification Using Social Media Data. CoreID Journal, 3(3), 99–106. https://doi.org/10.60005/coreid.v3i3.145

Copy in another style

Sugara, S., Dauni, P., Putri, N. I., Saputra, Y., & Suryana, N. (2025). Natural Language Processing and Random Forest for Mental Health Symptom Identification Using Social Media Data. CoreID Journal, 3(3), 99–106. https://doi.org/10.60005/coreid.v3i3.145
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.