A Machine Learning Approach to Classify Depression and Anxiety

A person's mood and overall health are significantly affected by psychological disorders like anxiety and depression. Since anxiety and depression have many symptoms in shared, distinguishing between them is the main issue. By employing a dataset of numerical replies, this work seeks to solve this problem by pinpointing the most important characteristics necessary for accurate classification. The dataset comprises 4184 individuals diagnosed by the French university and focuses on people aged 18 and over. SMOTE, which stands for Synthetic Minority Over-sampling Technique, has been used to solve the problem of class imbalance, as there were more people in the study population with no disorder. Random Forest feature selection found these 10 most relevant attributes to symptoms of anxiety and depression. The classification then proceeded with the supervised machine learning model, K-Nearest Neighbors (KNN), Random Forest, and Support Vector Machine (SVM). This was done by applying the 10-fold cross-validation method to achieve consistent and trustworthy results. Random Forest showed the highest performance among the others, thus being the best method to differentiate between depression and anxiety.

Authors

Publication Details

Published
2025-03-07
DOI
https://doi.org/10.1109/icdt63985.2025.10986654
Citations
1
Primary Topic
Mental Health Research Topics
Type
article
Field-Weighted Citation Impact
2.12
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Machine Learning Approach to Classify Depression and Anxiety

Vrinda Sachdeva, Anju Gera, Abhishek Srivastav
1 citations
Mental Health Research Topics
2.12
article

A Machine Learning Approach to Classify Depression and Anxiety

Vrinda Sachdeva, Anju Gera, Abhishek Srivastav
article en
1 citations

Abstract

A person's mood and overall health are significantly affected by psychological disorders like anxiety and depression. Since anxiety and depression have many symptoms in shared, distinguishing between them is the main issue. By employing a dataset of numerical replies, this work seeks to solve this problem by pinpointing the most important characteristics necessary for accurate classification. The dataset comprises 4184 individuals diagnosed by the French university and focuses on people aged 18 and over. SMOTE, which stands for Synthetic Minority Over-sampling Technique, has been used to solve the problem of class imbalance, as there were more people in the study population with no disorder. Random Forest feature selection found these 10 most relevant attributes to symptoms of anxiety and depression. The classification then proceeded with the supervised machine learning model, K-Nearest Neighbors (KNN), Random Forest, and Support Vector Machine (SVM). This was done by applying the 10-fold cross-validation method to achieve consistent and trustworthy results. Random Forest showed the highest performance among the others, thus being the best method to differentiate between depression and anxiety.

Reduced inequalities
Openalex Percentile: Top 14%
Mental Health Research Topics
2.12
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.