Skip to main content

Depression Detection Among Social Media Users Using Machine Learning

  • Conference paper
  • First Online:
International Conference on Innovative Computing and Communications

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1165))

Abstract

In today’s world, depression among people is becoming very common, and according to World Health Organization (WHO) by 2020, depression will become second leading cause to death and disability. Depression can be measured in humans by measuring their daily activities and physical conditions, and it is not that easy and has been a challenge in recent days. Peoples are not likely to share their true inner feelings/emotions with anyone easily, so it is important to detect human depression by any machine rather than human being and provide support system immediately based on depression level. The social networks have been developed as a great spot for its utilizers to communicate with their interested friends, and this is a location where they share their beliefs snapshots, and videos reflecting their frame of mind, feelings, and sentiments toward other people as well as the community. This provides us with an idea to examine these information media’s data for user’s feelings and views which would help us to investigate their moods, attitudes, and stubbornness when they are communicating via these online tools. To investigate depression, we put forward machine learning technique as an effective and scalable method.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Basic documentation for Tweepy module. https://tweepy.readthedocs.io/en/latest/api.html

  2. M.M. Aldarwish, H. F. Ahmed, Predicting depression levels using social media posts, in 13th International Symposium on Autonomous Decentralized Systems (2017)

    Google Scholar 

  3. P.K. Singh, M.S. Husain, Methodological study of opinion mining and sentiment analysis techniques. Int. J. Soft Comput. 5(1), 11 (2014)

    Google Scholar 

  4. M.G. Haselton, D. Nettle, D.R. Murray, The evolution of cognitive bias, The Handbook of Evolutionary Psychology (2005)

    Google Scholar 

  5. E. Saravia, C.H. Chang, MIDAS: Mental illness detection and analysis via social media, in International Conference on Advances in Social Networks Analysis and Mining, August 2016

    Google Scholar 

  6. P. Nambisan, Z. Luo, Social media, big data, and public health informatics: behavior of depression through Twitter, in 48th Hawaii International Conference on System Sciences (2015)

    Google Scholar 

  7. M.H. Aung, M. Mathews, T. Choudhury, Sensing behavioral symptoms of mental health and delivering personalized interventions using mobile technologies. Wiley Periodicals 34, 603–609 (2017)

    Google Scholar 

  8. J.C. Burges, SVM explanation. A tutorial on support vector machines for pattern recognition. Data Mining Knowl Disc. 2, 121–167 (1998)

    Google Scholar 

  9. Y.-l. Cai, D. Ji, D.-F. Cai, KNN explanation: A KNN research paper classification method based on shared nearest neighbor

    Google Scholar 

  10. https://scikitlearn.org/stable/modules/generated/sklearn.metrics.confusionmatrix.html

  11. D. Amaratunga, J. Cabrera, Y.S. Lee, Enriched random forests. Bioinformatics 24, 2010–2014 (2008)

    Google Scholar 

  12. TwitterDevelopers. https://twitter.com/login?redirectafter_login=https%3A%2F%2Fdeveloper. twitter.com%2Fapps

    Google Scholar 

  13. S. Visa, B. Ramsay, A. Ralescu, E. van der Knaap, Confusion matrix based feature selection

    Google Scholar 

  14. S. Abplanalp, B. Buck, Depression Lexicons: Using lexical analysis to identify emotional distress in psychometric Schizotypy

    Google Scholar 

  15. H.-H. Shuai, C.-Y. Shen, D.-N. Yang, Y.-F. Lan, W.-C. Lee, P.S. Yu, M.-S. Chen, Mining online social data for detecting social network mental disorders, in Proceedings of the 25th International Conference on World Wide Web (2016), pp. 275–285

    Google Scholar 

  16. Matplotlib. https://www.geeksforgeeks.org/pythonintroduction-matplotlib/

  17. Naïve-Bayes Explanation. https://stackoverflow.com/questions/10059594/asimpleexplanationofnaivebayesclassification

  18. D. Tang, F. Wei, B. Qin, T. Liu, M. Zhou, A deep learning system for Twitter sentiment classification, in Proceedings of the 8th International Workshop on Semantic Evaluation

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Prashant Verma .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Verma, P., Sharma, K., Walia, G.S. (2021). Depression Detection Among Social Media Users Using Machine Learning. In: Gupta, D., Khanna, A., Bhattacharyya, S., Hassanien, A.E., Anand, S., Jaiswal, A. (eds) International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol 1165. Springer, Singapore. https://doi.org/10.1007/978-981-15-5113-0_72

Download citation

Publish with us

Policies and ethics