Machine Learning Detects Mental Stress From ECG

Researchers at Vrije Universiteit Amsterdam (published April 7, 2026) evaluated logistic regression and XGBoost on 1000 Hz ECG recordings from 127 participants to detect mental stress. XGBoost achieved AUROC 0.741 and LR 0.724, models remained robust to downsampling and feature reduction, but showed poor specificity versus moderate physical activity and limited transfer to social-evaluative stressors. Findings highlight single-sensor ECG limitations for real-world stress monitoring.
Scoring Rationale
Peer-reviewed study with a sizeable cohort (127 participants) and extensive robustness and generalization experiments. High credibility and practical relevance boost the score; performance limitations separating stress from moderate exertion temper a higher rating. Published today, so timeliness adds modest uplift.
Practice interview problems based on real data
1,500+ SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problemsStep-by-step roadmaps from zero to job-ready — curated courses, salary data, and the exact learning order that gets you hired.
Sources
- Read OriginalElectrocardiogram-Based Mental Stress Detection Amid Everyday Activities Using Machine Learning: Model Development and Validation Studyjmir.org


