Scientific Reports (Aug 2024)

Identifying COVID-19 survivors living with post-traumatic stress disorder through machine learning on Twitter

  • Anees Baqir,
  • Mubashir Ali,
  • Shaista Jaffar,
  • Hafiz Husnain Raza Sherazi,
  • Mark Lee,
  • Ali Kashif Bashir,
  • Maryam M. Al Dabel

DOI
https://doi.org/10.1038/s41598-024-69687-8
Journal volume & issue
Vol. 14, no. 1
pp. 1 – 14

Abstract

Read online

Abstract The COVID-19 pandemic has disrupted people’s lives and caused significant economic damage around the world, but its impact on people’s mental health has not been paid due attention by the research community. According to anecdotal data, the pandemic has raised serious concerns related to mental health among the masses. However, no systematic investigations have been conducted previously on mental health monitoring and, in particular, detection of post-traumatic stress disorder (PTSD). The goal of this study is to use classical machine learning approaches to classify tweets into COVID-PTSD positive or negative categories. To this end, we employed various Machine Learning (ML) classifiers, to segregate the psychotic difficulties with the user’s PTSD in the context of COVID-19, including Random Forest Support Vector Machine, Naïve Bayes, and K-Nearest Neighbor. ML models are trained and tested using various combinations of feature selection strategies to get the best possible combination. Based on our experimentation on real-world dataset, we demonstrate our model’s effectiveness to perform classification with an accuracy of 83.29% using Support Vector Machine as classifier and unigram as a feature pattern.