Machine Learning for Healthcare Applications. Группа авторов
of 2 types—Discrete, classified as a synchronized response in neural anatomy, physiology & morphological expressions and Dimensional, i.e., they can be represented by a collection of small number of underlying effective dimensions, in other words, vectors in a multidimensional space.
The aim of this paper is to identify excitement, meditation, boredom and frustration from the DEAP emotion dataset by a classification algorithm. The Python language is used including libraries like SciKit Learn Toolbox, SciPy and Keras Library. The DEAP dataset contains physiological readings of 32 participants recorded at a sampling rate of 512 Hz with a “bandpass frequency filter” with a range of 4.0 to 45.0 Hz and eliminated EOG artifacts. Power Spectral Density (PSD), based on Fast Fourier Transform, decomposes the data into 4 distinct frequency ranges, i.e., theta (4–8 Hz), alpha (8–13 Hz), beta (13–30 Hz) and gamma (30–40 Hz) using the avgpower function available in Python’s Signal Processing toolbox. The left hemisphere of brain has more frequently activation with positive valence and the right hemisphere has negative valence.
Emotion estimation on EEG frontal asymmetry:
“Ramirez et al. classified emotional states by computing levels of arousal as prefrontal cortex and valence levels as below”:
“Whenever the arousal was computed as beta to alpha activity ratio in frontal cortex, valence was computed as relative frontal alpha activity in right lobe compared to left lobe as below”:
“A time-frequency transform was used to extract spectral features alpha (8–11 Hz) and beta (12–29 Hz). Lastly Mean absolute error (MAE), Mean squared error (MSE) and Pearson Correlation (Corr) is used.”
By scaling (1–9) into valence & arousal (High & Low) we see that feeling of frustration and excitement triggers as high arousal in a low valence area and high valence area respectively whereas meditation and boredom triggers as low arousal in high valence area and in low valence area respectively.
The DNN classifier has 2,184 units with each hidden layer having 60% of its predecessor’s units. Training was done using roughly 10% of the dataset divided into a train set, validation set and a test set. After setting a dropout of 0.2 for input layer & 0.5 for hidden layers, the model recognized arousal & valence with rates of 73.06% (73.14%), 60.7% (62.33%), and 46.69% (45.32%) for 2, 3, and 5 classes, respectively. The kernel-based classifier was observed to have better accuracy compared to other methods like Naïve Bayes and SVM. The result was a set of 2,184 unique features describing EEG activity during each trial. These extracted features were used to train a DNN classifier & random forest classifier. This was exclusively successful for BCI where datasets are huge.
Emotion monitoring using LVQ and EEG is used to identify emotions for the purpose of medical therapy and rehabilitation purposes. [3] proposes a monitoring system for humane emotions in real time through wavelet and “Learning Vector Quantization”. Training data from 10 trials with 10 subjects, “3 classes and 16 segments (equal to 480 sets of data)” is processed within 10 seconds and classified into 4 frequency bands. These bands then become input for LVQ and sort into excited, relaxed or sad emotions. The alpha waves appear frequently when people are relaxed, beta wave occurs when people think, theta wave occurs when people are under stress, tired or sleepy and delta wave occurs when people are in deep sleep. EEG data is captured using an Emotive Insight wireless EEG on 10 participants. They used wireless EEG electrodes on “AF3”, “T7”, “T8” and “AF4” with a 128 Hz sampling frequency to record at morning, noon and night. 1,280 points are recorded in a set, which occurs every 3 min segmented every 10 s. Each participant is analyzed with excited, relaxed or sad states. Using the “LVQ wavelet transform”, EEG was extracted into the required frequencies. “Discrete wavelet transforms (DWT)” again X(n) signal is described as follows:
Known as wavelet base function. Approximation signal below is a resulted signal generated from convoluted processes of original signal mapping with high pass filter.
Where, x(n) = original signal
g(n) = low pass filter coeff
h(n) = high pass filter coeff
K, n = index 1 = till length of signal
Scale function coefficient (Low pass filter)g0 = 1 − 342, g1 = 3 − 342, g2 = 3 + 3, 342, g3 = 1+342
Wavelet function coefficient (High pass filter)h0 = 1 − 342, h1 = − 3 − 342, h2 = 3 + 3, 342, h3 = − 1 + 342
When each input data with class label is known, a supervised version of vector quantization called “Learning Vector quantization” can be used to obtain the class that depends on the Euclidean distance between reference vectors and weights. Each training data’s class was compared based on:
Following is the series of input identification systems:
“As stated, The LVS algorithm attempted to correct winning weight Wi with minimum D by shifting the input by the following values:
1 If the input xi and wining wi have the same class label, then move them closer together by ΔWi(j) = B(j)(Xij − Wij).
2 If the input xi and wining wi have a different class label, then move them apart together by ΔWi(j) = −B(j)(Xij −Wij).
3 Voronoi vectors/weights wj corresponding to other input regions are left unchanged with Δwi (t) = 0.”
“The parameters used to train the LVQ model has a learning rate of 0.01 to 0.05 with 0.001 of learning rate reduction and the maximum epoch of 10,000.” The learning rate of 0.05 resulted in the highest accuracy. An accuracy of 72% was achieved without extraction, 87% with extraction using a subset of pair symmetric channel called asymmetric wave and 84% accuracy without asymmetric wave. Using LVQ resulted in computation time being under a minute without any loss of accuracy. Generalization of data in LVQ training was relatively faster and more stable than Multilayer Perceptron. 10 seconds of signal data was identified in 0.44 s in each test.
Here 6 different emotional states such as sorrow, fear, happiness, frustration, satisfaction and enjoyment can be classified using different methods by extracting features from EEG signals. Decent accuracy was achieved by extracting appropriate features for emotional states such as discrete wavelet transforms and ANN recognizer system. In Ref. [4] this model, valence emotions range from negative to positive whereas arousal emotions go from calm to excitement. Discrete Wavelength transforms were applied on brain signal to classify different feature sets. The models used here is the 2-dimensional Arousal-Valence model. We invoked stimulus in the participant’s neural signals using IAPS datasets. The IAPS Dataset contains 956 images with each of them projecting all emotional states. The participants of IAPS rated every picture for valence and arousal. 18 electrodes of a 21-electrode headset are used with 10–20 standard system and a sampling rate of 128 Hz. Since every subject’s emotion are different, a self-assessment manikin (SAM) using the 2-dimensional space (arousal/valence) model where each of them having 5 levels of intensity was taken by the subjects