Related Experiment Video
Updated: Jun 20, 2025

Evaluation of Commercial-Off-The-Shelf Wrist Wearables to Estimate Stress on Students
Published on: June 16, 2018
A machine-learning approach for stress detection using wearable sensors in free-living environments
Mohamed Abd Al-Alim1, Roaa Mubarak2, Nancy M Salem3
1Biomedical Engineering Department, Faculty of Engineering, Helwan University, Egypt; Electronics and Communication Engineering Department, Faculty of Engineering, Misr University for Science and Technology, Egypt.
This study introduces a machine learning approach for detecting stress using wearable sensors in real-world settings. The Random Forest model showed the best performance for binary stress classification without data balancing techniques.
Area of Science:
- Physiology
- Computer Science
- Health Informatics
Background:
- Stress negatively impacts physical and mental health, necessitating early detection.
- Wearable sensors offer non-intrusive, continuous monitoring of vital signs for stress detection.
- Existing research predominantly focuses on stress data from controlled environments.
Purpose of the Study:
- To propose and evaluate a machine learning-based approach for stress detection in free-living environments using wearable sensor data.
- To compare the performance of various machine learning models for stress classification.
- To investigate the impact of data balancing techniques (SMOTE) on stress classification accuracy.
Main Methods:
- Utilized the SWEET dataset comprising electrocardiography (ECG), skin temperature (ST), and skin conductance (SC) from 240 subjects.
- Assessed K-Nearest Neighbors (KNN), Support Vector Classification (SVC), Decision Tree (DT), Random Forest (RF), and XGBoost (XGB) models.
- Evaluated models in binary and multi-class classification scenarios, both with and without the Synthetic Minority Over-sampling Technique (SMOTE).
Main Results:
- Random Forest achieved 98.29% accuracy and 97.89% F1-score for binary classification without SMOTE.
- K-Nearest Neighbors (KNN) performed best in binary classification with SMOTE (95.70% accuracy and F1-score).
- Random Forest excelled in three-level classification without SMOTE (97.98% accuracy, 97.22% F1-score), while XGBoost led with SMOTE (98.98% accuracy and F1-score).
Conclusions:
- Machine learning models effectively detect stress in free-living environments using wearable sensor data.
- Model selection and preprocessing techniques significantly influence stress classification performance.
- The study highlights the potential of wearable technology and AI for real-time stress management.
Related Concept Videos
Introduction to Stress and Lifestyle
Exercise Stress Test
Exercise stress testing, commonly known as a treadmill test, is a noninvasive procedure used to evaluate cardiovascular function and diagnose heart conditions.
Definition
An exercise stress test measures the heart's response to exertion using a treadmill or stationary bicycle. Chest electrodes record the heart's electrical activity through an ECG, and blood pressure is monitored regularly.
Purposes

