Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Jul 1;21(13):4519.
doi: 10.3390/s21134519.

Machine Learning Methods for Fear Classification Based on Physiological Features

Affiliations

Machine Learning Methods for Fear Classification Based on Physiological Features

Livia Petrescu et al. Sensors (Basel). .

Abstract

This paper focuses on the binary classification of the emotion of fear, based on the physiological data and subjective responses stored in the DEAP dataset. We performed a mapping between the discrete and dimensional emotional information considering the participants' ratings and extracted a substantial set of 40 types of features from the physiological data, which represented the input to various machine learning algorithms-Decision Trees, k-Nearest Neighbors, Support Vector Machine and artificial networks-accompanied by dimensionality reduction, feature selection and the tuning of the most relevant hyperparameters, boosting classification accuracy. The methodology we approached included tackling different situations, such as resolving the problem of having an imbalanced dataset through data augmentation, reducing overfitting, computing various metrics in order to obtain the most reliable classification scores and applying the Local Interpretable Model-Agnostic Explanations method for interpretation and for explaining predictions in a human-understandable manner. The results show that fear can be predicted very well (accuracies ranging from 91.7% using Gradient Boosting Trees to 93.5% using dimensionality reduction and Support Vector Machine) by extracting the most relevant features from the physiological data and by searching for the best parameters which maximize the machine learning algorithms' classification scores.

Keywords: emotion classification; emotion dimensions; fear classification; machine learning; neural networks.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Data processing flow.
Figure 2
Figure 2
DEAP trial session structure.
Figure 3
Figure 3
Fear classification process.
Figure 4
Figure 4
Dataset structure for non-overlapping approach.
Figure 5
Figure 5
Dataset structure for overlapping approach.
Figure 6
Figure 6
Learning curves, model scalability and model performance for the SVM algorithm, for the non-overlapping dataset.
Figure 7
Figure 7
Learning curves, scalability and model performance for the PCA + SVM algorithm, for the non-overlapping dataset.
Figure 8
Figure 8
Learning curves, model scalability and model performance for the Gradient Boosting Tree algorithm, for the non-overlapping dataset.
Figure 9
Figure 9
Learning curves, scalability and model performance for the RF algorithm, for the non-overlapping dataset.
Figure 10
Figure 10
Learning curves, scalability and model performance for the kNN algorithm, for the non-overlapping dataset.
Figure 11
Figure 11
Learning curves, scalability and model performance for the PCA + kNN algorithm, for the non-overlapping dataset.
Figure 12
Figure 12
Learning curves, model scalability and model performance for the SVM algorithm, for the overlapping dataset.
Figure 13
Figure 13
Learning curves, scalability and model performance for the PCA + SVM algorithm, for the overlapping dataset.
Figure 14
Figure 14
Learning curves, model scalability and model performance for the GBT algorithm, for the overlapping dataset.
Figure 15
Figure 15
Learning curves, scalability and model performance for the RF algorithm, for the overlapping dataset.
Figure 16
Figure 16
Learning curves, scalability and model performance for the kNN algorithm, for the overlapping dataset.
Figure 17
Figure 17
Learning curves, scalability and model performance for the PCA + kNN algorithm, for the overlapping dataset.
Figure 18
Figure 18
Accuracy and loss for Configuration 1, non-overlapping dataset.
Figure 19
Figure 19
Accuracy and loss for Configuration 2, non-overlapping dataset.
Figure 20
Figure 20
Accuracy and loss for Configuration 3, non-overlapping dataset.
Figure 21
Figure 21
Accuracy and loss for Configuration 4, non-overlapping dataset.
Figure 22
Figure 22
Accuracy and loss for Configuration 5, non-overlapping dataset.
Figure 23
Figure 23
Accuracy and loss for Configuration 1, overlapping dataset.
Figure 24
Figure 24
Accuracy and loss for Configuration 2, overlapping dataset.
Figure 25
Figure 25
Prediction features for situation 0 (no fear), for the non-overlapping dataset.
Figure 26
Figure 26
Prediction features for situation 1 (fear), for the non-overlapping dataset.
Figure 27
Figure 27
Prediction features for situation 0 (no fear), for the overlapping dataset.
Figure 28
Figure 28
Prediction features for situation 1 (fear), for the overlapping dataset.

References

    1. Domínguez-Jiménez J., Campo-Landines K., Martínez-Santos J., Delahoz E., Contreras-Ortiz S. A machine learning model for emotion recognition from physiological signals. Biomed. Signal Process. Control. 2020;55:101646. doi: 10.1016/j.bspc.2019.101646. - DOI
    1. Öhman A., Carlsson K., Lundqvist D., Ingvar M. On the unconscious subcortical origin of human fear. Physiol. Behav. 2007;92:180–185. doi: 10.1016/j.physbeh.2007.05.057. - DOI - PubMed
    1. Ressler K.J. Amygdala Activity, Fear, and Anxiety: Modulation by Stress. Biol. Psychiatry. 2010;67:1117–1119. doi: 10.1016/j.biopsych.2010.04.027. - DOI - PMC - PubMed
    1. Ekman P. An argument for basic emotions. Cogn. Emot. 1992;6:169–200. doi: 10.1080/02699939208411068. - DOI
    1. Ekman P., Sorenson E.R., Friesen W.V. Pan-Cultural Elements in Facial Displays of Emotion. Science. 1969;164:86–88. doi: 10.1126/science.164.3875.86. - DOI - PubMed

LinkOut - more resources