Research Article

Depression Prediction Model based on NLP

Yuke Zhou*
School of Cyberspace Security, Hangzhou Dianzi University, Zhejiang China

* Corresponding author: [email protected]

Abstract

With the acceleration of modern society's pace, depression has become a common mental health issue. This study aims to develop a depression detection model based on natural language processing (NLP) technology to automatically identify potential depression patients. First, collect data from the Weibo platform using web scraping techniques, and then use NLP tools such as XLNet for in-depth analysis of the text data. In the model evaluation phase, the paper uses key metrics such as accuracy (ACC) to assess the effectiveness of NLP techniques in predicting depression. Experimental results indicate that the XLNet model performed the best among all tested models, achieving an accuracy of 81%, thus confirming the feasibility of using NLP technology for depression prediction. The significance of this study lies in providing a new method for mental health monitoring, which aids in the early detection and intervention of depression, with important social value and application prospects.

Keywords: NLP; Depression; XLNet.
Published: November 26, 2024
DOI: 10.54254/2755-2721/109/20241284
Volume: ACE Vol.109
pp. 109-112
Download PDF

References

  1. Xie L Y 2024 A Review of Depression Diagnosis Methods and Related Intervention Research Frontier of Social Sciences 13(1) 1–7
  2. Yang Z, Dai Z, Yang Y et al 2020 XLNet: Generalized Autoregressive Pretraining for Language Understanding arXiv
  3. Aswathy K S, Rafeeque P C and Reena Murali 2019 Deep Learning Approach for the Detection of Depression in Twitter Int. Conf. on Systems Energy and Environment
  4. Hemanthkumar M and Latha 2019 Depression Detection with Sentiment Analysis of Tweets Int. Research J. of Engineering and Technology (IRJET)
  5. Yang F-J 2018 An Implementation of Naive Bayes Classifier Int. Conf. on Computational Science and Computational Intelligence (CSCI) (Las Vegas, NV, USA) pp 301–306, doi: 10.1109/CSCI46756.2018.00065
  6. Bayes T 1763 An Essay Towards Solving a Problem in the Doctrine of Chances Philosophical Transactions of the Royal Society 53(1) 370–418
  7. Tabak J 2004 Probability and Statistics: The Science of Uncertainty (New York: Facts On File, Inc.) pp 46–50
  8. Dai D 2021 An Introduction of CNN: Models and Training on Neural Network Models Int. Conf. on Big Data, Artificial Intelligence and Risk Management (ICBAR) (Shanghai, China) pp 135–138, doi: 10.1109/ICBAR55169.2021.00037
  9. Bora K et al 2023 Brain Tumor Detector Int. J. for Research in Applied Science and Engineering Technology 11(4) 141–145
  10. Li Z 2022 Deep Learning-Based Prediction of Survival in GBM Brain Cancer Patients Yunnan University