Analyzing the Shadows: Machine Learning Approaches for Depression Detection on Twitter

Depression is a leading cause of disability worldwide, affecting approximately 4.4% of the global population. It can escalate from mild symptoms to severe outcomes, including suicide, if not treated early. Thus, developing systematic techniques for automatic detection is crucial. Social media platforms like Facebook, Twitter, TikTok, Snapchat, and Instagram provide users with the means to share personal feelings and daily activities, offering valuable insights into their thoughts and behaviors. This researchaims to identify users who publicly disclosed their diagnoses and collect their data from Twitter. We created three different datasets, each varying in the number of tweets stored based on criteria discussed later. We selected six classifiers for analysis. Support Vector Machine (SVM), Logistic Regression, Random Forest, Max Vote Ensemble, Bagging, and Boosting. We conducted two analyses. In the first, textual data was converted into embeddings using the Bag of Words approach before analysis. In the second,a multivariate analysis, we trained algorithms on multi-dimensional data. Our findings revealed that Logistic Regression outperformed other techniques on smaller datasets. However, the Boosting algorithm yielded the best results on a dataset of 3,200 tweets, and the Bagging algorithm excelled when trained on 3,200 tweets of multivariate data. Overall, nearly all algorithms performed well on the 3,200-tweet datasets.

Authors

Institutions

Publication Details

Journal
International Journal of Innovations in Science and Technology
Published
2024-09-16
DOI
https://doi.org/10.33411/ijist/20246314021416
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analyzing the Shadows: Machine Learning Approaches for Depression Detection on Twitter

Maha Tufail Agro, Fiza Azam, Memoona Sami, Amirita Dewani
International Journal of Innovations in Science and Technology
Mental Health via Writing
article

Analyzing the Shadows: Machine Learning Approaches for Depression Detection on Twitter

Maha Tufail Agro, Fiza Azam, Memoona Sami, Amirita Dewani
article en

Abstract

Depression is a leading cause of disability worldwide, affecting approximately 4.4% of the global population. It can escalate from mild symptoms to severe outcomes, including suicide, if not treated early. Thus, developing systematic techniques for automatic detection is crucial. Social media platforms like Facebook, Twitter, TikTok, Snapchat, and Instagram provide users with the means to share personal feelings and daily activities, offering valuable insights into their thoughts and behaviors. This researchaims to identify users who publicly disclosed their diagnoses and collect their data from Twitter. We created three different datasets, each varying in the number of tweets stored based on criteria discussed later. We selected six classifiers for analysis. Support Vector Machine (SVM), Logistic Regression, Random Forest, Max Vote Ensemble, Bagging, and Boosting. We conducted two analyses. In the first, textual data was converted into embeddings using the Bag of Words approach before analysis. In the second,a multivariate analysis, we trained algorithms on multi-dimensional data. Our findings revealed that Logistic Regression outperformed other techniques on smaller datasets. However, the Boosting algorithm yielded the best results on a dataset of 3,200 tweets, and the Bagging algorithm excelled when trained on 3,200 tweets of multivariate data. Overall, nearly all algorithms performed well on the 3,200-tweet datasets.

International Journal of Innovations in Science and Technology
Mehran University of Engineering and Technology (PK), Mohamed bin Zayed University of Artificial Intelligence (AE), National University of Sciences and Technology (PK)
Openalex Percentile: Top 61%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.