| Literature DB >> 32957479 |
Abstract
Stress is subjective and is manifested differently from one person to another. Thus, the performance of generic classification models that classify stress status is crude. Building a person-specific model leads to a reliable classification, but it requires the collection of new data to train a new model for every individual and needs periodic upgrades because stress is dynamic. In this paper, a new binary classification (called stressed and non-stressed) approach is proposed for a subject's stress state in which the inter-beat intervals extracted from a photoplethysomogram (PPG) were transferred to spatial images and then to frequency domain images according to the number of consecutive. Then, the convolution neural network (CNN) was used to train and validate the classification accuracy of the person's stress state. Three types of classification models were built: person-specific models, generic classification models, and calibrated-generic classification models. The average classification accuracies achieved by person-specific models using spatial images and frequency domain images were 99.9%, 100%, and 99.8%, and 99.68%, 98.97%, and 96.4% for the training, validation, and test, respectively. By combining 20% of the samples collected from test subjects into the training data, the calibrated generic models' accuracy was improved and outperformed the generic performance across both the spatial and frequency domain images. The average classification accuracy of 99.6%, 99.9%, and 88.1%, and 99.2%, 97.4%, and 87.6% were obtained for the training set, validation set, and test set, respectively, using the calibrated generic classification-based method for the series of inter-beat interval (IBI) spatial and frequency domain images. The main contribution of this study is the use of the frequency domain images that are generated from the spatial domain images of the IBI extracted from the PPG signal to classify the stress state of the individual by building person-specific models and calibrated generic models.Entities:
Keywords: PPG signal; convolution neural network; frequency domain; image processing; spatial domain; stress status
Mesh:
Year: 2020 PMID: 32957479 PMCID: PMC7571107 DOI: 10.3390/s20185312
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Proposed stress classification models development.
Figure 2Sliding window of size 28 with overlapping by one column.
Figure 3Stressed and non-stressed spatial images for several subjects.
The mean of all the pixel values in the entire spatial images (image intensity).
| Subject No. | Non-Stressed | Image Intensity | Stress | Image Intensity |
|---|---|---|---|---|
| 2 |
| 10.52 |
| 11.40 |
| 4 |
| 10.36 |
| 11.04 |
| 6 |
| 9.94 |
| 11.54 |
| 8 |
| 10.81 |
| 11.43 |
| 10 |
| 10.27 |
| 11.31 |
| 14 |
| 10.60 |
| 11.28 |
| 16 |
| 10.69 |
| 11.24 |
Comparing the average intensity value of the image segments in stressed and non-stressed conditions.
| Subject | IBI Spatial Image (4 Segments) | Status | Lower- Left, Right | Upper- Left, Right |
|---|---|---|---|---|
| 2 |
| non-stressed | 0.2238, 0.2755 | 19.4933, 19.7000 |
| 2 |
| stressed | 2.8429, 2.2602 | 19.2044, 19.5952 |
| 16 |
| non-stressed | 0.4429, 0.4184 | 19.3200, 20.0667 |
| 16 |
| stressed | 16.1524, 19.6684 | 8.7289, 3.9810 |
Figure 4Converting inter-beat intervals (IBI) obtained from the photoplethysmogram (PPG) signal into frequency domain images.
Figure 5Stressed and non-stressed frequency domain images for several subjects.
The mean of all the pixel values in the entire frequency images (image intensity).
| Subject No. | Non-Stressed | Image Intensity | Stress | Image Intensity |
|---|---|---|---|---|
| 4 |
| 116.90 |
| 112.89 |
| 6 |
| 119.91 |
| 110.95 |
| 8 |
| 121.71 |
| 113.71 |
| 10 |
| 123.10 |
| 120.81 |
| 16 |
| 120.26 |
| 119.73 |
Figure 6Stress classification using a convolution neural network (CNN) model structure.
The accuracy measures for the person-specific models using spatial images.
| Subject No. | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2 | 99.8 | 100 | 99 | 98 | 100 | 100 |
| 3 | 100 | 100 | 99 | 100 | 98 | 98 |
| 4 | 100 | 100 | 100 | 100 | 100 | 100 |
| 5 | 100 | 100 | 100 | 100 | 100 | 100 |
| 6 | 100 | 100 | 100 | 100 | 100 | 100 |
| 7 | 100 | 100 | 100 | 100 | 100 | 100 |
| 8 | 100 | 100 | 100 | 100 | 100 | 100 |
| 9 | 100 | 100 | 100 | 100 | 100 | 100 |
| 10 | 100 | 100 | 100 | 100 | 100 | 100 |
| 11 | 100 | 100 | 100 | 100 | 100 | 100 |
| 13 | 100 | 100 | 100 | 100 | 100 | 100 |
| 14 | 100 | 100 | 100 | 100 | 100 | 100 |
| 15 | 100 | 100 | 100 | 100 | 100 | 100 |
| 16 | 100 | 100 | 100 | 100 | 100 | 100 |
| 17 | 100 | 100 | 100 | 100 | 100 | 100 |
|
|
|
|
|
|
|
|
The accuracy measures for the person-specific models using frequency domain images.
| Subject No. | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2 | 100 | 100 | 97 | 100 | 96 | 96 |
| 3 | 100 | 100 | 99 | 100 | 98 | 98 |
| 4 | 100 | 100 | 100 | 100 | 100 | 100 |
| 5 | 95.7 | 84.6 | 74 | 100 | 65 | 65 |
| 6 | 100 | 100 | 93 | 85 | 100 | 100 |
| 7 | 100 | 100 | 99 | 100 | 99 | 99 |
| 8 | 100 | 100 | 100 | 100 | 100 | 100 |
| 9 | 100 | 100 | 99 | 100 | 99 | 99 |
| 10 | 100 | 100 | 99 | 98 | 100 | 100 |
| 11 | 99.8 | 100 | 99 | 98 | 100 | 100 |
| 13 | 100 | 100 | 97 | 96 | 100 | 100 |
| 14 | 100 | 100 | 99 | 100 | 99 | 99 |
| 15 | 100 | 100 | 96 | 91 | 100 | 100 |
| 16 | 100 | 100 | 96 | 93 | 97 | 97 |
| 17 | 99.7 | 100 | 99 | 98 | 100 | 100 |
|
|
|
|
|
|
|
|
The accuracy measures for the generic models using spatial domain images.
| Subject in Test | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2,3,4 | 99.8 | 99.9 | 54 | 43 | 61 | 61 |
| 5,6,7 | 99.7 | 99.8 | 47 | 71 | 34 | 34 |
| 8,9,10 | 99.7 | 99.9 | 69 | 49 | 87 | 87 |
| 11,13,14 | 95.7 | 84.6 | 74 | 100 | 65 | 65 |
| 15,16,17 | 99.6 | 99.8 | 61 | 72 | 52 | 52 |
|
|
|
|
|
|
|
|
The accuracy measures for the generic models with 20% calibration samples using spatial domain images.
| Subject in Test | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2,3,4 | 99.8 | 99.9 | 58 | 63 | 55 | 55 |
| 5,6,7 | 99.6 | 99.9 | 92 | 98 | 88 | 88 |
| 8,9,10 | 99.7 | 99.9 | 97 | 96 | 98 | 98 |
| 11,13,14 | 99.6 | 100 | 98 | 99 | 96 | 96 |
| 15,16,17 | 99.6 | 100 | 95.5 | 98 | 93.5 | 93.5 |
|
|
|
|
|
|
|
|
The accuracy measures for the generic models using frequency domain images.
| Subject in Test | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2,3,4 | 98.9 | 98 | 56 | 42 | 64 | 64 |
| 5,6,7 | 98.9 | 97.3 | 63 | 61 | 63 | 63 |
| 8,9,10 | 98.8 | 97.6 | 65 | 52 | 76 | 76 |
| 11,13,14 | 99.1 | 98 | 66 | 45 | 86 | 86 |
| 15,16,17 | 98.8 | 97.4 | 63 | 65 | 60 | 60 |
|
|
|
|
|
|
|
|
The accuracy measures for the generic models with 20% calibration samples using frequency domain images.
| Subject in Test | Train (%) | Valid (%) | Test (%) | Sensitivity (%) | Specificity (%) | Precision (%) |
|---|---|---|---|---|---|---|
| 2,3,4 | 100 | 100 | 97 | 100 | 96 | 96 |
| 5,6,7 | 99 | 97.6 | 88 | 81 | 92 | 92 |
| 8,9,10 | 98.9 | 98.1 | 86 | 80 | 92 | 92 |
| 11,13,14 | 99.4 | 97.8 | 81 | 96 | 96 | 88 |
| 15,16,17 | 98.8 | 96.2 | 86 | 82 | 89 | 89 |
|
|
|
|
|
|
|
|
Figure 7Confusion matrix for generic model (left: spatial images; right: frequency domain images).
Figure 8Confusion matrix for generic model using 20% of calibrated sample (left: spatial images; right: frequency domain images).
Comparing the findings of this study with other studies.
| Study | Type of Images | Classifier | Type (%) | Accuracy (%) |
|---|---|---|---|---|
| This Study | PPG-IBI Spatial, Frequency | CNN | Person-specific, Generic | Spatial (99.8,88.1), Frequency (96.4,87.6) |
| [ | Raw ECG | CNN | Generic | 90.19 |
| [ | ECG-IBI Spatial | CNN | Generic | 92.8 |
| [ | Face | CNN | Generic | 85.23 |
| [ | Respiration | CNN | Generic | 84.59 |