Skip to main content

Exploring Human Emotions for Depression Detection from Twitter Data by Reducing Misclassification Rate

  • Conference paper
  • First Online:
Proceedings of International Conference on Computational Intelligence

Abstract

The growth of social networking sites has been tremendous in the last few decades. It has emerged as a platform to share one’s thoughts and opinions and also interact with new people every day. It is possible to predict a person’s emotions by analysing their tweets and posts over a period of time. The main objective is to detect depression among twitter users by performing a sentiment analysis of their tweets. Real time tweets are extracted from Twitter and detected for negative emotions using a lexicon-based ensemble method and a novel Neutral Negative Scoring algorithm. The user history of potentially “depressed” people is obtained and examined by training a neural network to confirm the onset of depression. The depressed people will be given recommendations for initiating positive actions using a recommendation system. It is found that a Bidirectional Long-Short Term Memory network has the highest accuracy of 90% in detecting users with depression.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. 5 Big Social Media Predictions for 2019, in Emarsys (2020). https://www.emarsys.com/resources/blog/top-5-social-media-predictions-2019/.2019

  2. Mental disorders, in World Health Organization. https://www.who.int/news-room/fact-sheets/detail/mental-disorders

  3. Depression, in World Health Organization. https://www.who.int/news-room/fact-sheets/detail/depression

  4. M. Cepoiu, J. Mccusker, M.G. Cole et al., Recognition of depression by non-psychiatric physicians-a systematic literature review and meta-analysis. J. Gen. Int. Med. 23, 25–36 (2007). https://doi.org/10.1007/s11606-007-0428-5

  5. W. Medhat, A. Hassan, H. Korashy, Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5, 1093–1113 (2014). https://doi.org/10.1016/j.asej.2014.04.011

  6. L. Canales, W. Daelemans, E. Boldrini, P. Martinez-Barco, EmoLabel: semi-automatic methodology for emotion annotation of social media text. IEEE Trans. Affect. Comput. 1–1 (2019). https://doi.org/10.1109/taffc.2019.2927564

  7. L. Wang, J. Niu, S. Yu, SentiDiff: combining textual information and sentiment diffusion patterns for Twitter sentiment analysis. IEEE Trans. Knowl. Data Eng. 32, 2026–2039 (2020). https://doi.org/10.1109/tkde.2019.2913641

  8. S. Akhtar, D. Ghosal, A. Ekbal et al., All-in-one: emotion, sentiment and intensity prediction using a multi-task ensemble framework. IEEE Trans. Affect. Comput. 1–1 (2020). https://doi.org/10.1109/taffc.2019.2926724

  9. M.E. Larsen, T.W. Boonstra, P.J. Batterham et al., We feel: mapping emotion on Twitter. IEEE J. Biomed. Health Inform. 19, 1246–1252 (2015). https://doi.org/10.1109/jbhi.2015.2403839

  10. H. Liu, P. Burnap, W. Alorainy, M.L. Williams, A fuzzy approach to text classification with two-stage training for ambiguous instances. IEEE Trans. Comput. Soc. Syst. 6, 227–240 (2019). https://doi.org/10.1109/tcss.2019.2892037

  11. R.L. Rosa, D.Z. Rodriguez, G. Bressan, Music recommendation system based on user’s sentiments extracted from social networks. IEEE Trans. Consumer Electron. 61, 359–367 (2015). https://doi.org/10.1109/tce.2015.7298296

  12. R.L. Rosa, G.M. Schwartz, W.V. Ruggiero, D.Z. Rodriguez, A knowledge-based recommendation system that includes sentiment analysis and deep learning. IEEE Trans. Ind. Inform. 15, 2124–2135 (2019). https://doi.org/10.1109/tii.2018.2867174

  13. H. Ning, S. Dhelim, N. Aung, PersoNet: friend recommendation system based on big-five personality traits and hybrid filtering. IEEE Trans. Comput. Soc. Syst. 6, 394–402 (2019). https://doi.org/10.1109/tcss.2019.2903857

  14. C.J. Hutto, G. Eric, VADER: a parsimonious rule-based model for sentiment analysis of social media text, in Proceedings of the 8th International Conference on Weblogs and Social Media, ICWSM 2014 (2015)

    Google Scholar 

  15. S. Loria, M. Honnibal, P. Keen et al., Simplified text processing, in TextBlob. https://textblob.readthedocs.io/en/dev/

  16. S. Baccianella, A. Esuli, F. Sebastiani, Sentiwordnet 3.0: an enhanced lexical resource for sentiment analysis and opinion mining, in International Conference on Language Resources and Evaluation, (2010), pp. 2200–2204

    Google Scholar 

  17. Documentation Home | Docs | Twitter Developer, in Twitter. https://dev.twitter.com/rest/public

  18. S. Ghosh, D. Gunning, Natural Language Processing Fundamentals: Build Intelligent Applications That Can Interpret the Human Language to Deliver Impactful Results (Packt Publishing, Birmingham, 2019)

    Google Scholar 

  19. B. Liu, L. Zhang, A survey of opinion mining and sentiment analysis. Mining Text Data 415–463 (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to J. Dhalia Sweetlin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jyothi Prasanth, D.R., Dhalia Sweetlin, J., Sruthi, S. (2022). Exploring Human Emotions for Depression Detection from Twitter Data by Reducing Misclassification Rate. In: Tiwari, R., Mishra, A., Yadav, N., Pavone, M. (eds) Proceedings of International Conference on Computational Intelligence. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-16-3802-2_10

Download citation

Publish with us

Policies and ethics