Enhanced Interpretability in Depression Classification with the Use of Machine Learning Models with Explainable AI
Depression, a prevalent mental health concern, demands efficient and accurate classification methods to support timely interventions. This study utilizes two mental health datasets to classify depression levels into high, medium, and low categories. Data preprocessing and visualization techniques were applied to extract meaningful patterns, followed by the implementation of six widely used machine learning algorithms: Random Forest (RF), Logistic Regression (LR), Support Vector Machine (SVM), Decision Tree (DT), K-Nearest Neighbors (KNN), and Naive Bayes (NB). Among these, the RF model demonstrated the highest accuracy, achieving 0.98 without cross-validation and 0.99 with cross-validation. Class-wise evaluation using precision, recall, and F1 score further established RF’s superior performance. To enhance interpretability and transparency, Local Interpretable Model-agnostic Explanations (LIME) was employed, providing insights into the RF model’s decision-making process. This research underscores the efficacy of the RF model for depression classification and highlights the importance of integrating explainable AI techniques in mental health diagnostics.
Authors
- Anindya Nag (ORCID: https://orcid.org/0000-0002-3760-1470)
- Md Asaduzzaman (ORCID: https://orcid.org/0000-0002-8885-6721)
- Bushra Jamil (ORCID: https://orcid.org/0000-0003-2802-7101)
- Mohammad Sayem Mozumder (ORCID: https://orcid.org/0000-0001-5613-0929)
- Hirak Mondal (ORCID: https://orcid.org/0009-0006-4756-5529)
- Kamrul Golder
- Towfeka Benta Towhid
- Anupam Tarafder
Institutions
- Khulna University (BD)
- Hubei University of Technology (CN)
Publication Details
- Published
- 2025-02-13
- DOI
- https://doi.org/10.1109/ecce64574.2025.11013833
- Primary Topic
- Machine Learning in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00