Cognitive Therapy and Routine Recommendation System (CTRRS): An AI-Driven Approach for Mental Health

Depression detection and management is an important research field nowadays. In this research work, Cognitive Therapy and Routine Recommendation System (CTRRS) is proposed. It automates the process of detecting depression and provides personalized mental health recommendations using a Random Forest model for healthcare activities and a Long Short-Term Memory (LSTM) model for sentiment analysis. The LSTM architecture includes dense layers, bidirectional LSTM layers, and embedding layers, with term frequency-inverse document frequency (TF-IDF) vectorization and early stopping to prevent overfitting. Furthermore, a Voting Classifier improves classification performance by combining the advantages of multiple models. The system's evaluation is centered on accuracy, precision, recall, and F1-score, with confusion matrices offering in-depth analysis. Finally, CTRRS uses a cosine similarity algorithm to customize content to user preferences, increasing engagement. The study integrates machine learning and deep learning by employing a Random Forest model for healthcare activity recommendations and an LSTM model for sentiment analysis and depression detection. This combination leverages the strengths of both approaches to enhance the system's overall performance. Additionally, ensemble learning techniques such as bagging, boosting, and stacking are utilized to balance performance trade-offs and improve predictive accuracy. The LSTM model achieved 96.38% accuracy, 98.10% precision, 94.50% recall, and a 96.27% F1-score, which are important findings. Through user-friendly visualizations (PHQ-9 survey responses, word clouds highlighting frequent terms in depression-related texts, bar charts displaying top TF-IDF features, and confusion matrices for model performance evaluation), CTRRS enables users to monitor their progress in terms of mental health and compliance with recommendations. This research advances mental health care by providing a solution that is stigma-free, scalable, and accessible.

Authors

Institutions

Publication Details

Journal
VFAST Transactions on Software Engineering
Published
2024-12-31
DOI
https://doi.org/10.21015/vtse.v12i4.1976
Citations
1
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.64
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cognitive Therapy and Routine Recommendation System (CTRRS): An AI-Driven Approach for Mental Health

Yaser Ali Shah, Amaad Khalil, Um-e-Aimen, Rida Bushra et al.
1 citations
VFAST Transactions on Software Engineering
Mental Health via Writing
0.64
article

Cognitive Therapy and Routine Recommendation System (CTRRS): An AI-Driven Approach for Mental Health

Yaser Ali Shah, Amaad Khalil, Um-e-Aimen, Rida Bushra, Saad Ali Shahbaz, Mashab Ali Javed
article en
1 citations

Abstract

Depression detection and management is an important research field nowadays. In this research work, Cognitive Therapy and Routine Recommendation System (CTRRS) is proposed. It automates the process of detecting depression and provides personalized mental health recommendations using a Random Forest model for healthcare activities and a Long Short-Term Memory (LSTM) model for sentiment analysis. The LSTM architecture includes dense layers, bidirectional LSTM layers, and embedding layers, with term frequency-inverse document frequency (TF-IDF) vectorization and early stopping to prevent overfitting. Furthermore, a Voting Classifier improves classification performance by combining the advantages of multiple models. The system's evaluation is centered on accuracy, precision, recall, and F1-score, with confusion matrices offering in-depth analysis. Finally, CTRRS uses a cosine similarity algorithm to customize content to user preferences, increasing engagement. The study integrates machine learning and deep learning by employing a Random Forest model for healthcare activity recommendations and an LSTM model for sentiment analysis and depression detection. This combination leverages the strengths of both approaches to enhance the system's overall performance. Additionally, ensemble learning techniques such as bagging, boosting, and stacking are utilized to balance performance trade-offs and improve predictive accuracy. The LSTM model achieved 96.38% accuracy, 98.10% precision, 94.50% recall, and a 96.27% F1-score, which are important findings. Through user-friendly visualizations (PHQ-9 survey responses, word clouds highlighting frequent terms in depression-related texts, bar charts displaying top TF-IDF features, and confusion matrices for model performance evaluation), CTRRS enables users to monitor their progress in terms of mental health and compliance with recommendations. This research advances mental health care by providing a solution that is stigma-free, scalable, and accessible.

VFAST Transactions on Software EngineeringVol. 12(4)
COMSATS University Islamabad (PK), Pir Mehr Ali Shah Arid Agriculture University (PK), Sir Syed University of Engineering and Technology (PK), University of Engineering and Technology Peshawar (PK)
Openalex Percentile: Top 23%
Mental Health via Writing
0.64
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.