Next Article in Journal
Multi-Level Information Storage Using Engineered Electromechanical Resonances of Piezoelectric Wafers: A Concept Piezoelectric Quick Response (PQR) Code
Next Article in Special Issue
Can We Ditch Feature Engineering? End-to-End Deep Learning for Affect Recognition from Physiological Sensor Data
Previous Article in Journal
Feasibility of Backscatter Communication Using LoRAWAN Signals for Deep Implanted Devices and Wearable Applications
Previous Article in Special Issue
Writhing Movement Detection in Newborns on the Second and Third Day of Life Using Pose-Based Feature Machine Learning Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid System of Emotion Evaluation in Physiotherapeutic Procedures

by
Patrycja Romaniszyn-Kania
1,*,
Anita Pollak
2,
Marta Danch-Wierzchowska
1,
Damian Kania
3,
Andrzej P. Myśliwiec
3,
Ewa Piętka
1 and
Andrzej W. Mitas
1
1
Faculty of Biomedical Engineering, Silesian University of Technology, Roosevelta 40, 41-800 Zabrze, Poland
2
Institute of Psychology, University of Silesia in Katowice, Bankowa 12, 40-007 Katowice, Poland
3
Institute of Physiotherapy and Health Sciences, The Jerzy Kukuczka Academy of Physical Education in Katowice, Mikołowska 72A, 40-065 Katowice, Poland
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(21), 6343; https://doi.org/10.3390/s20216343
Submission received: 10 October 2020 / Revised: 2 November 2020 / Accepted: 4 November 2020 / Published: 6 November 2020
(This article belongs to the Special Issue Multimodal Sensing for Understanding Behavior and Personality)

Abstract

:
Nowadays, the dynamic development of technology allows for the design of systems based on various information sources and their integration into hybrid expert systems. One of the areas of research where such systems are especially helpful is emotion analysis. The sympathetic nervous system controls emotions, while its function is directly reflected by the electrodermal activity (EDA) signal. The presented study aimed to develop a tool and propose a physiological data set to complement the psychological data. The study group consisted of 41 students aged from 19 to 26 years. The presented research protocol was based on the acquisition of the electrodermal activity signal using the Empatica E4 device during three exercises performed in a prototype Disc4Spine system and using the psychological research methods. Different methods (hierarchical and non-hierarchical) of subsequent data clustering and optimisation in the context of emotions experienced were analysed. The best results were obtained for the k-means classifier during Exercise 3 (80.49%) and for the combination of the EDA signal with negative emotions (80.48%). A comparison of accuracy of the k-means classification with the independent division made by a psychologist revealed again the best results for negative emotions (78.05%).

1. Introduction

In addition to specific knowledge and qualifications, working with a patient during physiotherapy requires taking care of the communication process and developing positive relationships [1,2]. Emotions experienced during therapy are a reaction of the individual in the form of cognitive evaluation and psychophysiological responses to the physical injury and the effects of treatment achieved in the context of further functioning [3,4]. They are critical for triggering adaptive behaviour that helps to survive and improves the well-being of the individual [5]. Knowledge of emotions allows for a better understanding of coping strategies used in stressful situations and the development of intervention methods aimed at arousing positive emotions, which are a manifestation of health and represent a factor that favours physiological, psychological, and social processes that improve well-being [5,6,7]. Furthermore, identification and interpretation of emotional reactions by means of physiological data acquisition and processing systems can contribute to extending the knowledge of this area [8] and provide an alternative way of data collection. To the best of our knowledge, no research results have been presented to date on the psychophysiological analysis of the patient’s emotional state during rehabilitation. Therefore, the aim of this research is to propose a methodology and to select an optimal set of physiological data to complement the psychological tests and support experts in the evaluation of the patients’ emotional states.
In this paper we propose an objective emotion measurement approach based on the electrodermal activity signal and its comparison with medically approved psychological tests. The signal acquisition setup is integrated with a newly developed rehabilitation installation for physiotherapy of posture defects and scoliosis. Independent and combined evaluations of the results indicate their compatibility and possible implementation in the therapeutic procedure.

2. Background

2.1. Psychological Assessment

One of the most popular models describing the relationship between stressors and the experienced stress and coping strategies was proposed by Lazarus and Folkman [4]. According to this model, stress is defined as ’a specific relationship between a person and his or her environment which is assessed by a person as aggravating or exceeding his or her resources and threatening their well-being’ [4]. An individual evaluates the elements of the relationship with the environment that are important for his or her well-being and assesses whether the situation represents harm or loss, a threat or a challenge and whether they have sufficient resources to cope with the situation. All these assessments are associated with characteristic emotions [7]. In the case of hurt or loss, the emotions include anger, grief, and sadness, whereas threat is associated with experiencing fear, anxiety, and worry. When stress is assessed as a challenge, the emotional picture becomes more complex and includes both negative and positive emotions such as hope, enthusiasm, excitement, and cheerfulness. Emotions stimulate an individual to be active and lead him or her to seek ways to relieve or endure stress or to find benefits of stressful events [4]. This model is complemented by studies published by Folkman [9] and Folkman and Moscowitz [7] on the importance of positive emotions for coping with stress. A review of studies on the consequences of negative emotions shows that they are harmful to biological health [10] and they can have a healthy effect only in some cases, for example, short-term negative reactions can improve the function of the immune system [11]. Experiencing positive emotions lessens the effects of negative emotions, for example, by reducing physiological arousal [12]. The adaptive role of positive emotions is also manifested in sustaining coping efforts, providing moments of respite to rebuild resources [9]. The latter effect is referred to as extending the available thought-action repertoire and is viewed as a chance to improve mood and health [13]. Furthermore, the Lazarus concept [4] states that the positive or negative emotions should be expected earlier than a conscious or unconscious decision on what kind of emotions an individual experiences and what actions he or she will take [14]. Based on this, the analysis presented in this study focuses on recording physiological changes and analysing negative and positive emotions. Furthermore, two important aspects should also be highlighted. The first aspect concerns the phenomenon of negativity bias, in which negative emotions determine functioning to a greater extent than positive ones, which is related to more intense experiencing of negative emotions [15]. The second aspect refers to the positive balance, which was found not to be a mere balance of positive and negative emotions, but is characterised by the ratio of ca. 3 to 1 [16]. This ratio allows an individual to revive and expand his or her resources and ensures the development and a sense of well-being [13]. An interesting contribution to understanding the importance of positive emotions and the problems discussed is also a study by van Yperen [17], who demonstrated that if positive emotions dominate the emotional picture, the negative ones do not have an effect on the quality of work.

2.2. Signal-Based Measures

The autonomic nervous system (ANS) is responsible for emotional stimulation [18]. It is divided into two branches, termed the sympathetic system and parasympathetic system. The direct manifestation of the activity of the sympathetic nervous system responsible for both positive and negative emotions experienced by an individual is the electrodermal activity signal (EDA) [19]. EDA, often commonly called the galvanic skin response (GSR), depends on the activity of sweat glands and the amount of sweat secreted by the eccrine glands, usually in the subcutaneous layer of the hand [20]. The activity of the sympathetic nervous system and changes in skin perspiration are regulated not only by the ambient temperature but also by the central nervous activity related to affective and cognitive states, i.e., emotions [21]. EDA is one of the signals that are most frequently used in the entire field of psychophysiological research because it is capable of reflecting both normal and pathological states [22]. There are two important features of this sympathetic innervation that improve the usefulness of EDA in behavioural medicine [23]. The first feature is that there is no antagonistic parasympathetic innervation of the sweat glands, which means that EDA reflects only sympathetic activity, not sympathovagal balance. The second feature concerns the neurotransmission that mediates the release of acetylcholine. This differs from the noradrenergic neurotransmission typical of other effector sympathetic synapses and additionally makes the EDA signal independent of adrenaline and noradrenaline levels.
The current state of knowledge, which includes the conclusions of research on ANS activity using the available measurement methods, is based, among other things, on the use of sensors fixed on the patient’s chest [24,25]. However, some researchers have shown that it is better to use a wearable wristband as a measuring device for recording physiological signals since patients are accustomed to similar devices and their costs are much lower [26].
The EDA signal has been used in studies to monitor human stress levels. Gjoreski et al. [27] developed an algorithm for the identification of psychological stress in everyday life based on teaching neural networks using laboratory data, thus detecting short-term stress, and a user activity detector that provides contextual data. Different studies have been carried out in Japan on blind and partially sighted people as they moved around in an unknown environment [28]. The EDA signal was correlated with the electroencephalographic (EEG) signal in order to identify factors that increase stress and cognitive strain. The random forest classifier was used to classify a patient’s emotional state as stress or no stress. To detect and understand the mechanism of cognitive load, the electrodermal activity signal was also used [29,30,31]. Many studies have indicated that the level of electrodermal activity correlated with cognitive load and contributed to better diagnosis of this disease. In a study by Vankowa et al. EDA was also indicated as a non-invasive ANS activity biomarker in adolescents affected by Anorexia nervosa (AN), to assess the risk of cardiovascular disorders associated with AN [32].
To the best of our knowledge, no research results have been published to date on the patient’s emotional state during rehabilitation. Studies in the literature have reported only related methods of emotional analysis using external devices and machine learning algorithms. Taheri Nejad and Pollreisz [33] studied the human body’s behaviour when experiencing various types of emotions by recording physiological signals (EDA and heart signals) in a group of 10 university students using the Empatica E4 device. The subjects were presented with videos that were supposed to evoke certain emotions, i.e., happiness, sadness, anger, pain, and fear. One of the key observations was to establish the relationship between EDA and emotions. Furthermore, the number and magnitude of signal peaks turned out to be the most differentiating feature for the emotions studied [33]. Liu et al. [34] proposed another method of the identification of emotions based on the automated selection of features of the EDA signal, using machine learning based on the Support Vector Machine (SVM) algorithm [34]. Emotions were evoked in the study participants in a deliberate way by presenting them with dedicated films. Based on the EDA signal, the authors determined 30 features, which in their opinion led to low accuracy of the classifier. Emotions were also assessed in real time among gamers using EDA and electromyography (EMG) signals to improve game interfaces [35]. In this approach, the EDA signal was correlated with the muscle electrical activity signal and a model based on the Bayesian network used to determine the user’s emotions defined only based on the literature was presented. This proposal is limited by the lack of model validation with feelings experienced by the participants. Another automated method of emotion classification based on wavelet analysis and SVM was proposed by Feng, Golshan and Mahoor [36]. These researchers conducted a study using the EDA signal in 100 children under 30 months old. Each signal received an emotion label assigned by two independent experts, which was then synchronised with the child’s facial expressions and the EDA signal. The results confirmed that the use of wavelet analysis contributes significantly to a more accurate classification of emotions.

3. Data Acquisitions

3.1. Setup

The idea of the Disc4Spine project is to design a comprehensive diagnostic and therapeutic system to support the broadly understood therapy of postural defects and scoliosis. Its basic features include, among others, full diagnostics and continuous monitoring of the therapy, correction of sagittal postural disorders, functional correction during everyday activities or stabilisation of the corrected body posture, and education of patients [37,38]. The system ensures quick and precise detection of postural defects, determination of their complexity, and then helps adjust the therapy to the patient’s needs and continuous monitoring of the defects. The module for exercises in the standing position (Figure 1) is designed as a therapeutic cage for corrective exercises for short single-joint muscles responsible for motor control [39], equipped with measuring devices for the monitoring of the therapy and its progress.
The components of the D4S system include a TOF (Time-of-Flight) camera for the detection of selected anthropometric points and calculation of basic spinal curvatures, two thermal imaging cameras for monitoring temperature changes on the back and face, a device for measuring the distribution of foot pressure on the ground and for measuring the moment of the forces that rotate the lower limb called Rotenso (the platform with red components in Figure 1b). Monitoring of the patient’s physiological functions is possible using the Empatica E4 wristband, which records heart rate variability signals, body temperature and electrodermal activity, allowing for a comprehensive assessment of the patient’s health status before, during and after rehabilitation [40,41]. Furthermore, the cage is equipped with an original system for attaching the belt on the pelvis (orange-red clamp, Figure 1b) allowing for constant monitoring of its angular position in the sagittal, frontal and horizontal planes, which both controls and supports the optimal positioning of the pelvis, whereas during the therapy, it gradually reduces this movement, thus increasing lumbar and clavicular stability. A restraint module which stabilises the head position and influences the range of neck motion is installed over the patient’s head.

3.2. Research Protocol

The control group consisted of 41 students (19 women, 22 men) of the Jerzy Kukuczka Academy of Physical Education in Katowice aged from 19 to 26 years (mean 21). The participants voluntarily responded to the invitation to participate in the study, which started from presenting the purpose (analysis of behaviour during rehabilitation), data confidentiality rules, and collecting a written consent for participation in the experiment. The only form of preparation for the experiment was to wear sportswear that ensured freedom of movement. To ensure the study’s high ecological validity, in the research, subjects were asked to perform the exercises according to the given instructions, no other methods of evoking emotions were used except for recreating the situation from a typical rehabilitation session. The exclusion criteria were painfulness during movement tasks, mobility limitations, and lack of understanding of the commands. Inclusion criteria specified that respondents were to:
  • Age in the range 19–29 years (young adults),
  • Be able to provide informed consent for the study,
  • Without any dysfunction in auditory processing, significant visual impairment,
  • Declaring physical activity in the various form of sports exercises,
  • Lack of locomotor dysfunctions that may affect the measurements due to pain or limitations of mobility range,
  • That he/she is not enduring psychiatric treatment and the crisis.
The measurement protocol started with putting on an Empatica E4 wristband. The EDA signal was recorded using the Empatica E4 wristband (E4), which is a medically approved device that allows real-time recording of physiological data. The device’s sampling rate is 4 Hz and provided raw data in .csv format. The wristband is equipped with an electrodermal activity sensor to measure changes in skin electrical conductivity, a photoplethysmographic sensor to measure blood volume pulse from which heart rate variability can be derived, a 3-axis accelerometer to monitor the subject’s activity, and an infrared thermometer. The wristband was always worn on the wrist of the non-dominant limb according to the manufacturer’s guidelines [42].
Next, the participants were placed in a cage for exercises in the standing position (Figure 2). After securing the subject in the system, he or she performed 3 consecutive exercises with different degrees of difficulty depending on the muscles activated:
  • Exercise number 1 consisted in performing consecutive anterior and posterior pelvic tilt for 60 s at the frequency of one sequence (anterior/posterior) per second,
  • Exercise number 2—the participant was asked to perform the internal rotation of the feet with maximum force for 10 s, during the rotation, each foot was restricted by a beam on the outside,
  • Exercise number 3 consisted in performing successively the external rotation of the feet, external rotation of the knees, pelvic anterior tilt, shoulder retraction, and spine elongation. In this position, the participant was asked to remain for 10 s.
The study adopted a declarative approach to the study of emotions. Respondents indicated the emotions they experienced connected with the exercises from among those presented in the questionnaire and what intensity. The questionnaire was in the paper-and-pencil form. Respondents checked the answers immediately after finishing the exercises. The measurement protocol ended with the removal of the E4 wristband.
The Job-related Affective Well-being Scale (JAWS) (short form) was employed in the study to assess emotional reactions caused by physical activity [43]. Since JAWS was originally designed to examine emotions experienced in the working environment, the scale was adapted for the D4S research protocol. The version used in the study consists of 12 items. The items concerned the frequency of particular emotions related to the exercises. A 5-point Likert scale was used (1—never, 5—very often). The reliability of the tool used in the study was calculated using the McDonald’s omega [44]. For the overall result, its value was 0.815, for the subscale of positive emotions −0.850, and for negative emotions −0.71. These results can be considered satisfactory as they exceeded the recommended value of 0.70 [45].
The advantage of JAWS is that the measurement directly concerns the experienced momentary feelings and does not refer to the general beliefs of the participant or his or her attitudes towards a particular activity. Furthermore, the assessment made by the participant is contextual and concerns only the conditions he or she is in at the moment.

4. Data Analysis

The data collected from psychological tests were analysed independently of the EDA measurements by independent experts, i.e., a clinical psychologist and a signal processing specialist. The results were compared in the final phase of analyses (Figure 3).

4.1. EDA Signal Preprocessing

The first step in processing the EDA signal was to divide it into time segments based on time markers marked each time on E4 devices at the beginning of a given activity according to individual stages of the research protocol (Figure 3). For each part of the signal (Figure 4), the following statistical indices were determined: mean, standard deviation, median, variance, 25th and 75th percentiles, quartile deviation, minimum and maximum values during a specific activity, the fourth and fifth-order moments, skewness, kurtosis, root mean square error, total sum, entropy, coefficient of the slope of the regression line allowing to determine the trend-signal tonicity, coefficients of the regression line shift, distance from the values for individual EDA samples from the regression line, number of signal intersections with the regression line. These indices have been emphasised in the literature as important for EDA signal analysis [27,34,46,47,48,49,50].
To denoise the signal, wavelet transform filtration was performed using Symlet wavelet [51], with the maximum level of decomposition set according to Equation (1), and the estimation to obtain a minimum efficiency for mean square error compared to the ideal situation (Figure 5).
l e v e l = l o g 2 n l o g 2 n < 10 10 l o g 2 n > 10
The most important set of features for the EDA signal is based on the galvanic skin response (GSR), which is defined as a change in skin electrical resistance as a response to a momentary emotional stimulation, increasing the activity of the sympathetic nervous system [52]. Occurrences of GSR, a sudden change in the EDA signal, is mathematically defined by the local maximum (with a value greater than 0) in the derivative of the phasic component [53] of the signal.
Based on the results, we estimated the following features: rpm—meaning the number of GSRs per minute, the number and energy of GSRs, and the number and energy of significant GSRs (values above 1.5 uS).

4.2. Psychological Test Analysis

The results were calculated using two methods [54]. The first method consisted in summing the results for all JAWS questionnaire items after recording the statements about negative emotions. The second method was based on the sum of points for the dimensions of positive emotions (JAWS_pos) and negative emotions (JAWS_neg). The higher the score in the JAWS test, the higher the intensity of emotions experienced during the task performed. The higher the value of the sum for positive emotions, the greater the frequency of positive emotions experienced during the exercises. Similarly, the higher the score in the subsum of negative emotions, the higher the frequency of experiencing negative emotions during the test.

4.3. Data Classification

As mentioned before, the research protocol consisted of three different activities. Each step presented below was performed independently, for each stage of the test.

4.3.1. Features Reduction

The features were reduced by using the coefficient of variation (CV) in order to initially determine the most important parameters of the EDA signal [55]. It reflects the degree of variation in the distribution of features and measures the part of the mean value of a feature that is represented by standard deviation. Higher values of this measure mean higher variability of the feature. Unlike standard deviation, the coefficient of variation is a relative measure and is calculated according to the following equation:
C V = σ x ¯
where: σ —standard deviation of the sample, and x ¯ —arithmetic mean of the sample.
Based on the estimated CV values, the features that showed variability below 50%, i.e., the number of GSR responses per minute (rpm), the number of significant GSRs and their energy, and the number of signal intersections with the regression line were rejected (Figure 6).
Because of the high number of available indicators, we decided to reduce the features again based on the value of the WCSS (Within-Cluster-Sum-of-Squares) parameter calculated according to Formula (3), as a sum of the squared difference between the central value of a given cluster ( Y i ) and the X i observation—the next value of a given variable for all patients [56]. The WCSS value was calculated assuming the existence of two classes in the data set.
W C S S = ( X i Y i ) 2
This method was used to determine WCSS for each variable independently for fragments of signals from individual exercises and for the entire signal collected (Exercises 1–3). The threshold was selected based on the histogram analysis of the obtained results (Figure 7).
Sets of features for particular activities were used for the classification of the participants: Numbered lists can be added as follows:
  • Exercise 1—standard deviation, coefficient of the slope of the regression line, number of GSRs, value of the total signal sum,
  • Exercise 2—standard deviation, quartile deviation, coefficient of the slope of the regression line, GSR energy, minimum value of the signal, the 4th and 5th order moment, skewness, root of the mean square error, entropy,
  • Exercise 3—standard deviation, quartile deviation, coefficient of the slope of the regression line, number and energy of GSR, a minimum value of the signal, 4th and 5th order moment, skewness, kurtosis, the root of the mean square error, entropy, and energy of signal.

4.3.2. Data Clustering

The data set prepared using this method was subjected to machine learning in several unsupervised learning variants. Due to the specific nature of psychological data, the data obtained from the EDA signal and the JAWS survey were divided into two classes each time.
The first method of data division was an agglomerative hierarchical cluster tree [57] using different metrics of the distance between pairs of observation: Euclidean, Spearman’s rank correlation coefficient, and the correlation calculated as the difference between the maximum correlation and the value of the local correlation between two consecutive points. The clustering algorithm formed data clusters based on similarities between observations. During the first iteration, each observation formed a single-element cluster, and in the next step, the two clusters closest to each other were merged, thus creating an agglomeration. In this type of clustering, the algorithm moved up the hierarchy until it divided the data into the required number of clusters (Figure 8).
In the group of non-hierarchical methods, we used the k-means algorithm [58]. The method modifies the belonging of individual observations to classes until the variability within each group is optimised: the intraclass variability should be minimised whereas the interclass variability should be maximised.
The same clustering methods were applied to both the estimated features of the EDA signal and psychological data (general JAWS, JAWS_pos, JAWS_neg). While clustering, different approaches were tested. Each time, the results obtained from the clustering algorithm for the data collected from the JAWS questionnaire were used as reference values (Table 1).

4.3.3. Clustering Optimisation

Two approaches to optimise the classifiers were proposed: feature space transformation using PCA, and feature space reduction by the contextual division of the feature set into groups and checking the quality of classification for each set independently.
Partial component analysis (PCA) is an operation of feature space transformation into a new space based on a linear combination of input features [59]. The transformation is based on the analysis of the main components of the input space and is used to reduce the number of variables and maximise their variability. The number of components in the new feature space is less or equal to the number of initial variables. Using PCA, the input data were converted to a new feature space while maintaining the number of variables.
The second optimisation approach was a contextual approach for signal features. Three sets of EDA signal features were selected (from the previously indicated):
  • Statistical set: standard deviation, quartile deviation, skewness, kurtosis, coefficient of the slope of the regression line,
  • Signal set: number of GSRs, energy of GSR, minimum, total sum,
  • Error set: 4th order moment, 5th order moment, rms, entropy.

4.4. Psychological Data Compliance

In order to verify the classification of the psychological data, the results of the k-means classifier were compared with the division made by an independent expert psychologist in terms of generally experienced emotions (JAWS), positive emotions (JAWS_pos), and negative emotions (JAWS_neg).

5. Results

5.1. Psychological Test

The following table (Table 2) presents the results of the JAWS test in terms of general evaluation of emotions, positive emotions, and negative emotions.
The mean for the results in the full version of the test for the entire group was 44.39 (SD = 5.25). Of all the participants, 71% obtained results equal to and higher than the mean for the group, which indicates a high frequency of experiencing both positive and negative emotions. On the scale of positive emotions, the mean for the group was 18.29 (SD = 5.51), whereas for negative emotions, this was 9.90 (SD = 3.51). Positive emotions above the mean for the group were reported by 54% of the participants, whereas 49% of them experienced negative emotions. An increased level of positive emotions is a state indicating high energy and a sense of involvement and pride in the achievements. The reduced level of positive emotions is characterised by uncertainty, discouragement, and sluggishness. An increased score on the subscale of negative emotions indicates a state of distress and experiencing many emotions simultaneously, and is connected with aversive states, i.e., anger, nervousness, and resentment. Low scores in terms of negative emotions are associated with experiencing quiet and positivity in the assessment of the person himself or herself and the surrounding world.

5.2. Data Classification

The results of the subsequent stages of processing are presented below. Each time, the results obtained from the clustering algorithm for the data collected from the JAWS questionnaire for individual emotions were used as reference values.

5.2.1. Feature Reduction

The CV values were varied. Based on the analysis of the histogram, the differential threshold was set at the level of 50% (Figure 6). The estimated WCSS values ranged from 0.02 to 300. Based on the histogram, the threshold was determined for fragments of signals from individual exercises and for the entire signal collected. Of 25 features, thirteen most differentiating were chosen. Table 3 shows the means of values (WCSS) for features of the EDA signal recorded during individual exercises.
The above data were characterised by the greatest variability between individual observations. Each of them showed the WCSS coefficient lower than the threshold. Some differences were observed while analysing the individual values obtained for exercises. During exercises, signal tonicity was characterised by an upward trend, with slight differences between individual stages. However, the mean number of galvanic skin responses changed: it was the greatest during the first exercise (five times higher than for exercise two and three), but their energy was not the highest. This means that at this stage of the test GSRs were frequent but not very strong. Positive results of the kurtosis coefficient for all stages of the study indicate concentration of results around the mean value. The value of entropy was calculated according to Shannon’s definition as the smallest average amount of information needed to encode an event with a given probability [60]. The highest value was again obtained for the first exercise.

5.2.2. Clustering and Optimisation

The results of patient clustering based on physiological and psychological data collected from JAWS questionnaire were compared both with and without the use of a PCA algorithm.
Table 4 shows the percentage accuracy of clustering (ACC) using individual methods of EDA features compared to JAWS results, using the approach of a general assessment of emotions. Each time, the results obtained from the classification algorithm for the data collected from the JAWS questionnaire were used as reference values.
It can be observed based on the calculations that each time the PCA transformation was used, it improved the accuracy of the classifier. The best results for all three exercises were obtained using the k-means classifier, both with and without PCA. This classifier turned out to be most accurate for Exercise 3.
Based on the above results, the basic characteristics, i.e., sensitivity ( T P R , True Positive Rate) and specificity ( T N R , True Negative Rate) were calculated for the most accurate classifier (k-means) according to the following equations:
T P R = T r u e   p o s i t i v e T r u e   p o s i t i v e + F a l s e   n e g a t i v e
T N R = T r u e   n e g a t i v e T r u e   n e g a t i v e + F a l s e   p o s i t i v e
True Positive values refer to observations classified as positive by the classifier based on JAWS and EDA coefficients. False Negative means positive observations that are classified as negative. Furthermore, True Negative refers to the samples classified in both cases as a negative class, whereas False Positive means negative samples but classified as a positive class. The table below (Table 5) presents the sensitivity and specificity of the k-means classifier during different stages of the test.
The k-means classifier for the data from Exercise 3 was the most accurate. It is presumed that sensitivity and specificity at the level of 80% may indicate a consistent classification of the majority of observations coming from physiological data compared to psychological data. Therefore, in the following stages of the analysis, we decided to further analyse data only from Activity 3.
As mentioned before, the psychological evaluation of the JAWS test allows for dividing people according to general emotions, but also separately for JAWS_pos and JAWS_neg. So far, the results of the classification have been based on the general evaluation of the psychological questionnaire and EDA signal features. Table 6 below shows the accuracy, sensitivity, and specificity of the k-means classifier compared to an independent evaluation of positive and negative emotions.
The above analysis reveals that the highest accuracy of the classifier occurred for the comparison of participants’ grouping based on EDA signal features with negative emotions.
The accuracy of the classification of physiological data was also verified based on the sets of features, according to the previously proposed division into three sets (Table 7).
Again it was shown that the highest grouping accuracy occurred for the combination of EDA data with JAWS_neg. However, not all the sets of features were characterised by the expected results. The smallest convergence was obtained for a set of statistical parameters. Combined with PCA, characteristic signal parameters (Set 2) and errors (Set 3) allowed for correct classification at an average level of 81.71%.

5.3. Psychological Data Compliance

Table 8 shows the convergence of the division of the participants into two groups by comparison of the k-means classifier for Exercise 3 and the independent evaluation of the psychologist, in terms of emotions experienced (JAWS), and separately for positive emotions (JAWS_pos) and negative emotions (JAWS_neg).
The k-means classifier reached maximum accuracy of classification, with convergence at the level of 78.05% with independent division made by the psychologist in the case of division of participants in terms of negative emotions (JAWS_neg).

6. Discussion

The present study attempted to select a methodology and an optimal set of physiological data that allow for objectivisation of psychological tests to support experts in the effective assessment of the patient’s emotional state during physiotherapeutic procedures.
The presented protocol was based on the acquisition of the electrodermal activity signal and a questionnaire used to evaluate the intensity of JAWS emotions. The advantage of using the psychological test was to obtain information about both negative and positive emotions since optimal coping with stress involves a skilful combination of negative and positive emotions [7].
The set of physiological and psychological data was subjected to a process of machine learning with optimization. During testing of different classification methods, the use of PCA transformation improved each time the accuracy of the classifier. The best results were obtained for the k-means classifier during Exercise 3, without (70.73%) and with PCA (80.49%). Sensitivity and specificity of this classifier were 80.64% and 80%, respectively, which indicates a consistent classification of the majority of observations coming from physiological compared to psychological data. In medical research, sensitivity and specificity are extremely important indicators, especially in the case of screening [61]. In the approach presented here, both sensitivity and specificity are considered important because the subjects are not classified as healthy or ill, but are divided into classes according to the dominant positive or negative emotions experienced during exercises. It was found during the independent evaluation of positive emotions (JAWS_pos) and negative emotions (JAWS_neg) that the highest accuracy of the classifier occurred for the comparison of participants’ grouping based on EDA signal coefficients with negative emotions (80.48%). In the contextual division of the feature set, the classifier was again most precise for negative emotions combined with the signal parameter set (78.05%) and error parameter set (85.37%). The results are consistent with behavioural and physiological studies, because a person experiences negative emotions more strongly than positive ones, and therefore it is easier to correlate EDA features with JAWS_neg [34]. Comparison of the accuracy of the k-means classification with the independent division made by a psychologist revealed again the best results for negative emotions (78.05%). This is not the result that was expected to be obtained, as the high emotionality of the participants makes interpretation difficult. Furthermore, the advantage of the mean value in terms of positive emotions over negative emotions may indicate that the negative effect was unimportant for the exercise. The critical positivity ratio (the Losada ratio), which did not exceed the indicated level of 2.9 and amounted to 1.8, does not mean that the emotions experienced lead to expanding resources, i.e., development and increasing awareness.
To the best of our knowledge, no studies have examined the patient’s emotional state during rehabilitation. Studies in the literature have reported only related methods of emotional analysis using external devices and machine learning algorithms. In their study, TaheriNejad et al. also studied emotions by recording physiological signals using an Empatica E4 device [33]. A very important difference should be emphasised: in the quoted paper, emotions were fully controlled by the presentation of videos dedicated to evoking specific feelings rather than spontaneous reactions to the stimuli, and subsequent psychological analysis, as in the case of the protocol presented in this study. The paper by Liu et al. proposed a method of recognising emotions, which was also based on machine learning using Support Vector Machine and EDA signal [34]. They obtained 83.57% accuracy on learning data and 66.67% on test data, which shows comparable accuracy of classification (85.37%). However, emotions were again assessed in a subjective manner, and therefore the study lacked reference to the actual feelings experienced by the participants. Gjoreski et al. used an emotion detection algorithm based on short-term psychological stress and obtained the detection accuracy of 70% for stress events at 95% accuracy [27].
All the above reports lead to the conclusion that the use of EDA signal features to analyse emotions and support psychological evaluation is fully justified. The presented literature reports the results of the classification of patient’s emotions based only on the assessment of events by other people (most often patients watched videos), who assessed that a given situation may cause a given emotion. Unfortunately, this approach is often wrong, because every person experiences different situations differently and it is impossible to assess the feelings independently. Therefore, in the approach used in the present paper, physiological data were compared with psychological data derived directly from the patient, and, based on the classification, the results were obtained at an equally high level of accuracy.

7. Summary

Based on the above analysis, the set of analytical parameters that can be proposed for future research represents a group of coefficients of various types of signal errors. It provides satisfactory results both in the approach of a general analysis of emotions and in the division into positive and negative emotions. Based on the analysis and literature review, negative emotions are more important from the standpoint of the therapy, because such people may be less involved, be more problematic, and unwilling to cooperate with the therapist. Correlation of physiological data with psychological sources will be under further investigation of our research.

Author Contributions

P.R.-K., M.D.-W., D.K. and A.P.; methodology, P.R.-K., M.D.-W., D.K. and A.P.; investigation, P.R.-K., M.D.-W. and A.P.; writing—original draft preparation, P.R.-K., M.D.-W. and A.P.; writing—review and editing, P.R.-K., M.D.-W., A.P., D.K., A.W.M., A.P.M. and E.P. All authors have read and agreed to the published version of the manuscript.

Funding

The study was realised within the project “DISC4SPINE dynamic individual stimulation and control for spine and posture interactive rehabilitation” (grant no. POIR.04.01.02-00-0082/17-00). Sensors 20 06343 i001

Conflicts of Interest

The author declares no conflict of interest.

Ethical Statements

All subjects gave their informed consent for inclusion before they participated in the study. The study was conducted in accordance with the Declaration of Helsinki, and the protocol was approved by the Bioethics Committee of the Jerzy Kukuczka Academy of Physical Education in Katowice (No. 3/2019).

References

  1. Adam, K.; Peters, S.; Chipchase, L. Knowledge, skills and professional behaviours required by occupational therapist and physiotherapist beginning practitioners in work-related practice: A systematic review. Aust. Occup. Ther. J. 2013, 60, 76–84. [Google Scholar] [CrossRef] [PubMed]
  2. Dyer, T.A.; Owens, J.; Robinson, P.G. The acceptability of healthcare: From satisfaction to trust. Community Dent. Health 2016, 33, 242–251. [Google Scholar] [PubMed]
  3. Jensen, M.P.; Turner, J.A.; Romano, J.M. Changes in beliefs, catastrophizing, and coping are associated with improvement in multidisciplinary pain treatment. J. Consult. Clin. Psychol. 2001, 69, 655–662. [Google Scholar] [CrossRef] [PubMed]
  4. Lazarus, R.S.; Folkman, S. Stress, Appraisal, and Coping; Springer Publishing Company: New York, NY, USA, 1984; pp. 150–153. [Google Scholar]
  5. Pinto, G.; Carvalho, J.M.; Barros, F.; Soares, S.C.; Pinho, A.J.; Brás, S. Multimodal Emotion Evaluation: A Physiological Model for Cost-Effective Emotion Classification. Sensors 2020, 20, 3510. [Google Scholar] [CrossRef]
  6. Salovey, P.; Rothman, A.J.; Detweiler, J.B.; Steward, W.T. Emotional states and physical health. Am. Psychol. 2000, 55, 110–121. [Google Scholar] [CrossRef]
  7. Folkman, S.; Moskowitz, J.T. Stress, positive emotion, and coping. Curr. Dir. Psychol. Sci. 2000, 9, 115–118. [Google Scholar] [CrossRef]
  8. Nourbakhsh, N.; Chen, F.; Wang, Y.; Calvo, R.A. Detecting users’ cognitive load by galvanic skin response with affective interference. ACM Trans. Interact. Intell. Syst. 2017, 7, 1–20. [Google Scholar] [CrossRef] [Green Version]
  9. Folkman, S. Positive psychological states and coping with severe stress. Soc. Sci. Med. 1997, 45, 1207–1221. [Google Scholar] [CrossRef]
  10. Kiecolt-Glaser, J.K.; McGuire, L.; Robles, T.F.; Glaser, R. Emotions, morbidity, and mortality: New perspectives from psychoneuroimmunology. Annu. Rev. Psychol. 2002, 53, 83–107. [Google Scholar] [CrossRef] [Green Version]
  11. Epel, E.S.; McEwen, B.S.; Ickovics, J.R. Embodying psychological thriving: Physical thriving in response to stress. J. Soc. Issues 1998, 54, 301–322. [Google Scholar] [CrossRef]
  12. Fredrickson, B.L.; Mancuso, R.A.; Branigan, C.; Tugade, M.M. The undoing effect of positive emotions. Motiv. Emot. 2000, 24, 237–258. [Google Scholar] [CrossRef] [PubMed]
  13. Fredrickson, B.L. The role of positive emotions in positive psychology. The broaden-and-build theory of positive emotions. Am. Psychol. 2001, 56, 218–226. [Google Scholar] [CrossRef] [PubMed]
  14. Lazarus, R.S. Progress on a cognitive-motivational-relational theory of emotion. Am. Psychol. 1991, 46, 819. [Google Scholar] [CrossRef]
  15. Ito, T.A.; Larsen, J.T.; Smith, N.K.; Cacioppo, J.T. Negative information weighs more heavily on the brain: The negativity bias in evaluative categorizations. J. Personal. Soc. Psychol. 1998, 75, 887–900. [Google Scholar] [CrossRef]
  16. Fredrickson, B.L.; Losada, M.F. Positive affect and the complex dynamics of human flourishing. Am. Psychol. 2005, 60, 678. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Van Yperen, N.W.; Hagedoorn, M. Do high job demands increase intrinsic motivation or fatigue or both? The role of job control and job social support. Acad. Manag. J. 2003, 46, 339–348. [Google Scholar]
  18. Ekman, P.; Levenson, R.W.; Friesen, W.V. Autonomic nervous system activity distinguishes among emotions. Science 1983, 221, 1208–1210. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Poh, M.Z.; Swenson, N.C.; Picard, R.W. A wearable sensor for unobtrusive, long-term assessment of electrodermal activity. IEEE Trans. Biomed. Eng. 2010, 57, 1243–1252. [Google Scholar] [PubMed] [Green Version]
  20. Brancaccio, G.; Russo, T. Anatomy and Physiology of Sweat Glands. In Hyperhidrosis; Springer: Cham, Switzerland, 2016; pp. 1–5. [Google Scholar]
  21. Asahina, M.; Suzuki, A.; Mori, M.; Kanesaka, T.; Hattori, T. Emotional sweating response in a patient with bilateral amygdala damage. Int. J. Psychophysiol. 2003, 47, 87–93. [Google Scholar] [CrossRef]
  22. Posada-Quintero, H.F.; Chon, K.H. Innovations in Electrodermal Activity Data Collection and Signal Processing: A Systematic Review. Sensors 2020, 20, 479. [Google Scholar] [CrossRef] [Green Version]
  23. Visnovcova, Z.; Calkovska, A.; Tonhajzerova, I. Heart rate variability and electrodermal activity as noninvasive indices of sympathovagal balance in response to stress. Acta Medica Martiniana 2013, 13, 5–13. [Google Scholar] [CrossRef]
  24. Hovsepian, K.; Al’Absi, M.; Ertin, E.; Kamarck, T.; Nakajima, M.; Kumar, S. Stress: Towards a Gold Standard for Continuous Stress Assessment in the Mobile Environment. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing, Osaka, Japan, 7–11 September 2015; pp. 493–504. [Google Scholar]
  25. Sarker, H.; Tyburski, M.; Rahman, M.M.; Hovsepian, K.; Sharmin, M.; Epstein, D.H.; Preston, K.L.; Furr-Holden, C.D.; Milam, A.; Nahum-Shani, I.; et al. Finding Significant Stress Episodes in a Discontinuous Time Series of Rapidly Varying Mobile Sensor Data. In Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems, San Jose, CA, USA, 7–12 May 2016; pp. 4489–4501. [Google Scholar]
  26. Samadiani, N.; Huang, G.; Cai, B.; Luo, W.; Chi, C.H.; Xiang, Y.; He, J. A Review on Automatic Facial Expression Recognition Systems Assisted by Multimodal Sensor Data. Sensors 2019, 19, 1863. [Google Scholar] [CrossRef] [Green Version]
  27. Gjoreski, M.; Luštrek, M.; Gams, M.; Gjoreski, H. Monitoring stress with a wrist device using context. J. Biomed. Inform. 2017, 73, 159–170. [Google Scholar] [CrossRef]
  28. Kalimeri, K.; Saitis, C. Exploring multimodal biosignal features for stress detection during indoor mobility. In Proceedings of the 18th ACM International Conference on Multimodal Interaction, Tokyo Japan, 12–16 October 2016; pp. 53–60. [Google Scholar]
  29. Setz, C.; Arnrich, B.; Schumm, J.; La Marca, R.; Tröster, G.; Ehlert, U. Discriminating stress from cognitive load using a wearable EDA device. IEEE Trans. Inf. Technol. Biomed. 2009, 14, 410–417. [Google Scholar] [CrossRef]
  30. Shi, Y.; Ruiz, N.; Taib, R.; Choi, E.; Chen, F. Galvanic skin response (GSR) as an index of cognitive load. In CHI’07 Extended Abstracts on Human Factors in Computing Systemsm; Association for Computing Machinery: New York, NY, USA, 2007; pp. 2651–2656. [Google Scholar]
  31. Ikehara, C.S.; Crosby, M.E. Assessing cognitive load with physiological sensors. In Proceedings of the 38th Annual Hawaii International Conference on System Sciences, Big Island, HI, USA, 6 January 2005; p. 295a. [Google Scholar]
  32. Visnovcova, Z.; Bona Olexova, L.; Sekaninova, N.; Ondrejka, I.; Hrtanek, I.; Cesnekova, D.; Kelcikova, S.; Farsky, I.; Tonhajzerova, I. Spectral and Nonlinear Analysis of Electrodermal Activity in Adolescent Anorexia Nervosa. Appl. Sci. 2020, 10, 4514. [Google Scholar] [CrossRef]
  33. TaheriNejad, N.; Pollreisz, D. Assessment of physiological signals during happiness, sadness, pain or anger. In Proceedings of the International Conference on Wireless Mobile Communication and Healthcare, Milan, Italy, 14 November 2016; pp. 107–114. [Google Scholar]
  34. Liu, M.; Fan, D.; Zhang, X.; Gong, X. Human emotion recognition based on galvanic skin response signal feature selection and svm. In Proceedings of the 2016 International Conference on Smart City and Systems Engineering (ICSCSE), Hunan, China, 25–26 November 2016; pp. 157–160. [Google Scholar]
  35. Nakasone, A.; Prendinger, H.; Ishizuka, M. Emotion recognition from electromyography and skin conductance. In Proceedings of the 5th International Workshop on Biosignal Interpretation, Tokyo, Japan, 6–8 September 2005; pp. 219–222. [Google Scholar]
  36. Feng, H.; Golshan, H.M.; Mahoor, M.H. A wavelet-based approach to emotion classification using EDA signals. Expert Syst. Appl. 2018, 112, 77–86. [Google Scholar] [CrossRef]
  37. Szurmik, T.; Bibrowicz, K.; Lipowicz, A.; Mitas, A.W. Methods of Therapy of Scoliosis and Technical Functionalities of DISC4SPINE (D4S) Diagnostic and Therapeutic System. In Information Technology in Biomedicine; Springer: Cham, Switzerland, 2020; pp. 201–212. [Google Scholar]
  38. Bibrowicz, K.; Szurmik, T.; Lipowicz, A.; Mitas, A.W. Application of Original System to Support Specialist Physiotherapy D4S in Correction of Postural Defects as Compared to Other Methods—A Review. In Information Technology in Biomedicine; Springer: Cham, Switzerland, 2020; pp. 187–199. [Google Scholar]
  39. Negrini, S.; Grivas, T.B.; Kotwicki, T.; Maruyama, T.; Rigo, M.; Weiss, H.R. Why do we treat adolescent idiopathic scoliosis? What we want to obtain and to avoid for our patients. SOSORT 2005 Consensus paper. Scoliosis 2006, 1, 4. [Google Scholar] [CrossRef] [Green Version]
  40. Romaniszyn, P.; Kania, D.; Bugdol, M.N.; Pollak, A.; Mitas, A.W. Behavioral and Physiological Profile Analysis While Exercising—Case Study. In Information Technology in Biomedicine; Springer: Cham, Switzerland, 2020; pp. 161–173. [Google Scholar]
  41. Mańka, A.; Romaniszyn, P.; Bugdol, M.N.; Mitas, A.W. Methods for Assessing the Subject’s Multidimensional Psychophysiological State in Terms of Proper Rehabilitation. In Information Technology in Biomedicine; Springer: Cham, Switzerland, 2020; pp. 213–225. [Google Scholar]
  42. E4 Wristband User’s Manual 20150608; Empatica: Milano, Italy, 2015; pp. 5–16. Available online: https://empatica.app.box.com/v/E4-User-Manual (accessed on 1 November 2020).
  43. Van Katwyk, P.T.; Fox, S.; Spector, P.E.; Kelloway, E.K. Using the Job-Related Affective Well-Being Scale (JAWS) to investigate affective responses to work stressors. J. Occup. Health Psychol. 2000, 5, 219–230. [Google Scholar] [CrossRef]
  44. McDonald Roderick, P. Test Theory: A Unified Treatment; Lawrence Erlbaum Associates Publishers: Mahwah, NJ, USA, 1999. [Google Scholar]
  45. Hornowska, E. Testy psychologiczne. In Teoria i praktyka; Wydawnictwo Naukowe Scholar: Warszawa, PL, USA, 2009. [Google Scholar]
  46. Kreibig, S.D. Autonomic nervous system activity in emotion: A review. Biol. Psychol. 2010, 84, 394–421. [Google Scholar] [CrossRef]
  47. Storm, H. Changes in skin conductance as a tool to monitor nociceptive stimulation and pain. Curr. Opin. Anesthesiol. 2008, 21, 796–804. [Google Scholar] [CrossRef]
  48. Nourbakhsh, N.; Wang, Y.; Chen, F.; Calvo, R.A. Using galvanic skin response for cognitive load measurement in arithmetic and reading tasks. In Proceedings of the 24th Australian Computer-Human Interaction Conference, Melbourne, Australia, 26–30 November 2012; pp. 420–423. [Google Scholar]
  49. Ferdinando, H.; Alasaarela, E. Emotion recognition using cvxEDA-based features. J. Telecommun. Electron. Comput. Eng. 2018, 10, 19–23. [Google Scholar]
  50. Bianco, S.; Napoletano, P. Biometric Recognition Using Multimodal Physiological Signals. IEEE Access 2019, 7, 83581–83588. [Google Scholar] [CrossRef]
  51. Nielsen, O.M. Wavelets in Scientific Computing. Ph.D. Thesis, Technical University of Denmark, Lyngby, Denmark, 1998. [Google Scholar]
  52. Boucsein, W. Electrodermal Activity; Springer Science & Business Media: New York, NY, USA, 2012. [Google Scholar]
  53. Greco, A.; Valenza, G.; Lanata, A.; Scilingo, E.P.; Citi, L. cvxEDA: A convex optimization approach to electrodermal activity processing. IEEE Trans. Biomed. Eng. 2015, 63, 797–804. [Google Scholar] [CrossRef] [Green Version]
  54. Job-Related Affective Well-Being Scale, JAWS. Available online: http://shell.cas.usf.edu/~pspector/scales/jawsscor.html (accessed on 1 November 2020).
  55. Odic, D.; Im, H.Y.; Eisinger, R.; Ly, R.; Halberda, J. PsiMLE: A maximum-likelihood estimation approach to estimating psychophysical scaling and variability more reliably, efficiently, and flexibly. Behav. Res. Methods 2016, 48, 445–462. [Google Scholar] [CrossRef]
  56. Duong, K.C.; Vrain, C. Constrained minimum sum of squares clustering by constraint programming. In Proceedings of the International Conference on Principles and Practice of Constraint Programming, Cork, Ireland, 4 September 2015; pp. 557–573. [Google Scholar]
  57. Day, W.H.; Edelsbrunner, H. Efficient algorithms for agglomerative hierarchical clustering methods. J. Classif. 1984, 1, 7–24. [Google Scholar] [CrossRef]
  58. Hartigan, J.A.; Wong, M.A. A K-means clustering algorithm. Applied Statistics. Appl. Stat. 1979, 28, 51. [Google Scholar] [CrossRef]
  59. Ku, W.; Storer, R.H.; Georgakis, C. Disturbance detection and isolation by dynamic principal component analysis. Chemom. Intell. Lab. Syst. 1995, 30, 179–196. [Google Scholar] [CrossRef]
  60. Schreiber, T. Measuring information transfer. Phys. Rev. Lett. 2000, 85, 461. [Google Scholar] [CrossRef] [Green Version]
  61. Trevethan, R. Sensitivity, specificity, and predictive values: Foundations, pliabilities, and pitfalls in research and practice. Front. Public Health 2017, 5, 307. [Google Scholar] [CrossRef]
Figure 1. (a) A prototype of the D4S module for exercises in the standing position with measuring devices and (b) a belt fastened on the patient’s pelvis and a podoscope.
Figure 1. (a) A prototype of the D4S module for exercises in the standing position with measuring devices and (b) a belt fastened on the patient’s pelvis and a podoscope.
Sensors 20 06343 g001
Figure 2. During exercises in the standing position in the D4S module, the head is restrained from two sides to prevent sideways movements; pelvis is restrained by a belt to allow only anterior and posterior tilt.
Figure 2. During exercises in the standing position in the D4S module, the head is restrained from two sides to prevent sideways movements; pelvis is restrained by a belt to allow only anterior and posterior tilt.
Sensors 20 06343 g002
Figure 3. Workflow (grey means the input data, light blue is the preprocessing, dark blue denotes data classification, and yellow is the psychological analysis stage).
Figure 3. Workflow (grey means the input data, light blue is the preprocessing, dark blue denotes data classification, and yellow is the psychological analysis stage).
Sensors 20 06343 g003
Figure 4. Electrodermal Acvitity (EDA) signal with marked time markers indicating the beginning and end of the exercises: analysed time intervals.
Figure 4. Electrodermal Acvitity (EDA) signal with marked time markers indicating the beginning and end of the exercises: analysed time intervals.
Sensors 20 06343 g004
Figure 5. Example of the Electrodermal Activity signal (EDA) with Galvanic Skin Response (GSR).
Figure 5. Example of the Electrodermal Activity signal (EDA) with Galvanic Skin Response (GSR).
Sensors 20 06343 g005
Figure 6. Histogram of coefficient of variation (CV) values.
Figure 6. Histogram of coefficient of variation (CV) values.
Sensors 20 06343 g006
Figure 7. Histogram of Within-Cluster-Sum-of-Squares (WCSS) values.
Figure 7. Histogram of Within-Cluster-Sum-of-Squares (WCSS) values.
Sensors 20 06343 g007
Figure 8. Dendrogram presenting the cluster hierarchy.
Figure 8. Dendrogram presenting the cluster hierarchy.
Sensors 20 06343 g008
Table 1. Distribution of psychological data within clusters.
Table 1. Distribution of psychological data within clusters.
ThresholdRangeCluster 1Cluster 2
JAWS44.512–60Positive
(n = 21)
Negative
(m = 20)
JAWS_pos18.56–30Positive
(n = 19)
Neutral
(m = 22)
JAWS_neg106–30Negative
(n = 15)
Neutral
(m = 26)
Note: n, m—number of cases.
Table 2. Descriptive statistics of psychological data.
Table 2. Descriptive statistics of psychological data.
VariableJAWSJAWS_pozJAWS_neg
Mean44.3918.299.90
Standard deviation5.255.513.51
Median45189
Min3366
Max572721
Possible range12–606–306-30
Note: N = 41. JAWS—global scale, JAWS_pos—scale for positive emotions; JAWS_neg—scale for negative emotions.
Table 3. Mean values of features during activity (by WCSS).
Table 3. Mean values of features during activity (by WCSS).
FeatureExercise 1Exercise 2Exercise 3
Standard deviation0.2320.1030.102
Quartile deviation0.3410.1840.167
Coefficient of the slope of the regression line0.0020.0050.004
Number of GSRs7.6341.6831.341
Energy of GSR3.8984.4824.513
Minimum value3.5104.5634.972
4th order moment1.3480.0440.047
5th order moment2.739 0.004 0.043
Skewness0.3030.2060.129
Kurtosis3.2564.7075.109
Root mean square3.8854.7075.109
Entropy0.9520.4260.502
Table 4. Comparison of the effect of classifiers.
Table 4. Comparison of the effect of classifiers.
Exercise 1Exercise 2Exercise 3
Classifierwithout PCA
[%]
with PCA
[%]
without PCA
[%]
with PCA
[%]
without PCA
[%]
with PCA
[%]
Cluster tree
Euclidean
51.2260.9839.0260.9839.0260.98
Cluster tree
Spearman
31.7136.5951.2251.2258.5441.46
Cluster tree
Correlation
19.5136.5921.9536.5948.2948.78
K-mean41.4668.2968.2970.7370.7380.49
Table 5. Evaluation of the k-means classifier; accuracy (ACC), sensitivity (TPR), and specificity (TNR).
Table 5. Evaluation of the k-means classifier; accuracy (ACC), sensitivity (TPR), and specificity (TNR).
Exercise 1Exercise 2Exercise 3
without PCA
[%]
with PCA
[%]
without PCA
[%]
with PCA
[%]
without PCA
[%]
with PCA
[%]
ACC41.4668.2968.2970.7370.7380.49
TPR80.0096.2988.8970.8370.8380.64
TNR12.5014.2935.7164.7173.3380.00
Table 6. Evaluation of the k-means classifier for separate Job-related Affective Well-being Scale (JAWS) evaluation.
Table 6. Evaluation of the k-means classifier for separate Job-related Affective Well-being Scale (JAWS) evaluation.
Exercise 3 + JAWS_posExercise 3 + JAWS_neg
without PCA
[%]
with PCA
[%]
without PCA
[%]
with PCA
[%]
ACC60.9878.0560.9880.49
TPR75.0092.0078.9595.45
TNR30.7756.2545.4563.13
Table 7. Evaluation of the k-means classifier for individual sets of features.
Table 7. Evaluation of the k-means classifier for individual sets of features.
Feature Set EDA+JAWSEDA+JAWS_posEDA+JAWS_neg
Coefficientwithout
PCA [%]
with PCA
[%]
without
PCA [%]
with PCA
[%]
without
PCA [%]
with PCA
[%]
set 1ACC63.4173.1753.6578.0546.3468.29
TPR78.2691.6757.1484.6248.0091.30
TNR44.4452.9450.0066.6743.7538.89
set 2ACC58.5368.2951.2278.0560.9878.05
TPR76.198470.0088.8964.7181.15
TNR31.5843.7545.1668.5658.3371.43
set 3ACC78.0585.3758.5468.2978.0585.37
TPR96.3095.4566.6777.7891.3088.46
TNR42.8673.6842.1166.6768.7580.00
Table 8. Comparison of the division of the participants according to the classifier and performed by expert psychologist.
Table 8. Comparison of the division of the participants according to the classifier and performed by expert psychologist.
JAWSJAWS_posJAWS_neg
without
PCA [%]
with PCA
[%]
without
PCA [%]
with PCA
[%]
without
PCA [%]
with PCA
[%]
ACC65.8573.1760.9873.1763.4178.05
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Romaniszyn-Kania, P.; Pollak, A.; Danch-Wierzchowska, M.; Kania, D.; Myśliwiec, A.P.; Piętka, E.; Mitas, A.W. Hybrid System of Emotion Evaluation in Physiotherapeutic Procedures. Sensors 2020, 20, 6343. https://doi.org/10.3390/s20216343

AMA Style

Romaniszyn-Kania P, Pollak A, Danch-Wierzchowska M, Kania D, Myśliwiec AP, Piętka E, Mitas AW. Hybrid System of Emotion Evaluation in Physiotherapeutic Procedures. Sensors. 2020; 20(21):6343. https://doi.org/10.3390/s20216343

Chicago/Turabian Style

Romaniszyn-Kania, Patrycja, Anita Pollak, Marta Danch-Wierzchowska, Damian Kania, Andrzej P. Myśliwiec, Ewa Piętka, and Andrzej W. Mitas. 2020. "Hybrid System of Emotion Evaluation in Physiotherapeutic Procedures" Sensors 20, no. 21: 6343. https://doi.org/10.3390/s20216343

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop