Predicting Depression Using Deep Learning and Ensemble Algorithms on Raw Twitter Data

Nisha P Shetty, Balachandra Muniyal, Arshia Anand, Sushant Kumar, Sushant Prabhu


Social network and microblogging sites such as Twitter are widespread amongst all generations nowadays where people connect and share their feelings, emotions, pursuits etc. Depression, one of the most common mental disorder, is an acute state of sadness where person loses interest in all activities. If not treated immediately this can result in dire consequences such as death. In this era of virtual world, people are more comfortable in expressing their emotions in such sites as they have become a part and parcel of everyday lives. The research put forth thus, employs machine learning classifiers on the twitter data set to detect if a person’s tweet indicates any sign of depression or not.


Depression;Machine Learning,;Social Media;LSTM;Sentiment Analysis


WHO Depression. Available: 2019.

Frances, A., Pincus, H., & First, M. Major Depressive Episode. In Diagnostic and statistical manual of mental disorders: DSM-IV. (4th ed., pp. 326-327). Washington, DC: American Psychiatric Association.1994.

Malaysian teenager, 16, 'died jumping from the third floor of a shop after conducting an Instagram poll on whether she should kill herself' - and 69 per cent chose 'death'. Available: 2019.

Haque, Albert, Michelle Guo, Adam S. Miner and Li Fei-Fei. “Measuring Depression Symptom Severity from Spoken Language and 3D Facial Expressions.” CoRR abs/1811.08592 .2018.

S. Alghowinem, R. Goecke, M. Wagner, G. Parker and M. Breakspear, "Eye movement analysis for depression detection," 2013 IEEE International Conference on Image Processing, Melbourne, VIC, 2013, pp. 4220-4224.DOI: 10.1109/ICIP.2013.6738869.

Q. Hu, A. Li, F. Heng, J. Li and T. Zhu, "Predicting Depression of Social Media User on Different Observation Windows," 2015 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT), Singapore, 2015, pp. 361-364. DOI: 10.1109/WI-IAT.2015.166.

A. Wongkoblap, M. A. Vadillo and V. Curcin, "Classifying Depressed Users With Multiple Instance Learning from Social Network Data," 2018 IEEE International Conference on Healthcare Informatics (ICHI), New York, NY, 2018, pp. 436-436.DOI: 10.1109/ICHI.2018.00088.

M. Deshpande and V. Rao, "Depression detection using emotion artificial intelligence," 2017 International Conference on Intelligent Sustainable Systems (ICISS), Palladam, 2017, pp. 858-862.DOI: 10.1109/ISS1.2017.8389299.

Sharath Chandra Guntuku, David B Yaden, Margaret L Kern, Lyle H Ungar, Johannes C Eichstaedt,“Detecting depression and mental illness on social media: an integrative review”, Current Opinion in Behavioral Sciences, Volume 18,2017, Pages 43-49, ISSN 2352-1546, (

Sho Tsugawa, Yusuke Kikuchi, Fumio Kishino, Kosuke Nakajima, Yuichi Itoh, and Hiroyuki Ohsaki. “Recognizing Depression from Twitter Activity”. In Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems (CHI '15). ACM, New York, NY, USA, 2015, 3187-3196. DOI:

M. M. Aldarwish and H. F. Ahmad, "Predicting Depression Levels Using Social Media Posts," 2017 IEEE 13th International Symposium on Autonomous Decentralized System (ISADS), Bangkok, 2017, pp. 277-280. DOI: 10.1109/ISADS.2017.41.

J. Wang and Z. Cao, "Chinese text sentiment analysis using LSTM network based on L2 and Nadam," 2017 IEEE 17th International Conference on Communication Technology (ICCT), Chengdu, 2017, pp. 1891-1895. DOI: 10.1109/ICCT.2017.8359958

Total views : 15 times


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.