Related Experiment Video
Updated: Oct 25, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predicting the Risk of Depression Based on ECG Using RNN
Sumaiya Tarannum Noor1, Syeda Tasmiah Asad1, Mohammad Monirujjaman Khan1
1Department of Electrical and Computer Engineering, North South University, Bashundhara, Dhaka 1229, Bangladesh.
This study introduces a deep learning model using Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) to detect depression risk via electrocardiogram (ECG) by identifying abnormal and Premature Ventricular Contraction (PVC) heartbeats.
Area of Science:
- Cardiology
- Psychiatry
- Artificial Intelligence
Background:
- Depression is linked to distinct heartbeat patterns, including Premature Ventricular Contractions (PVCs).
- Electrocardiogram (ECG) data offers a potential non-invasive method for assessing cardiac anomalies associated with mental health conditions.
Purpose of the Study:
- To develop and validate a deep learning model for predicting depression risk using ECG signals.
- To differentiate between normal, abnormal, and potentially risky heartbeats, specifically PVCs.
Main Methods:
- Utilized a Recurrent Neural Network (RNN) with a Long Short-Term Memory (LSTM) autoencoder architecture.
- Trained and tested the model on a dataset of 5000 ECG samples, classifying heartbeats as normal, abnormal, or PVC.
Main Results:
- Achieved 97.24% accuracy in predicting normal heartbeats and 100% accuracy for PVC heartbeats.
- Demonstrated effective differentiation between normal, abnormal, and risky heartbeats through low training loss values (best losses: 5.71 for normal, 33.36 for abnormal, 34.78 for risky).
Conclusions:
- The developed RNN-LSTM model shows high accuracy in identifying cardiac irregularities potentially indicative of depression.
- Further research with larger datasets may enhance the model's predictive capabilities for depression risk assessment using ECG.
Related Concept Videos
Depressive Disorders: Etiology
Biological Factors in Depression
Biological predispositions significantly influence the risk of developing depressive disorders. Genetic studies highlight the role of variations in the serotonin transporter...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Long-term Depression
Long-term Depression
Calcium Ion Concentration Mechanism
If over...

