EUVIMEDEUVIMED entdecken
Crossref

Decoding Minds through Machines: A Transformer-Driven Deep Learning Framework for Mental Health Text Classification

Sujata Patil, Vidya Shinde

International Journal of Mathematics And Computer Research · 30.03.2026 · 14 (03)

DOI: 10.47191/ijmcr/v14ispc3.39 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Mathematics And Computer Research, online erschienen am 30.03.2026. Verfasst von Sujata Patil und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Mental health disorders remain a major global concern, and many cases continue to go unreported because people hesitate to share their struggles or lack access to proper diagnosis. With advancements in natural language processing (NLP), text-based analysis has become a powerful way to detect signs of mental distress. In this research, a transformer-based model-specifically BERT was used to predict whether individuals are likely to seek mental health treatment based on their survey responses. The Mental Health Dataset includes demographic details, stress levels, coping patterns, and family history, all of which were merged into a single text format and processed using BERT’s tokenizer to capture deeper meaning. The model was trained in PyTorch using the AdamW optimizer with a linear learning rate schedule to support steady improvement. After four training epochs, the model achieved 95% accuracy, along with precision, recall, and F1-scores above 0.94. A confusion matrix further showed that the predicted and actual labels were closely aligned, reflecting strong reliability. Overall, the findings indicate that transformer models are highly effective at recognizing language patterns linked to mental health. This approach provides a scalable and data-driven way to identify potential risks early and can be integrated into digital health platforms to support timely help and better clinical decision-making.

Zitieren

APA

Patil, S., & Shinde, V. (2026). Decoding Minds through Machines: A Transformer-Driven Deep Learning Framework for Mental Health Text Classification. International Journal of Mathematics And Computer Research, 14(03). https://doi.org/10.47191/ijmcr/v14ispc3.39

Vancouver

Patil S, Shinde V. Decoding Minds through Machines: A Transformer-Driven Deep Learning Framework for Mental Health Text Classification. International Journal of Mathematics And Computer Research. 2026;14(03). doi:10.47191/ijmcr/v14ispc3.39

BibTeX
@article{Patil2026,
  author = {Patil, Sujata and Shinde, Vidya},
  title = {Decoding Minds through Machines: A Transformer-Driven Deep Learning Framework for Mental Health Text Classification},
  journal = {International Journal of Mathematics And Computer Research},
  year = {2026},
  volume = {14},
  number = {03},
  doi = {10.47191/ijmcr/v14ispc3.39}
}
Kostenlos starten →