20StressDetect: ML for Mental Stress Prediction
Himanshu Verma1, Nimish Kumar2*, Yogesh Kumar Sharma3 and Pankaj Vyas1
1Manipal University, Jaipur (Rajasthan), India
2BK Birla Institute of Engineering and Technology, Pilani (Rajasthan), India
3KLE Foundation, Greenfield, Vaddeswaram, Guntur (Andhra Pradesh), India
Abstract
Mental stress has become a growing concern in recent years, negatively impacting physical and psychological health. This chapter presents a methodology that relies on machine learning to forecast and categorize mental stress levels based on physiological signals. The dataset used include, including an electrocardiogram (ECG), electrodermal activity (EDA), and respiration signals obtained from participants under stressful conditions.The sign was preprocessed to eliminate noise and artefacts, and feature extraction techniques were applied to obtain relevant features for stress prediction. Three distinct machine learning algorithms were employed to classify stress levels: Random Forest (RF), Support Vector Machine (SVM), and Artificial Neural Network (ANN). Evaluation metrics were used to measure the performance of each algorithm, and an experimental setup was designed to compare their performance.
The results show that all three algorithms accurately predicted and classified stress levels. Out of the three algorithms evaluated, the Random Forest algorithm demonstrated the best performance in terms of accuracy, with the Support Vector Machine and Artificial ...
Get Optimized Predictive Models in Health Care Using Machine Learning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.