Advertisement

Depression detection from social network data using machine learning techniques

  • Md. Rafiqul Islam
  • Muhammad Ashad Kabir
  • Ashir Ahmed
  • Abu Raihan M. Kamal
  • Hua Wang
  • Anwaar Ulhaq
Research
  • 68 Downloads

Abstract

Purpose

Social networks have been developed as a great point for its users to communicate with their interested friends and share their opinions, photos, and videos reflecting their moods, feelings and sentiments. This creates an opportunity to analyze social network data for user’s feelings and sentiments to investigate their moods and attitudes when they are communicating via these online tools.

Methods

Although diagnosis of depression using social networks data has picked an established position globally, there are several dimensions that are yet to be detected. In this study, we aim to perform depression analysis on Facebook data collected from an online public source. To investigate the effect of depression detection, we propose machine learning technique as an efficient and scalable method.

Results

We report an implementation of the proposed method. We have evaluated the efficiency of our proposed method using a set of various psycholinguistic features. We show that our proposed method can significantly improve the accuracy and classification error rate. In addition, the result shows that in different experiments Decision Tree (DT) gives the highest accuracy than other ML approaches to find the depression.

Conclusions

Machine learning techniques identify high quality solutions of mental health problems among Facebook users.

Keywords

Social network Emotions Depression Sentiment analysis 

Notes

References

  1. 1.
    Scott J. Social network analysis. Thousand Oaks: Sage; 2017.Google Scholar
  2. 2.
    Serrat O. Social network analysis. In: Knowledge solutions. Singapore: Springer; 2017. p. 39–43.Google Scholar
  3. 3.
    Mikal J, Hurst S, Conway M. Investigating patient attitudes towards the use of social media data to augment depression diagnosis and treatment: a qualitative study. In: Proceedings of the fourth workshop on computational linguistics and clinical psychology—from linguistic signal to clinical reality. 2017.Google Scholar
  4. 4.
    Conway M, O’Connor D. Social media, big data, and mental health: current advances and ethical implications. Curr Opin Psychol. 2016;9:77–82.CrossRefGoogle Scholar
  5. 5.
    Ofek N, et al. Sentiment analysis in transcribed utterances. In: Pacific-Asia conference on knowledge discovery and data mining. 2015. Cham: Springer.Google Scholar
  6. 6.
    Yang Y, et al. User interest and social influence based emotion prediction for individuals. In: Proceedings of the 21st ACM international conference on Multimedia. 2013. New York: ACM.Google Scholar
  7. 7.
    Tausczik YR, Pennebaker JW. The psychological meaning of words: LIWC and computerized text analysis methods. J Lang Soc Psychol. 2010;29(1):24–54.CrossRefGoogle Scholar
  8. 8.
    Pennebaker JW, Francis ME, Booth RJ. Linguistic inquiry and word count: LIWC 2001, vol. 71. Mahway: Lawrence Erlbaum Associates; 2001. p. 2001.Google Scholar
  9. 9.
    Holleran SE. The early detection of depression from social networking sites. Tucson: The University of Arizona; 2010.Google Scholar
  10. 10.
    Greenberg LS. Emotion-focused therapy of depression. Per Centered Exp Psychother. 2017;16(1):106–17.Google Scholar
  11. 11.
    Haberler G. Prosperity and depression: a theoretical analysis of cyclical movements. London: Routledge; 2017.Google Scholar
  12. 12.
    Guntuku SC, et al. Detecting depression and mental illness on social media: an integrative review. Curr Opin Behav Sci. 2017;18:43–9.CrossRefGoogle Scholar
  13. 13.
    De Choudhury M, et al. Predicting depression via social Media. In: ICWSM, vol. 13. 2013. p. 1–10.Google Scholar
  14. 14.
    De Choudhury M, Counts S, Horvitz E. Predicting postpartum changes in emotion and behavior via social media. In: Proceedings of the SIGCHI conference on human factors in computing systems. New York: ACM; 2013.Google Scholar
  15. 15.
    O’Dea B, et al. Detecting suicidality on Twitter. Internet Interv. 2015;2(2):183–8.CrossRefGoogle Scholar
  16. 16.
    Zhang L, et al. Using linguistic features to estimate suicide probability of Chinese microblog users. In: International conference on human centered computing. Berlin: Springer; 2014.Google Scholar
  17. 17.
    Aldarwish MM, Ahmad HF. Predicting depression levels using social media posts. In: 2017 IEEE 13th international Symposium on Autonomous decentralized system (ISADS). 2017.Google Scholar
  18. 18.
    Zhou J, et al. Measuring emotion bifurcation points for individuals in social media. In: 2016 49th Hawaii international conference on system sciences (HICSS). 2016. Koloa: IEEE.Google Scholar
  19. 19.
    Wang X, et al. A depression detection model based on sentiment analysis in micro-blog social network. In: Trends and applications in knowledge discovery and data mining (PAKDD). 2013.Google Scholar
  20. 20.
    Nguyen T, et al. Affective and content analysis of online depression communities. IEEE Trans Affect Comput. 2014;5(3):217–26.CrossRefGoogle Scholar
  21. 21.
    Park M, McDonald DW, Cha M. Perception differences between the depressed and non-depressed users in Twitter. In: ICWSM, vol. 9. 2013. p. 217–226.Google Scholar
  22. 22.
    Wee J, et al. The influence of depression and personality on social networking. Comput Hum Behav. 2017;74:45–52.CrossRefGoogle Scholar
  23. 23.
    Bachrach Y, et al. Personality and patterns of Facebook usage. In: Proceedings of the 4th annual ACM web science conference. 2012. New York: ACM.Google Scholar
  24. 24.
    Ortigosa A, Martín JM, Carro RM. Sentiment analysis in Facebook and its application to e-learning. Comput Hum Behav. 2014;31:527–41.CrossRefGoogle Scholar
  25. 25.
    Shen G, et al. Depression detection via harvesting social media: A multimodal dictionary learning solution. In: Proceeding of the twenty-sixth international joint conference on artificial intelligence (IJCAI-17). 2017. p. 3838–3844.Google Scholar
  26. 26.
  27. 27.
    Bazeley P, Jackson K. Qualitative data analysis with NVivo. London: Sage; 2013.Google Scholar
  28. 28.
    AlYahmady HH, Alabri SS. Using NVivo for data analysis in qualitative research. Int Interdiscip J Educ. 2013;2(2):181–6.CrossRefGoogle Scholar
  29. 29.
    Bandara, W. Using Nvivo as a research management tool: a case narrative. In: Quality and impact of qualitative research: proceedings of the 3rd international conference on qualitative research in IT & IT in Qualitative Research. 2006.Google Scholar
  30. 30.
    Akkın Gürbüz HG, et al. Use of social network sites among depressed adolescents. Behav Inf Technol. 2017;36(5):517–23.CrossRefGoogle Scholar
  31. 31.
    Zafarani R, Abbasi MA, Liu H. Social media mining: an introduction. New York: Cambridge University Press; 2014.CrossRefGoogle Scholar
  32. 32.
    Bilgihan A, et al. Consumer perception of knowledge-sharing in travel-related online social networks. Tour Manag. 2016;52:287–96.CrossRefGoogle Scholar
  33. 33.
    Fuchs A, Andrews SS. System, method and computer program product for sharing information in a distributed framework. 2017. Google Patents.Google Scholar
  34. 34.
    Weeks BE, et al. Incidental exposure, selective exposure, and political information sharing: integrating online exposure patterns and expression on social media. J Comput Mediat Commun. 2017;22(6):363–79.CrossRefGoogle Scholar
  35. 35.
    Lane DS, et al. From online disagreement to offline action: how diverse motivations for using social media can increase political information sharing and catalyze offline political participation. Soc Media Soc. 2017.  https://doi.org/10.1177/2056305117716274.Google Scholar
  36. 36.
    Yin J, et al. Using social media to enhance emergency situation awareness. IEEE Intell Syst. 2012;27(6):52–9.CrossRefGoogle Scholar
  37. 37.
    McDougall MA, et al. The effect of social networking sites on the relationship between perceived social support and depression. Psychiatry Res. 2016;246:223–9.CrossRefGoogle Scholar
  38. 38.
    Weedon J, Nuland W, Stamos A. Information operations and Facebook version 1.0. 2017. p. 27.Google Scholar
  39. 39.
    Krebs F, et al. Social emotion mining techniques for Facebook posts reaction prediction. arXiv Preprint. arXiv:1712.03249. 2017.Google Scholar
  40. 40.
    Laganas C, McLeod K, Lowe E. Political posts on Facebook: an examination of voting, perceived intelligence, and motivations. Pepperdine J Commun Res. 2017;5(1):18.Google Scholar
  41. 41.
    Wang Y, Pal A. Detecting emotions in social media: a constrained optimization approach. In: IJCAI. 2015.Google Scholar
  42. 42.
    Gilbert E, Karahalios K. Predicting tie strength with social media. In: Proceedings of the SIGCHI conference on human factors in computing systems. New York: ACM; 2009.Google Scholar
  43. 43.
    Hosseinifard B, Moradi MH, Rostami R. Classifying depression patients and normal subjects using machine learning techniques. In: 2011 19th Iranian Conference on Electrical Engineering (ICEE). 2011.Google Scholar
  44. 44.
    Islam MR, Kamal ARM, Sultana N, Moni MA, Islam R. Depression detection using K-Nearest Neighbors (KNN) classification technique. In: International conference on computer, communication, chemical, materials and electronic engineering, February 8–9, 2018, Rajshahi, Bangladesh.Google Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  • Md. Rafiqul Islam
    • 1
  • Muhammad Ashad Kabir
    • 2
  • Ashir Ahmed
    • 3
  • Abu Raihan M. Kamal
    • 1
  • Hua Wang
    • 4
  • Anwaar Ulhaq
    • 5
  1. 1.Department of Computer Science & EngineeringIslamic University of Technology (IUT)DhakaBangladesh
  2. 2.School of Computing and MathematicsCharles Strut UniversitySydneyAustralia
  3. 3.Department of Business Technology and EntrepreneurshipSwinburne University of TechnologyMelbourneAustralia
  4. 4.Centre for Applied InformaticsVictoria UniversityMelbourneAustralia
  5. 5.College of Engineering & ScienceVictoria UniversityMelbourneAustralia

Personalised recommendations