A Comparative Analysis of Machine Learning Algorithms with Bagging and Boosting for Mental Health Assessment

International Journal of Electronics and Communication Engineering
© 2024 by SSRG - IJECE Journal
Volume 11 Issue 6
Year of Publication : 2024
Authors : Ravita Chahar, Ashutosh Kumar Dubey, Sushil Kumar Narang
pdf
How to Cite?

Ravita Chahar, Ashutosh Kumar Dubey, Sushil Kumar Narang, "A Comparative Analysis of Machine Learning Algorithms with Bagging and Boosting for Mental Health Assessment," SSRG International Journal of Electronics and Communication Engineering, vol. 11,  no. 6, pp. 20-39, 2024. Crossref, https://doi.org/10.14445/23488549/IJECE-V11I6P103

Abstract:

This study explores machine intelligence algorithms for evaluating mental health conditions on distinct datasets. The primary goal is to identify effective algorithms for anticipating mental health concerns. The central objective is to determine the most productive machine learning algorithms in predicting mental health issues using provided datasets. Various algorithms – Logistic Regression (LR), k-Nearest Neighbor (kNN), Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), bagging, and boosting – were employed with diverse parameter settings. The OSMI (Ds1) and the District Mental Health Program dataset (Ds2) were used for experimentation. Among the algorithms tested, LR with an Optimal Threshold (LR-OT) achieved notable performance with accuracy, precision, recall, specificity, and F1-score ranging from 0.87 to 0.89 across both datasets. kNN with Optimized parameters (kNNO) achieved 90% and 91% accuracy rates for Ds1 and Ds2, respectively. SVM obtained average accuracies of 91% and 93% for Ds1 and Ds2, respectively, with specific variations showing superior outcomes. Notably, DT, RF, bagging, and boosting models exhibited R2 scores exceeding 0.70, with bagging and DT yielding the highest R2 score. The study’s findings demonstrate that DT and RF models enhanced by bagging and boosting techniques outperform other algorithms in predicting mental health concerns using the provided datasets. This highlights the significance of employing these models for effective mental health assessment through machine learning.

Keywords:

Machine learning, Logistic regression, k-nearest neighbor, Support vector machine, Decision tree, Random forest.

References:

[1] Rialda Kovacevic, Mental Health: Lessons Learned in 2020 for 2021 and Forward, World Bank Blogs, 2021. [Online]. Available: https://blogs.worldbank.org/health/mental-health-lessons-learned-2020-2021-and-forward
[2] WHO Highlights Urgent Need to Transform Mental Health and Mental Health Care, World Health Organization, 2022. [Online]. Available: https://www.who.int/news/item/17-06-2022-who-highlights-urgent-need-to-transform-mental-health-and-mental-health-care
[3] Anna Z. Antosik-Wójcińska et al., “Smartphone as a Monitoring Tool for Bipolar Disorder: A Systematic Review Including Data Analysis, Machine Learning Algorithms and Predictive Modelling,” International Journal of Medical Informatics, vol. 138, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[4] Piyush Kumar et al., “A Machine Learning Implementation for Mental Health Care. Application: Smart Watch for Depression Detection,” 2021 11th International Conference on Cloud Computing, Data Science & Engineering, Noida, India, pp. 568-574, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Ellen E. Lee et al., “Artificial Intelligence for Mental Health Care: Clinical Applications, Barriers, Facilitators, and Artificial Wisdom,” Biological Psychiatry: Cognitive Neuroscience and Neuroimaging, vol. 6, no. 9, pp. 856-864, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Asha S. Manek et al., “Role of AI and Machine Learning in Mental Healthcare,” International Conference on Data Science and Big Data Analysis, pp. 33-48, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Emma Nuraihan Mior Ibrahim, Nurulfitrie Jamali, and Ahmad Iqbal Hakim Suhaimi, “Exploring Gamification Design Elements for Mental Health Support,” International Journal of Advanced Technology and Engineering Exploration, vol. 8, no. 74, pp. 114-125, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Chang Su et al., “Deep Learning in Mental Health Outcome Research: A Scoping Review,” Translational Psychiatry, vol. 10, no. 1, pp. 1-26, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Md Abdur Rahaman et al., “Deep Multimodal Predictome for Studying Mental Disorders,” Human Brain Mapping, vol. 44, no. 2, pp. 509-522, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[10] B. Anishfathima et al., “The Impact of Mental Health due to Covid 19–A Mental Health Detector Using Machine Learning,” Second International Conference on Artificial Intelligence and Smart Energy, pp. 248-252, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Sarah Graham et al., “Artificial Intelligence for Mental Health and Mental Illnesses: An Overview,” Current Psychiatry Reports, vol. 21, pp. 1-8, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Bharti Thakur, Nagesh Kumar, and Gaurav Gupta, “Machine Learning Techniques with ANOVA for the Prediction of Breast Cancer,” International Journal of Advanced Technology and Engineering Exploration, vol. 9, no. 87, pp. 232-245, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Jing Sui et al., “Neuroimaging-Based Individualized Prediction of Cognition and Behavior for Mental Disorders and Health: Methods and Promises,” Biological Psychiatry, vol. 88, no. 11, pp. 818-828, 2020.
[CrossRef] [Google Scholar] [Publisher Link]  
[14] Simon D’Alfonso, “AI in Mental Health,” Current Opinion in Psychology, vol. 36, pp. 112-117, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Tine Kolenik, Methods in Digital Mental Health: Smartphone-Based Assessment and Intervention for Stress, Anxiety, and Depression, Integrating Artificial Intelligence and IoT for Advanced Health Informatics: AI in the Healthcare Sector, pp. 105-128, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Bens Pardamean et al., “Quantified Self-Using Consumer Wearable Device: Predicting Physical and Mental Health,” Healthcare Informatics Research, vol. 26, no. 2, pp. 83-92, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Adrian B.R. Shatte, Delyse M. Hutchinson, and Samantha J. Teague, “Machine Learning in Mental Health: A Scoping Review of Methods and Applications,” Psychological Medicine, vol. 49, no. 9, pp. 1426-1448, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Ensar Arif Sağbaş, Serdar Korukoglu, and Serkan Balli, “Stress Detection Via Keyboard Typing Behaviors by Using Smartphone Sensors and Machine Learning Techniques,” Journal of Medical Systems, vol. 44, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Érico de Moura Silveira Júnior et al., “Decoding Rumination: A Machine Learning Approach to a Transdiagnostic Sample of Outpatients with Anxiety, Mood and Psychotic Disorders,” Journal of Psychiatric Research, vol. 121, pp. 207-213, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Purude Vaishali Narayanrao, and P. Lalitha Surya Kumari, “Analysis of Machine Learning Algorithms for Predicting Depression,” 2020 International Conference on Computer Science, Engineering and Applications, Gunupur, India, pp. 1-4, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Shankar Shambhu et al., “Binary Classification of Covid-19 CT Images Using CNN: Covid Diagnosis Using CT,” International Journal of E-Health and Medical Communications, vol. 13, no. 2, pp. 1-3, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[22] Jiang Qiao, “A Systematic Review of Machine Learning Approaches for Mental Disorder Prediction on Social Media,” 2020 International Conference on Computing and Data Science, Stanford, CA, USA, pp. 433-438, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[23] Ashley E. Tate et al., “Predicting Mental Health Problems in Adolescence using Machine Learning Techniques,” PloS One, vol. 15, no. 4, pp. 1-13, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[24] Ziyi Zhang, “Early Warning Model of Adolescent Mental Health Based on Big Data and Machine Learning,” Soft Computing, vol. 28, no. 1, pp. 811-828, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[25] Tarun Jain et al., “Machine Learning Techniques for Prediction of Mental Health,” 2021 Third International Conference on Inventive Research in Computing Applications, Coimbatore, India, pp. 1606-1613, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[26] Elizabeth Stevens et al., “Identification and Analysis of Behavioral Phenotypes in Autism Spectrum Disorder via Unsupervised Machine Learning,” International Journal of Medical Informatics, vol. 129, pp. 29-36, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[27] Arkaprabha Sau, and Ishita Bhakta, “Screening of Anxiety and Depression among the Seafarers Using Machine Learning Technology,” Informatics in Medicine Unlocked, vol. 16, pp. 1-11, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[28] Hugo G. Schnack, “Improving Individual Predictions: Machine Learning Approaches for Detecting and Attacking Heterogeneity in Schizophrenia (And Other Psychiatric Diseases),” Schizophrenia Research, vol. 214, pp. 34-42, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[29] Nan Zhao et al., “See Your Mental State from Your Walk: Recognizing Anxiety and Depression through Kinect-Recorded Gait Data,” PLoS One, vol. 14, no. 5, pp. 1-13, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[30] Betul Ay et al., “Automated Depression Detection Using Deep Representation and Sequence Learning with EEG Signals,” Journal of Medical Systems, vol. 43, no. 7, pp. 1-2, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[31] Youngjune Bhak et al., “Depression and Suicide Risk Prediction Models Using Blood-Derived Multi-Omics Data,” Translational Psychiatry, vol. 9, no. 1, pp. 1-8, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[32] Lana G. Tennenhouse et al., “Machine-Learning Models for Depression and Anxiety in Individuals with Immune-Mediated Inflammatory Disease,” Journal of Psychosomatic Research, vol. 134, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[33] Marialaura Di Tella et al., “Mental Health of Healthcare Workers during the COVID-19 Pandemic in Italy,” Journal of Evaluation in Clinical Practice, vol. 26, no. 6, pp. 1583-1587, 2020.
[CrossRef] [Google Scholar] [Publisher Link] 
[34] Nematjon Narziev et al., “STDD: Short-Term Depression Detection with Passive Sensing,” Sensors, vol. 20, no. 5, pp. 1-17, 2020. [CrossRef] [Google Scholar] [Publisher Link] [35] Kyoung-Sae Na, Seo-Eun Cho, and Seong-Jin Cho, “Machine Learning-Based Discrimination of Panic Disorder from Other Anxiety Disorders,” Journal of Affective Disorders, vol. 278, pp. 1-4, 2011.
[CrossRef] [Google Scholar] [Publisher Link]
[36] Evandro Andrade et al., “A Protocol for the Diagnosis of Autism Spectrum Disorder Structured in Machine Learning and Verbal Decision Analysis,” Computational and Mathematical Methods in Medicine, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[37] Rahee Walambe et al., “Employing Multimodal Machine Learning for Stress Detection,” Journal of Healthcare Engineering, 2021. [CrossRef] [Google Scholar] [Publisher Link] [38] Nicholas C. Jacobson et al., “Deep Learning Paired with Wearable Passive Sensing Data Predicts Deterioration in Anxiety Disorder Symptoms Across 17–18 Years,” Journal of Affective Disorders, vol. 282, pp. 104-111, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[39] Lulu Zhu et al., “The Machine Learning Algorithm for the Diagnosis of Schizophrenia on the Basis of Gene Expression in Peripheral Blood,” Neuroscience Letters, vol. 745, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[40] Rutvik V. Shah et al., “Personalized Machine Learning of Depressed Mood Using Wearables,” Translational Psychiatry, vol. 11, no. 1, pp. 1-8, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[41] Yun Han, “Application of Computer Digital Technology and Group Psychological Counseling in Higher Vocational Education Mental Health Education Curriculum under Complex Network Environment,” Mathematical Problems in Engineering, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[42] Muhammad Kashif Hanif et al., “Employing Machine Learning-Based Predictive Analytical Approaches to Classify Autism Spectrum Disorder Types,” Complexity, pp. 1-10, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[43] Shumaila Aleem et al., “Machine Learning Algorithms for Depression: Diagnosis, Insights, and Research Directions,” Electronics, vol. 11, no. 7, pp. 1-20, 2022. [CrossRef] [Google Scholar] [Publisher Link]
[44] Yeong Hwan Ryu et al., “Prediction of Poststroke Depression Based on the Outcomes of Machine Learning Algorithms,” Journal of Clinical Medicine, vol. 11, no. 8, pp. 1-19, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[45] Nirushi Kuhathasan et al., “Predictors of Perceived Symptom Change with Acute Cannabis Use for Mental Health Conditions in a Naturalistic Sample: A Machine Learning Approach,” Comprehensive Psychiatry, vol. 122, pp. 1-8, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[46] Alberto González-Pérez et al., “AwarNS: A Framework for Developing Context-Aware Reactive Mobile Applications for Health and Mental Health,” Journal of Biomedical Informatics, vol. 141, pp. 1-20, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[47] Shaurya Bhatnagar, Jyoti Agarwal, and Ojasvi Rajeev Sharma, “Detection and Classification of Anxiety in University Students through the Application of Machine Learning,” Procedia Computer Science, vol. 218, pp. 1542-1550, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[48] Artur Shvetcov et al., “Machine Learning Identifies a COVID-19-Specific Phenotype in University Students Using a Mental Health App,” Internet Interventions, vol. 34, pp. 1-10, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[49] Ilef Ben Slima et al., “COVID-19 Pandemic’s Effect on the Mental Health among the Tunisian General Population: Associated Factors Mining via Machine Learning,” Scientific African, vol. 21, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[50] Nithya Jayakumar, and N. Reshma, “Modeling Mental Health: Advances in Predictive Science towards Proactive Health Care,” 2024 IEEE International Conference for Women in Innovation, Technology & Entrepreneurship, Bangalore, India, pp. 202-206, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[51] Meenu Gupta et al., “MHA: Mobile Application-Based Analysis of Mental Disorders,” 2024 International Conference on Advancements in Smart, Secure and Intelligent Computing, Bhubaneswar, India, pp. 1-5, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[52] Lakshmi Prasanna, and Shashi Mehrotra, “Comparative Analysis of Machine Learning Algorithms on Mental Health Dataset,” International Conference on Information and Communication Technology for Intelligent Systems, vol. 719, pp. 599-606, 2023.
[CrossRef] [Google Scholar] [Publisher Link]