Stress Classification using Deep Learning with 1D Convolutional Neural Networks

Abdulrazak Yahya Saleh, Lau Khai Xian


Stress has been a major problem impacting people in various ways, and it gets serious every day. Identifying whether someone is suffering from stress is crucial before it becomes a severe illness. Artificial Intelligence (AI) interprets external data, learns from such data, and uses the learning to achieve specific goals and tasks. Deep Learning (DL) has created an impact in the field of Artificial Intelligence as it can perform tasks with high accuracy. Therefore, the primary purpose of this paper is to evaluate the performance of 1D Convolutional Neural Networks (1D CNNs) for stress classification. A Psychophysiological stress (PS) dataset is utilized in this paper. The PS dataset consists of twelve features obtained from the expert. The 1D CNNs are trained and tested using 10-fold cross-validation using the PS dataset. The algorithm performance is evaluated based on accuracy and loss matrices. The 1D CNNs outputs 99.7% in stress classification, which outperforms the Backpropagation (BP), only 65.57% in stress classification. Therefore, the findings yield a promising outcome that the 1D CNNs effectively classify stress compared to BP. Further explanation is provided in this paper to prove the efficiency of 1D CNN for the classification of stress.


Full Text:



P. Priya, "How to Overcome Stress during COVID19 Pandemic," International Journal of Entrepreneurship and Economic Issues, vol. 4, no. 1, pp. 75-78, 2020.

M. Fawaz and A. Samaha, "COVID-19 quarantine: Post-traumatic stress symptomatology among Lebanese citizens," International Journal of Social Psychiatry, vol. 66, no. 7, pp. 666-674, 2020.

L. Liang, T. Gao, H. Ren, R. Cao, Z. Qin, Y. Hu, C. Li, and S. Mei, “Post-traumatic stress disorder and psychological distress in Chinese youths following the COVID-19 emergency,” Journal of Health Psychology, vol. 25, no. 9, pp. 1164–1175, Jul. 2020.

R. N. Kumar Anil, S. C. Karumaran, D. Kattula, R. Thavarajah, and A. M. Anusa,, "Perceived stress and psychological (dis) stress among Indian endodontists during COVID19 pandemic lock down," MedRxiv, 2020.

D. Choudhury, S. Bhowmick, S. Parolia, S. Jana, D. Kundu, N. Das, K. Ray, and S. KarPurkaysatha, “A study on the anxiety level and stress during Covid19 lockdown among the general population of West Bengal, India- A must know for primary care physicians,” Journal of Family Medicine and Primary Care, vol. 10, no. 2, p. 978, 2021.

E. Esterwood and S. A. Saeed, "Past epidemics, natural disasters, COVID19, and mental health: learning from history as we deal with the present and prepare for the future," Psychiatric quarterly, pp. 1-13, 2020.

Willis Towers Watson Public Limited Company, "Seventy-five percent of U.S. employers say stress is their number one workplace health concern," GLOBE NEWSWIRE, June 29, 2016. [Online]. Available:

American Psychological Association, "Stress in America: Coping with change," Stress in America Survey, PsycEXTRA Dataset, 2017.

J. T. Cacioppo, L. G. Tassinary, and G. Berntson, Handbook of psychophysiology. Cambridge university press, 2007.

G. Francis, "Young adults spend more than six hours per day feeling 'stressed out', finds Mental Health study," The Independent, 2018. [Online]. Available: .

K. G. Kim, "Book review: Deep learning," Healthcare informatics research, vol. 22, no. 4, pp. 351-354, 2016.

K. Das and R. N. Behera, "A survey on machine learning: concept, algorithms and applications," International Journal of Innovative Research in Computer and Communication Engineering, vol. 5, no. 2, pp. 1301-1309, 2017.

I. Arel, D. C. Rose, and T. P. Karnowski, "Deep machine learning-a new frontier in artificial intelligence research [research frontier]," IEEE computational intelligence magazine, vol. 5, no. 4, pp. 13-18, 2010.

D. P. Solomatine and A. Ostfeld, "Data-driven modelling: some past experiences and new approaches," Journal of hydroinformatics, vol. 10, no. 1, pp. 3-22, 2008.

G. E. Hinton, S. Osindero, and Y.-W. Teh, "A fast learning algorithm for deep belief nets," Neural computation, vol. 18, no. 7, pp. 1527-1554, 2006.

Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," nature, vol. 521, no. 7553, pp. 436-444, 2015.

S. Kiranyaz, O. Avci, O. Abdeljaber, T. Ince, M. Gabbouj, and D. J. Inman, "1D convolutional neural networks and applications: A survey," Mechanical systems and signal processing, vol. 151, p. 107398, 2021.

F. Li et al., "Feature extraction and classification of heart sound using 1D convolutional neural networks," EURASIP Journal on Advances in Signal Processing, vol. 2019, no. 1, pp. 1-11, 2019.

F. M. Riese and S. Keller, "Soil texture classification with 1D convolutional neural networks based on hyperspectral data," arXiv preprint arXiv:1901.04846, 2019.

E. Smets et al., "Comparison of machine learning techniques for psychophysiological stress detection," in International Symposium on Pervasive Computing Paradigms for Mental Health, 2015: Springer, pp. 13-22.

Z. Qin, M. Li, L. Huang, and Y. Zhao, "Stress level evaluation using BP neural network based on time-frequency analysis of HRV," in 2017 IEEE International Conference on Mechatronics and Automation (ICMA), 2017: IEEE, pp. 1798-1803.

C. Liu, Y. Feng, and Y. Wang, "An innovative evaluation method for undergraduate education: an approach based on BP neural network and stress testing," Studies in Higher Education, pp. 1-17, 2020.

J. Brownlee, "A gentle introduction to k-fold cross-validation," Machine Learning Mastery, vol. 2019, 2018.

K. Sardeshpande and V. R. Thool, "Psychological Stress Detection Using Deep Convolutional Neural Networks," in International Conference on Computer Vision and Image Processing, 2019: Springer, pp. 180-189.

R. Li and Z. Liu, "Stress detection using deep neural networks," BMC Medical Informatics and Decision Making, vol. 20, no. 11, pp. 1-10, 2020.

P. Bobade and M. Vani, "Stress detection with machine learning and deep learning using multimodal physiological data," in 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), 2020: IEEE, pp. 51-57.

N. Hakimi, A. Jodeiri, M. Mirbagheri, and S. K. Setarehdan, "Proposing a convolutional neural network for stress assessment by means of derived heart rate from functional near infrared spectroscopy," Computers in biology and medicine, vol. 121, p. 103810, 2020.

H. Baumgartl, E. Fezer, and R. Buettner, "Two-level classification of chronic stress using machine learning on resting-state EEG recordings," 2020.

A. Priya, S. Garg, and N. P. Tigga, "Predicting anxiety, depression and stress in modern life using machine learning algorithms," Procedia Computer Science, vol. 167, pp. 1258-1267, 2020.

R. Reshma, "Emotional and Physical Stress Detection and Classification Using Thermal Imaging Technique," Annals of the Romanian Society for Cell Biology, pp. 8364-8374, 2021.



  • There are currently no refbacks.

Copyright (c) 2021 Knowledge Engineering and Data Science

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Flag Counter

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

View My Stats