Abstract
A Depression is one of the major causes of suicide nowadays. In the world, most of peoples suffered depression due to personal or professional issues. Most of the peoples share their feelings/sentiments on social media. The sentiments are categorized into positive or negative based on the shared sentiment. If the sentiment is negative then it may lead to suicide. Suicide can be prevented by using resolving the issues. In the present work, depression analysis has been performed with machine learning models such as recurrent neural network, Naive Bayes classifier, and Long Short-Term Memory on the Twitter depression dataset. The results have been quantitively and qualitatively evaluated with accuracy, precision, recall, F1-score, and AROC curve. It has been found that RNN gives 74% accuracy in performing depression classification.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Neri, F., Aliprandi, C., Capeci, F., Cuadros, M., By, T.: Sentiment analysis on social media. In: 2012 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, pp. 919–926 (2012). https://doi.org/10.1109/ASONAM.2012.164
Li, R., Lei, K.H., Khadiwala, R., Chang, K.C.-C.: Tedas: A twitter-based event detection and analysis system. In: 2012 IEEE 28th International Conference on Data Engineering, pp. 1273–1276 (2012). https://doi.org/10.1109/ICDE.2012.125
Khan, M.: Suicide prevention and developing countries. J. R. Soc. Med. 98, 459–463 (2005). https://doi.org/10.1258/jrsm.98.10.459
Chandra, Y., Jana, A.: Sentiment analysis using machine learning and deep learning. In: 2020 7th International Conference on Computing for Sustainable Global Development (INDIACom), pp. 1–4 (2020). https://doi.org/10.23919/INDIACom49435.2020.9083703
Rajeswari, A., Mahalakshmi, M., Nithyashree, R., Nalini, G.: Sentiment analysis for predicting customer reviews using a hybrid approach. In: 2020 Advanced Computing and Communication Technologies for High Performance Applications (ACCTHPA), pp. 200–205 (2020). https://doi.org/10.1109/ACCTHPA49271.2020.9213236
Aydoan, E., Akcayol, M.A.: A comprehensive survey for sentiment analysis tasks using machine learning techniques. In: 2016 International Symposium on Innovations in Intelligent Systems and Applications (INISTA), pp. 1–7 (2016). https://doi.org/10.1109/INISTA.2016.7571856
Amulya, K., Swathi, S.B., Kamakshi, P., Bhavani, Y.: Sentiment analysis on IMDB movie reviews using machine learning and deep learning algorithms. In: 2022 4th International Conference on Smart Systems and Inventive Technology (ICSSIT), pp. 814–819 (2022). https://doi.org/10.1109/ICSSIT53264.2022.9716550
Srinu, B., Bhavana, P.N.L., Tarun Reddy, B., Vaishnavi, B.: Machine learning based suicide prediction. In: 2022 6th International Conference on Computing Methodologies and Communication (ICCMC), pp. 953–957 (2022). https://doi.org/10.1109/ICCMC53470.2022.9754035
Radloff, L.S.: The CES-D scale: a self-report depression scale for research in the general population. Appl. Psychol. Meas. 1, 385–401 (1977). https://doi.org/10.1177/014662167700100306
Andrew, L.B.: Depression and suicide. In: Medscape (2020). https://emedicine.medscape.com/article/805459-overview
Richardon, L., et al.: Evaluation of the patient health questionnaire-9 item for detecting major depression among adolescents. Pediatrics 126 (2010). https://doi.org/10.1542/peds.2010-0852
Sawhney, R., Manchanda, P., Singh, R., Aggarwal, S.: A computational approach to feature extraction for identification of suicidal ideation in tweets, pp. 91–98 (2018). https://doi.org/10.18653/v1/P18-3013
Sachin, S., Tripathi, A., Mahajan, N., Aggarwal, S., Nagrath, P.: Sentiment analysis using gated recurrent neural networks. SN Comput. Sci. 1(2), 1–13 (2020). https://doi.org/10.1007/s42979-020-0076-y
Ren, J., Lee, S.D., Chen, X., Kao, B., Cheng, R., Cheung, D.: Naive bayes classification of uncertain data. In: 2009 Ninth IEEE International Conference on Data Mining, pp. 944–949 (2009). https://doi.org/10.1109/ICDM.2009.90
Murthy, G.S.N., Allu, S.R., Andhavarapu, B., Bagadi, M., Belusonti, M.: Text based Sentiment Analysis using LSTM. Int. J. Eng. Res. Technol. (IJERT) 9(5) (2020)
Pradhan, M., Kumar, U.D.: Machine Learning using Python, 1st edn. Wiley, Hoboken (2019)
Depression on Twitter. https://www.kaggle.com/code/isanbel/depression-on-twitter/data
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Singh, S., Chandra, S.K. (2023). Sentiment Analysis for Depression Detection and Suicide Prevention Using Machine Learning Models. In: Garg, L., et al. Key Digital Trends Shaping the Future of Information and Management Science. ISMS 2022. Lecture Notes in Networks and Systems, vol 671. Springer, Cham. https://doi.org/10.1007/978-3-031-31153-6_36
Download citation
DOI: https://doi.org/10.1007/978-3-031-31153-6_36
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-31152-9
Online ISBN: 978-3-031-31153-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)