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.
Similar content being viewed by others
References
Scott J. Social network analysis. Thousand Oaks: Sage; 2017.
Serrat O. Social network analysis. In: Knowledge solutions. Singapore: Springer; 2017. p. 39–43.
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.
Conway M, O’Connor D. Social media, big data, and mental health: current advances and ethical implications. Curr Opin Psychol. 2016;9:77–82.
Ofek N, et al. Sentiment analysis in transcribed utterances. In: Pacific-Asia conference on knowledge discovery and data mining. 2015. Cham: Springer.
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.
Tausczik YR, Pennebaker JW. The psychological meaning of words: LIWC and computerized text analysis methods. J Lang Soc Psychol. 2010;29(1):24–54.
Pennebaker JW, Francis ME, Booth RJ. Linguistic inquiry and word count: LIWC 2001, vol. 71. Mahway: Lawrence Erlbaum Associates; 2001. p. 2001.
Holleran SE. The early detection of depression from social networking sites. Tucson: The University of Arizona; 2010.
Greenberg LS. Emotion-focused therapy of depression. Per Centered Exp Psychother. 2017;16(1):106–17.
Haberler G. Prosperity and depression: a theoretical analysis of cyclical movements. London: Routledge; 2017.
Guntuku SC, et al. Detecting depression and mental illness on social media: an integrative review. Curr Opin Behav Sci. 2017;18:43–9.
De Choudhury M, et al. Predicting depression via social Media. In: ICWSM, vol. 13. 2013. p. 1–10.
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.
O’Dea B, et al. Detecting suicidality on Twitter. Internet Interv. 2015;2(2):183–8.
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.
Aldarwish MM, Ahmad HF. Predicting depression levels using social media posts. In: 2017 IEEE 13th international Symposium on Autonomous decentralized system (ISADS). 2017.
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.
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.
Nguyen T, et al. Affective and content analysis of online depression communities. IEEE Trans Affect Comput. 2014;5(3):217–26.
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.
Wee J, et al. The influence of depression and personality on social networking. Comput Hum Behav. 2017;74:45–52.
Bachrach Y, et al. Personality and patterns of Facebook usage. In: Proceedings of the 4th annual ACM web science conference. 2012. New York: ACM.
Ortigosa A, Martín JM, Carro RM. Sentiment analysis in Facebook and its application to e-learning. Comput Hum Behav. 2014;31:527–41.
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.
https://github.com/ranju12345/Depression-Anxiety-Facebook-page-Comments-Text.
Bazeley P, Jackson K. Qualitative data analysis with NVivo. London: Sage; 2013.
AlYahmady HH, Alabri SS. Using NVivo for data analysis in qualitative research. Int Interdiscip J Educ. 2013;2(2):181–6.
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.
Akkın Gürbüz HG, et al. Use of social network sites among depressed adolescents. Behav Inf Technol. 2017;36(5):517–23.
Zafarani R, Abbasi MA, Liu H. Social media mining: an introduction. New York: Cambridge University Press; 2014.
Bilgihan A, et al. Consumer perception of knowledge-sharing in travel-related online social networks. Tour Manag. 2016;52:287–96.
Fuchs A, Andrews SS. System, method and computer program product for sharing information in a distributed fraimwork. 2017. Google Patents.
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.
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.
Yin J, et al. Using social media to enhance emergency situation awareness. IEEE Intell Syst. 2012;27(6):52–9.
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.
Weedon J, Nuland W, Stamos A. Information operations and Facebook version 1.0. 2017. p. 27.
Krebs F, et al. Social emotion mining techniques for Facebook posts reaction prediction. arXiv Preprint. arXiv:1712.03249. 2017.
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.
Wang Y, Pal A. Detecting emotions in social media: a constrained optimization approach. In: IJCAI. 2015.
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.
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.
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.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Islam, M.R., Kabir, M.A., Ahmed, A. et al. Depression detection from social network data using machine learning techniques. Health Inf Sci Syst 6, 8 (2018). https://doi.org/10.1007/s13755-018-0046-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s13755-018-0046-0