Abstract
Stress is a mental condition that affects every aspect of life leading to sleep deprivation and various other diseases. Thus, it's necessary to analyse one's vitals to stay updated about one's mental health. This paper presents an effective method for detecting cognitive stress levels using data from a physical activity tracker device. The main goal of this system is to use sensor technology to detect stress using a machine learning approach. Individually, the impact of each stressor is assessed using ML models, followed by the construction of a NN model and assessment using ordinal logistic regression models such as logit, probit and complementary log-log. The paper uses heartbeat rate as one of the features to recognise stress and the Internet of Things (IoT) and Machine Learning (ML) to alert the situation when the person is in real danger. The patient's condition is predicted using machine learning and the patient's acute stress condition is relayed using IoT. Based on the heartbeat, a prediction of whether a person is under stress or not can be made. The paper presents a model that can predict stress levels based entirely on electrocardiogram (ECG) data, which can be measured with consumer-grade heart monitors The ECG's spectral power components, as well as time and frequency domain features of heart rate variability, are included in the model. The stress detector system takes the real-time data from the IoT device (sensor), then applies a machine learning model on the data to detect stress levels in an individual and eventually informs/alerts the individual about their stress condition. By collecting data, this system is tested and evaluated in a real-time environment with different machine learning models. Finally, a comprehensive comparative analysis has been depicted amongst the applied models with Random Forest Classifier showing the highest accuracy. The novelty of this work lies in the fact that a stress detection framework should be as unobtrusive to the user as possible.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Raichur N, Lonakadi N, Mural P (2017) Detection of stress using image processing and machine learning techniques. Int J Eng Technol 9(3)
Venkataraman D, Parameswaran NS (2018) Extraction of facial features for depression detection among students. Int J Pure Appl Math
Pandey PS (2017) Machine learning and IoT for prediction and detection of stress, IEEE
Kumar T, Kumar RS et al (2019) Health monitoring and stress detection system, IRJET, March 2019
Hesham, Elkhorazaty Y, Aloul F (2016) Emotion recognition using mobile phones, IEEE
Lakudzode SF, Prof. Rajbhoj SM (2016) Review on human stress monitoring system using wearable sensors
Pantelopoulos A, Bourbakis NG (2009) A survey on wearable sensor-based systems for health monitoring and prognosis. In: IEEE transactions on systems, man, and cybernetics, part c (applications and reviews); vol 40, issue 1
Amir Muaremi; Bert Arnrich; Gerhard Troster; Towards Measuring Stress with Smartphones and Wearable Devices During Workday, Sleep. Zurich, Switzer- land. 2013
Minguillon J, Perez E, Lopez-Gordo MA, Pelayo F, Sanchez-Carrion MJ (2018) Portable system for real-time detection of stress level. Sensors 18(8):2504
Healey J (2005) Wearable and automotive systems for affect recognition from physiology
Healey J, Picard W (2000) Wearable and automotive systems for affect recognition from physiology
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Vividha, Agarwal, D., Gupta, P., Taneja, S., Nagrath, P., Gupta, B. (2022). Stress Prediction Using Machine Learning and IoT. In: Gupta, D., Polkowski, Z., Khanna, A., Bhattacharyya, S., Castillo, O. (eds) Proceedings of Data Analytics and Management . Lecture Notes on Data Engineering and Communications Technologies, vol 91. Springer, Singapore. https://doi.org/10.1007/978-981-16-6285-0_49
Download citation
DOI: https://doi.org/10.1007/978-981-16-6285-0_49
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-6284-3
Online ISBN: 978-981-16-6285-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)