Related Experiment Video
Updated: May 3, 2026

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
Machine learning classification of patients after suicide attempts using demographic data, EEG connectivity and heart
Matej Pribis1, Anna Bankwitz1, Dávid M Gyurkó2
1University of Zurich, Psychiatric University Hospital Zurich, Department of Psychiatry, Psychotherapy and Psychosomatics, Zurich, Switzerland.
Objective:
The aim of this study was to develop a way to distinguish suicidal patients based on their electrophysiologic (EEG connectivity and heart rate variability) and demographic data. Various machine learning algorithms were compared to find the best models and features for this task.
Methods:
Using a dataset of 140 subjects (or 87 subjects for HR models) from previous studies, different machine learning classifiers (KNN, SVM, Logistic Regression and Random Forest) were trained (using Monte Carlo cross validation and L2 regularization) and tested. Different data subsets were compared (HR, EEG, Demographic data) calculating the importance of individual features.
Results:
84 machine learning classifiers were trained. The models based only on EEG connectivity and heart rate variability (HRV) data achieved an accuracy of 71.1 % (SVM) and 68.3 % (KNN) and AUC-ROC of 75.4 % and 78.8 % respectively. Adding the demographic variables, the results further improved to Accuracy of 76.9 % and AUC-ROC of 81.9 %. EEG connectivity alone failed to provide sufficient discriminatory value, HRV data showed promising results in this regard.
Conclusions:
Pure physiological data, used in combination, might be sufficient in classifying suicide attempters with good prediction power. Adding sociodemographic data, the results improved, underlying the importance of these variables.
Significance:
Machine Learning classifiers using combined sociocultural and physiological parameters might aid the identification of suicidal patients.

