Stress Detection Application based on Heart Rate Variability (HRV) and K-Nearest Neighbor (KNN)

Prima Dewi Purnamasari, Ramdhaidfitri Martmis, Rizky Ramadian Wijaya

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

When humans deal with stress, they produce stress hormones which create physiological responses related to the autonomic nervous system (ANS). One of the physiological responses to stress in the body is a variation in the heart rate or heart rate variability (HRV), which are some features obtained from the R-R interval derived from Electrocardiograph (ECG) signals. HRV features can be obtained using time domain analysis and frequency domain analysis. In this study, we present our work on the development of a stress detection system based on heart rate by calculating and comparing HRV features from time and frequency domain analysis and classifying these features with the k-Nearest Neighbors (kNN) algorithm. The system is implemented on both Android device and PC, and then compared if there is any difference on the accuracy. From the experiment results, it is known that the combination of HRV features from time and frequency domain analysis are the best features to represent stress with accuracy of 79.17% using the kNN algorithm.

Original languageEnglish
Title of host publicationICECOS 2019 - 3rd International Conference on Electrical Engineering and Computer Science, Proceeding
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages271-276
Number of pages6
ISBN (Electronic)9781728147147
DOIs
Publication statusPublished - Oct 2019
Event3rd International Conference on Electrical Engineering and Computer Science, ICECOS 2019 - Batam, Indonesia
Duration: 2 Oct 20193 Oct 2019

Publication series

NameICECOS 2019 - 3rd International Conference on Electrical Engineering and Computer Science, Proceeding

Conference

Conference3rd International Conference on Electrical Engineering and Computer Science, ICECOS 2019
CountryIndonesia
CityBatam
Period2/10/193/10/19

Keywords

  • Heart Rate Variability
  • k-Nearest Neighbors
  • Stress detection

Fingerprint Dive into the research topics of 'Stress Detection Application based on Heart Rate Variability (HRV) and K-Nearest Neighbor (KNN)'. Together they form a unique fingerprint.

Cite this