Primary steps in any detection and prediction system are data set acquisition, pre-processing, feature extraction, and classification. The Novel Approach is used at the classification stage. The main objective behind it is the strategy must be applied for the small size of the database as well as there should not be any confusion while selecting features for the feature set.
In the previous studies, different feature selection techniques are used to create a reduced feature set and test the accuracy of the system. It is observed that the computed accuracy varies each time for different feature combinations. Hence this novel method used the voting technique for labeling emotion. It computes emotion class for each feature and finally used the voting technique to label emotion. The emotion class which got maximum votes would be labeled by that emotion. In Table 1, the initial strategy of the proposed method is mentioned.
Table 1
Equipment used:
|
Emotive Epoc 14 channel headset is used.
|
Channels
|
AF3, F7, F3, FC5, T7, P7, O1, O2, P8, T8, FC6, F4, F8, AF4
|
Sampling Frequency
|
128Hz
|
Dataset:
|
Dataset:
[120*[14*(128*recording time in seconds)]
120: Emotion signals
1 to 30 Angry, 31 to 60 Calm, 61 to 90 Happy, 91 to 120 Sad
Dimension of each signal, [14] columns (channels)
[128*recording time in seconds] rows
|
The method used for emotion elicitation
|
Ground truth method
|
Stimulus used
|
Audio, Video, Thoughts
|
Pre-processing
|
Filtering, Independent component analysis
|
Feature Extraction
|
Statistical modeling
|
Features
|
“['Mean', 'STD', 'VAR', 'SKEW', 'Kurtosis', 'IEEG', 'MAV', 'MAV1', 'MAV2','SSI','VEEG','RMS','DASTD','AREG','HA','HM','HC','WL','POWER','
PERODOGRAM1','PERODOGRAM2','ENVOLEPE','PSD']”[2]
|
A. ANNOTATIONS AND TERMINOLOGY:
The key terms and annotations are introduced in this section. They are essential for comprehension. the proposed method. Figure 1 represents a mathematical model which needs to be understood first before going into detail about annotations and terminology.
-
Dependent Variable Set: The dependent Variable Set is the set of output variables. In this case, it is the Emotion Class.
-
Independent Variables Set is the set of input variables. In this case, it is the feature set.
-
Parameters: Referential mean file and Min-Max range.
-
Forcing Function: Uncontrolled Extraneous.
In Fig. 2, the terminology used in the mathematical model is mentioned. The details are mentioned below.
-
The Independent variable set is denoted by EQ. It is the set of Emotional States.
-
EQ1: Angry state, EQ2: Calm State, EQ3: Happy State, EQ4: Sad State
$$EQ=\left\{ EQ1,EQ2,EQ3,EQ4\right\}$$
-
\(EQ1=\{AQ1, AQ2, AQ3\}\) = {Nervous, Angry, Annoying},
-
\(EQ2=\{CQ1, CQ2,CQ3\}\) = { Relaxed, Peaceful, Calm},
-
\(EQ3=\{HQ1, HQ2,HQ3\}\) = {Pleased, Happy, Excited}
-
\(EQ4=\{SQ1, SQ2,SQ3\}\) = {Sleepy, Bored, Sad}}.
-
EQ= { {Nervous, Angry, Annoying}, { Relaxed, Peaceful, Calm}, { Pleased, Happy, Excited}, { Sleepy, Bored, Sad}}.\(\)
$$EQ=\{\left\{AQ1, AQ2, AQ3\right\}, \left\{CQ1, CQ2,CQ3\right\}, \left\{HQ1, HQ2,HQ3\right\}, \left\{SQ1, SQ2,SQ3\right\}\}$$
-
EL1 is the set of electrodes.
-
EL1 = {AF3, F7, F3, FC5, T7, P7, O1, O2, P8, T8, FC6, F4, F8, AF4}
-
The dependent variable set is denoted by FS1. It is the feature set.
-
RFMeanofmean is a referential mean file. It is used as a Parameter for the classification of emotion in 4 main types Angry, calm, happy, and sad.
Angry Mean = {Am1………………………..A24}
Calm Mean = {Cm1…………………………C24}
Happy Mean = {Hm1……………………….Hm24}
Sad Mean = {Sm1……………………………Sm24}
-
Min-MaxRangefile is a range of Angry, Calm, Happy, and Sad emotions. It is used as a parameter for the classification of emotion in 12 subtypes.
-
Forcing Function:
"In this scenario, participants were experiencing a quick shift in sentiment or difficulties in categorising the emotion during the Signal Collection stage. It is very difficult to get the signal at an intense emotional arousal state. Un- Even the shape of the skull of subjects is also responsible for variations in recordings.”[2]
B. REFERENTIAL MEAN FILE:
Step1: 24 features are extracted from 120 emotional signals. A feature set file of [120*24] dimension is created.
Step2: Mean of Angry, Calm, Happy, and Sad is computed for each feature.
-
Angry Mean = {Am1………………………..A24}
-
Calm Mean = {Cm1…………………………C24}
-
Happy Mean = {Hm1……………………….Hm24}
-
Sad Mean = {Sm1……………………………Sm24}
A mean of a mean file of [4*24] dimension is created. Where each row represents the mean of the mean of Angry, Calm, Happy, and Sad Emotions for each feature. Table 2 represents the mean of the mean file of 24 features of Angry, Calm, Happy, and Sad emotions.
Table 2
|
Angry
|
Calm
|
Happy
|
Sad
|
Mean
|
-5.89E-19
|
-4.45E-19
|
5.31E-19
|
-4.07E-19
|
STDDEv
|
0.163943
|
0.166845
|
0.146946
|
0.143131
|
VAR
|
0.030517
|
0.030052
|
0.024944
|
0.024471
|
Skew
|
0.259426
|
0.702313
|
0.569911
|
1.23472
|
Kurtosis
|
24.89917
|
10.22524
|
30.1283
|
31.99606
|
IEEG
|
836.3248
|
842.7331
|
575.7628
|
687.0578
|
MAV
|
1.29E-05
|
1.95E-05
|
1.73E-05
|
1.23E-05
|
MAV1
|
0.058442
|
0.062112
|
0.044852
|
0.049922
|
MAV2
|
1638.734
|
1629.98
|
1101.094
|
1362.672
|
SSI
|
247.0576
|
212.9055
|
157.6071
|
182.2315
|
VEEG
|
0.030517
|
0.030052
|
0.024944
|
0.024471
|
RMS
|
0.163933
|
0.16683
|
0.146933
|
0.143122
|
DASTD
|
0.00109
|
0.001248
|
0.000995
|
0.000488
|
AREG_PXX
|
0.837401
|
0.631482
|
0.642969
|
0.887735
|
HA
|
0.030517
|
0.030052
|
0.024944
|
0.024471
|
HM
|
0.132829
|
0.127513
|
0.130701
|
0.129529
|
HC
|
1.281373
|
1.321213
|
1.307146
|
1.288851
|
WL
|
0.056774
|
0.061703
|
0.039255
|
0.014373
|
Bandpower
|
0.030513
|
0.030046
|
0.02494
|
0.024468
|
Peridogram1
|
0.001396
|
0.001511
|
0.001078
|
0.000898
|
Peridogram2
|
150.0333
|
129.9333
|
125.3
|
142.6333
|
Envlope
|
-15.2272
|
-12.0899
|
-13.7224
|
-17.6222
|
Hilbert
|
1.31E-07
|
1.17E-06
|
3.24E-07
|
9.54E-07
|
PSD
|
3.05E-05
|
3.15E-05
|
1.95E-05
|
1.84E-05
|
C. MIN MAX RANGE FILE
Figure 3 represents the emotion classification wheel. It shows emotion classification in different emotion types depending on the intensity of the emotion. High to Low – Positive to negative for angry, calm, happy, and sad emotions. This wheel is used to label emotion subtypes by using MIN MAX Range.
MIN to MAX[Angry],MIN to MAX [Calm],MIN to MAX[Happy]and MIN to MAX [SAD]
In Table 3 MIN MAX range of each emotion class is mentioned. The calculated feature value of the test signal is matched with this range and emotion is further classified into subtypes
Table 3
MIN MEAN MAX RANGE OF EMOTION
Emotion
|
Angry
|
Calm
|
Happy
|
Sad
|
Sub Emotion
|
Nervous
|
Angry
|
Annoying
|
Relaxed
|
Peaceful
|
Calm
|
Pleased
|
Happy
|
Excited
|
Sleepy
|
Bored
|
Sad
|
Range
|
Min
|
Mean
|
Max
|
Min
|
Mean
|
Max
|
Min
|
Mean
|
Max
|
Min
|
Mean
|
Max
|
Mean
|
-1.18E-17
|
-5.89E-19
|
2.99E-18
|
-1.47E-17
|
-4.45E-19
|
9.23E-18
|
-8.31E-18
|
5.31E-19
|
1.45E-17
|
-5.06E-18
|
-4.07E-19
|
5.00E-18
|
STDDEv
|
6.66E-02
|
1.64E-01
|
3.02E-01
|
1.05E-01
|
1.67E-01
|
3.01E-01
|
5.18E-02
|
1.47E-01
|
2.66E-01
|
4.56E-02
|
1.43E-01
|
3.19E-01
|
VAR
|
4.43E-03
|
3.05E-02
|
9.14E-02
|
1.10E-02
|
3.01E-02
|
9.03E-02
|
2.68E-03
|
2.49E-02
|
7.10E-02
|
2.08E-03
|
2.45E-02
|
1.02E-01
|
Skew
|
-5.34E + 00
|
2.59E-01
|
4.42E + 00
|
-3.80E-01
|
7.02E-01
|
2.70E + 00
|
-1.57E + 00
|
5.70E-01
|
4.43E + 00
|
-3.12E + 00
|
1.23E + 00
|
1.11E + 01
|
Kurtosis
|
3.16E + 00
|
2.49E + 01
|
1.07E + 02
|
4.00E + 00
|
1.02E + 01
|
2.81E + 01
|
4.01E + 00
|
3.01E + 01
|
1.70E + 02
|
3.74E + 00
|
3.20E + 01
|
2.18E + 02
|
IEEG
|
2.39E + 02
|
8.36E + 02
|
1.88E + 03
|
2.21E + 02
|
8.43E + 02
|
2.09E + 03
|
1.62E + 02
|
5.76E + 02
|
1.59E + 03
|
1.84E + 02
|
6.87E + 02
|
1.58E + 03
|
MAV
|
3.25E-06
|
1.29E-05
|
3.04E-05
|
4.24E-06
|
1.95E-05
|
1.14E-04
|
8.82E-07
|
1.73E-05
|
5.71E-05
|
1.93E-06
|
1.23E-05
|
5.66E-05
|
MAV1
|
3.31E-05
|
5.84E-02
|
2.69E-01
|
1.11E-03
|
6.21E-02
|
3.59E-01
|
1.19E-03
|
4.49E-02
|
1.99E-01
|
3.31E-05
|
4.99E-02
|
2.63E-01
|
MAV2
|
3.46E + 02
|
1.64E + 03
|
3.93E + 03
|
4.75E + 02
|
1.63E + 03
|
3.85E + 03
|
2.53E + 02
|
1.10E + 03
|
2.83E + 03
|
2.53E + 02
|
1.36E + 03
|
3.15E + 03
|
SSI
|
3.49E + 01
|
2.47E + 02
|
7.19E + 02
|
4.67E + 01
|
2.13E + 02
|
5.71E + 02
|
3.03E + 01
|
1.58E + 02
|
5.71E + 02
|
1.81E + 01
|
1.82E + 02
|
5.35E + 02
|
VEEG
|
4.43E-03
|
3.05E-02
|
9.14E-02
|
1.10E-02
|
3.01E-02
|
9.03E-02
|
2.68E-03
|
2.49E-02
|
7.10E-02
|
2.08E-03
|
2.45E-02
|
1.02E-01
|
RMS
|
6.66E-02
|
1.64E-01
|
3.02E-01
|
1.05E-01
|
1.67E-01
|
3.01E-01
|
5.18E-02
|
1.47E-01
|
2.66E-01
|
4.56E-02
|
1.43E-01
|
3.19E-01
|
DASTD
|
3.23E-04
|
1.09E-03
|
2.19E-03
|
5.77E-04
|
1.25E-03
|
2.35E-03
|
1.43E-04
|
9.95E-04
|
1.85E-03
|
1.84E-04
|
4.88E-04
|
9.31E-04
|
AREG_PXX
|
7.43E-02
|
8.37E-01
|
2.29E + 00
|
8.51E-02
|
6.31E-01
|
2.36E + 00
|
3.03E-02
|
6.43E-01
|
4.13E + 00
|
9.91E-03
|
8.88E-01
|
7.96E + 00
|
HA
|
4.43E-03
|
3.05E-02
|
9.14E-02
|
1.10E-02
|
3.01E-02
|
9.03E-02
|
2.68E-03
|
2.49E-02
|
7.10E-02
|
2.08E-03
|
2.45E-02
|
1.02E-01
|
HM
|
1.12E-01
|
1.33E-01
|
1.51E-01
|
9.50E-02
|
1.28E-01
|
1.46E-01
|
1.07E-01
|
1.31E-01
|
1.51E-01
|
1.10E-01
|
1.30E-01
|
1.54E-01
|
HC
|
1.19E + 00
|
1.28E + 00
|
1.39E + 00
|
1.20E + 00
|
1.32E + 00
|
1.57E + 00
|
1.21E + 00
|
1.31E + 00
|
1.50E + 00
|
1.17E + 00
|
1.29E + 00
|
1.38E + 00
|
WL
|
1.01E-02
|
5.68E-02
|
1.46E-01
|
1.88E-02
|
6.17E-02
|
1.23E-01
|
9.27E-03
|
3.93E-02
|
7.02E-02
|
8.63E-03
|
1.44E-02
|
1.96E-02
|
Bandpower
|
4.43E-03
|
3.05E-02
|
9.14E-02
|
1.10E-02
|
3.00E-02
|
9.03E-02
|
2.68E-03
|
2.49E-02
|
7.10E-02
|
2.08E-03
|
2.45E-02
|
1.02E-01
|
Peridogram1
|
1.23E-04
|
1.40E-03
|
7.61E-03
|
2.03E-04
|
1.51E-03
|
1.16E-02
|
2.36E-05
|
1.08E-03
|
3.09E-03
|
2.90E-05
|
8.98E-04
|
4.79E-03
|
Peridogram2
|
8.80E + 01
|
1.50E + 02
|
2.64E + 02
|
2.50E + 01
|
1.30E + 02
|
3.80E + 02
|
3.70E + 01
|
1.25E + 02
|
4.61E + 02
|
3.00E + 01
|
1.43E + 02
|
3.24E + 02
|
Envlope
|
-4.26E + 01
|
-1.52E + 01
|
3.04E + 00
|
-3.50E + 01
|
-1.21E + 01
|
9.95E-01
|
-5.72E + 01
|
-1.37E + 01
|
-1.93E + 00
|
-4.64E + 01
|
-1.76E + 01
|
-3.25E + 00
|
Hilbert
|
-1.09E-14
|
1.31E-07
|
2.47E-06
|
-5.37E-15
|
1.17E-06
|
2.01E-05
|
-3.06E-15
|
3.24E-07
|
4.41E-06
|
-8.73E-15
|
9.54E-07
|
9.04E-06
|
PSD
|
2.84E-07
|
3.05E-05
|
2.92E-04
|
8.38E-07
|
3.15E-05
|
3.94E-04
|
1.07E-08
|
1.95E-05
|
8.46E-05
|
7.01E-09
|
1.84E-05
|
2.31E-04
|
D. ALGORITHM
- Classification of emotion in 4 main classes [Angry, Calm, Happy, Sad]
1. Create a Referential mean file of 4*24 dimension.
2. Classification of emotion in 4 classes
a. Test signal is given as an input.
b. Calculate 24 features of the test signal
c. Match value of the first feature of the Test signal with Angrymean, Calmmean, Happymean, and
Sadmean, Calculate the distance between Testmean and referential mean
d. Find out the minimum distance
Tmeanofmean1 = Min( Testmean – Angrymean, Testmean – Calmmean, Testmean – Happymean, Testmean -Sadmean)
If Tmeanofmean1 is near to Angrymean, it will be denoted as Angry emotion
If Tmeanofmean1 is near to Calmmean, it will be denoted as Calm emotion
If Tmeanofmean1 is near to Happymean, it will be denoted as Happy emotion
If Tmeanofmean1 is near to Sadmean, it will be denoted as Sad emotion
e. Label the output emotion of the test signal for the minimum distance emotion class.
f. Repeat the above step for all 24 features and calculate the mean of the mean for all the features.
[Tmeanofmean1, TmeanofSTDEv2, TmeanofVAR3, TmeanofSKEW4, TmeanofKurtosis5, TmeanofIEEG6, TmeanofMAV7, TmeanofMAV18, TmeanofMAV29, TmeanofSSI10, TmeanofVEEG11, TmeanofRMS12, TmeanofDASD13, TmeanofAREG_PXX14, TmeanofHA15, TmeanofHM16, TmeanofHC17, TmeanofWL18, TmeanofBANPOWER19, TmeanofPERODOGRAM20, TmeanofPERODOGRAM21, TmeanofENVOLEPE22, TmeanofHilbert23, TmeanofPSD24]
3. Emotion type is labeled for each feature. A set of 24 emotions of 24 features is being computed as the result of the above steps.
4. Voting is applied to classify emotion for mostly matched emotion types.
Finally, one emotion is detected for the given test signal as a result of the above classification strategy.
{{Nervous, Angry, Annoying}, {Relaxed, Peaceful, Calm}, { Pleased, Happy, Excited}, { Sleepy, Bored, Sad}}.
-
Find out the range of each emotion class. Plot calculated value of feature on the MIN Max Range of main emotion classes. This procedure was repeated for all the features in the feature set. In Fig. 5 MIN MAX Range of Mean Feature is shown.
-
Find out the complete mental state of the test emotion signal based on the votes achieved by each emotion class. In Table 4, the complete mental state analysis of the Sample input signal is shown.