UGC Approved Journal no 63975(19)
New UGC Peer-Reviewed Rules

ISSN: 2349-5162 | ESTD Year : 2014
Volume 12 | Issue 9 | September 2025

JETIREXPLORE- Search Thousands of research papers



WhatsApp Contact
Click Here

Published in:

Volume 12 Issue 5
May-2025
eISSN: 2349-5162

UGC and ISSN approved 7.95 impact factor UGC Approved Journal no 63975

7.95 impact factor calculated by Google scholar

Unique Identifier

Published Paper ID:
JETIR2505A54


Registration ID:
563405

Page Number

j589-j600

Share This Article


Jetir RMS

Title

Comparative Analysis of Machine Learning and Deep Learning Models for Depression Detection Using NLP

Abstract

Depression and mental health disorders are serious health calamities all over the globe, and thus, the early detection of cases must be made efficient. This study represents a complete comparative analysis of various machine learning approaches to detect depression and associated mental health disorders from text. Five models were implemented and tested, namely, Logistic Regression, Linear SVM, Random Forest, CNN+BiLSTM, and DistilBERT, on a big text-based dataset of 53,043 text samples belonging to seven categories of mental health (Normal, Depression, Suicidal, Anxiety, Bipolar, Stress, and Personality disorder). Initial baseline results showed a moderate performance with Logistic Regression 76.00%, Linear SVM 75.00%, Random Forest 74.00%, CNN+BiLSTM 77.00%, and DistilBERT 80.48%. By applying an exhaustive search for its hyperparameters, we managed to improve the performance of classical models: Logistic Regression (baseline: 75.00% → optimized: 76.44%) with parameters C=4.28 and L2 penalty, Linear SVM (75.00% → 76.93%) with parameters C=0.234 and squared-hinge loss, and Random Forest (74.00% → 75.37%) with parameters 500 estimators. TF-IDF vectorization was applied as a text pre-processing technique with 5,000 features and n-gram range (1,2). DistilBERT was the best of all with 80.48% accuracy, thus demonstrating the prowess of transformer-based architectures in analyzing mental health texts.

Key Words

Keywords: Depression Detection, Machine Learning, Natural Language Processing, Hyperparameter Optimization, Text Classification, Mental Health Analysis, Deep Learning, DistilBERT, CNN-BiLSTM, Support Vector Machines, Random Forest, Healthcare Informatics, Computational Psychiatry

Cite This Article

"Comparative Analysis of Machine Learning and Deep Learning Models for Depression Detection Using NLP", International Journal of Emerging Technologies and Innovative Research (www.jetir.org), ISSN:2349-5162, Vol.12, Issue 5, page no.j589-j600, May-2025, Available :http://www.jetir.org/papers/JETIR2505A54.pdf

ISSN


2349-5162 | Impact Factor 7.95 Calculate by Google Scholar

An International Scholarly Open Access Journal, Peer-Reviewed, Refereed Journal Impact Factor 7.95 Calculate by Google Scholar and Semantic Scholar | AI-Powered Research Tool, Multidisciplinary, Monthly, Multilanguage Journal Indexing in All Major Database & Metadata, Citation Generator

Cite This Article

"Comparative Analysis of Machine Learning and Deep Learning Models for Depression Detection Using NLP", International Journal of Emerging Technologies and Innovative Research (www.jetir.org | UGC and issn Approved), ISSN:2349-5162, Vol.12, Issue 5, page no. ppj589-j600, May-2025, Available at : http://www.jetir.org/papers/JETIR2505A54.pdf

Publication Details

Published Paper ID: JETIR2505A54
Registration ID: 563405
Published In: Volume 12 | Issue 5 | Year May-2025
DOI (Digital Object Identifier): https://doi.org/10.56975/jetir.v12i5.563405
Page No: j589-j600
Country: Durgapur, West Bengal, India .
Area: Engineering
ISSN Number: 2349-5162
Publisher: IJ Publication


Preview This Article


Downlaod

Click here for Article Preview

Download PDF

Downloads

000214

Print This Page

Current Call For Paper

Jetir RMS