Skip to main content

Machine Learning-Based Depression Detection

  • Conference paper
  • First Online:
Computer Networks and Inventive Communication Technologies

Abstract

Depression is an extremely serious illness of humans which causes constant mood swings and feelings of sadness. Nowadays, it is considered to be a deadly disorder in the world. At present, everyone from young to old is suffering from depression but most of them do not have the right idea about their mental state. Everyone needs to have a proper idea about their mental state. We will detect depression through a machine learning-based detection approach. Talking with psychologists and depressed people, we find some factors that are related to becoming depressed, and depending on those factors, information is collected from both depressed and non-depressed people. After applying preprocessing techniques, a processed dataset was created finally. Then, feature selection techniques were used. We applied eight machine learning algorithms and two feature selection methods to our dataset. We used k-nearest neighbor (k-NN), decision tree (DT), linear discriminant analysis (LDA), adaptive boosting (AB), support vector machine (SVM), naive Bayes (NB), random forest (RF), and logistic regression (LR) classifier. In our work, the RF classifier gave the best performance based on accuracy and the accuracy of the RF classifier was 96.00%.

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 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

References

  1. World Economic Forum, Available at: https://www.weforum.org/agenda/2021/10/brain-implant-could-cure-depression/ [Online]. Accessed 1 May 2021

  2. Arusha AR, Biswas RK (2020) Prevalence of stress, anxiety and depression due to examination in Bangladeshi youths: a pilot study. Child Youth Serv Rev 116:105254

    Article  Google Scholar 

  3. Globally Minded, Available at: https://www.globallyminded.org/home/depression-a-neglected-public-health-domain-in-bangladesh/ [Online]. Accessed 13 Aug 2021

  4. Medical News Today, Available at: https://www.medicalnewstoday.com/categories/depression [Online]. Accessed 22 Oct 2021

  5. Mental Health America, Available at: https://www.mhanational.org/conditions/suicide [Online]. Accessed 23 Feb 2021

  6. Hridoy RH, Habib T, Jabiullah I, Rahman R, Ahmed F (2021) Early recognition of betel leaf disease using deep learning with depth-wise separable convolutions. In: 2021 IEEE Region 10 Symposium (TENSYMP), pp 1–7

    Google Scholar 

  7. Khan MRH, Afroz US, Masum AKM, Abujar S, Hossain SA (2020) Sentiment analysis from Bengali depression dataset using machine learning. In: 2020 11th international conference on computing, communication and networking technologies (ICCCNT)

    Google Scholar 

  8. Mulay A, Dhekne A, Wani R, Kadam S, Deshpande P, Deshpande P (2020) Automatic depression level detection through visual input

    Google Scholar 

  9. Shukla DM, Sharma K, Gupta S (2020) Identifying depression in a person using speech signals by extracting energy and statistical features

    Google Scholar 

  10. Ding Y, Chen X, Fu Q, Zhong S (2020) A depression recognition method for college students using deep integrated support vector algorithm

    Google Scholar 

  11. Deshpande M, Rao V (2017) Depression detection using emotion artificial intelligence. In: International conference on intelligent sustainable systems (ICISS), pp 858–862

    Google Scholar 

  12. Stankevich M, Isakov V, Devyatkin D, Smirnov I (2018) Feature engineering for depression detection in social media. In: 7th international conference on pattern recognition applications and methods (ICPRAM 2018), pp 426–431

    Google Scholar 

  13. Orabi AH, Buddhitha P, Orabi MH, Inkpen D (2018) Deep learning for depression detection of twitter users. In: Proceedings of the fifth workshop on computational linguistics and clinical psychology: from keyboard to clinic, pp 88–97

    Google Scholar 

  14. Patel F, Thakore R, Nandwani I, Bharti SK (2019) Combating depression in students using an intelligent ChatBot: a cognitive behavioral therapy. In: 2019 IEEE 16th India council international conference (INDICON), pp 1–4

    Google Scholar 

  15. Ranade AG, Patel M, Magare A (2018) Emotion model for artificial intelligence and their applications. In: 2018 fifth international conference on parallel, distributed and grid computing (PDGC)

    Google Scholar 

  16. Asad NA, Mahmud Pranto MA, Afreen S, Islam MM (2019) Depression detection by analyzing social media posts of user. In: 2019 IEEE international conference on signal processing, information, communication & systems (SPICSCON), pp 13–17

    Google Scholar 

  17. Zhou X, Jin K, Shang Y, Guo G (2020) Visually interpretable representation learning for depression recognition from facial images. IEEE Trans Affect Comput 11(3):542–552

    Article  Google Scholar 

  18. Dahiwade D, Patle G, Meshram E (2019) Designing disease prediction model using machine learning approach. In: 2019 3rd international conference on computing methodologies and communication (ICCMC)

    Google Scholar 

  19. Nuruzzaman M, Hossain MS, Rahman MM, Shoumik ASHC, Khan MAA, Habib MT (2021) Machine vision based potato species recognition. In: 2021 5th international conference on intelligent computing and control systems (ICICCS)

    Google Scholar 

  20. Kottursamy K (2021) A review on finding efficient approach to detect customer emotion analysis using deep learning analysis. Journal of Trends in Computer Science and Smart Technology 3(2):95–113

    Article  Google Scholar 

  21. Tripathi M (2021) Sentiment analysis of Nepali COVID19 tweets using NB, SVM and vLSTM. J Artif Intell 3(03):151–168

    Google Scholar 

  22. Kaur R, Vijay B (2021) A GUI for multimodal sentiment analysis on Gurmukhi script. In: Innovative data communication technologies and application, pp 69–81

    Google Scholar 

  23. Pudrovska T, Karraker A (2014) Gender, job authority, and depression. J Health Soc Behav 55(4):424–441

    Article  Google Scholar 

  24. Yesavage JA, Brink TL, Rose TL, Lum O, Huang V, Adey M, Leirer VO (1982) Development and validation of a geriatric depression screening scale: a preliminary report. J Psychiatr Res 17(1):37–49

    Article  Google Scholar 

  25. Zung WWK (1965) A self-rating depression scale. Arch Gen Psychiatry 12(1):63

    Article  Google Scholar 

  26. Olsen LR, Jensen DV, Noerholm V, Martiny K, Bech P (2003) The internal and external validity of the major depression inventory in measuring severity of depressive states. Psychol Med 33(2):351–356

    Article  Google Scholar 

  27. Nair R, Bhagat A (2018) A life cycle on processing large dataset—LCPL. Int J Comput Appl

    Google Scholar 

  28. Wikipedia, Available at: https://en.wikipedia.org/wiki/Beck_Depression_Inventory#BDI-II [Online]. Accessed 1 Dec 2021

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Saikat Biswas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Biswas, S., Islam, M., Sarker, U., Hridoy, R.H., Habib, M.T. (2023). Machine Learning-Based Depression Detection. In: Smys, S., Lafata, P., Palanisamy, R., Kamel, K.A. (eds) Computer Networks and Inventive Communication Technologies. Lecture Notes on Data Engineering and Communications Technologies, vol 141. Springer, Singapore. https://doi.org/10.1007/978-981-19-3035-5_60

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-3035-5_60

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-3034-8

  • Online ISBN: 978-981-19-3035-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics