| Literature DB >> 26959029 |
Patricia Batres-Mendoza1, Carlos R Montoro-Sanjose2,3, Erick I Guerra-Hernandez4, Dora L Almanza-Ojeda5, Horacio Rostro-Gonzalez6,7, Rene J Romero-Troncoso8,9, Mario A Ibarra-Manzano10,11.
Abstract
Quaternions can be used as an alternative to model the fundamental patterns of electroencephalographic (EEG) signals in the time domain. Thus, this article presents a new quaternion-based technique known as quaternion-based signal analysis (QSA) to represent EEG signals obtained using a brain-computer interface (BCI) device to detect and interpret cognitive activity. This quaternion-based signal analysis technique can extract features to represent brain activity related to motor imagery accurately in various mental states. Experimental tests in which users where shown visual graphical cues related to left and right movements were used to collect BCI-recorded signals. These signals were then classified using decision trees (DT), support vector machine (SVM) and k-nearest neighbor (KNN) techniques. The quantitative analysis of the classifiers demonstrates that this technique can be used as an alternative in the EEG-signal modeling phase to identify mental states.Entities:
Keywords: brain-computer interface (BCI); electroencephalography (EEG); motor imagery; quaternion-based signal analysis (QSA)
Mesh:
Year: 2016 PMID: 26959029 PMCID: PMC4813911 DOI: 10.3390/s16030336
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Operations using quaternions q and p.
| Operation | Formulae |
|---|---|
| Addition | |
| Multiplication | |
| Scalar product | |
| Conjugate | |
| Norm | |
| Inverse |
Figure 1BCI System: (a) Emotiv Epoc headset; and (b) Emotiv Epoc electrode arrangement.
QSA Method for training and classifying EEG signals.
| Algorithm 1 |
|---|
Inputs: dt, signals, nblocks, pr y(t) ← segments of signals quat ← signals (nblocks) For each yi(t) do q(t) ← quat(t) r(t) ← quat(t-dt) qrot(t) ← nrot (q(t), r(t)) qmod(t) ← ci ← |
| End for
[ [ %rt = %rv = if pr == true then a. R = training(Mt,c) b. pr = false else b. R = classify(Mt) end if return [R,pr] |
Statistical features extracted using quaternions.
| Statistical Features | Equation |
|---|---|
| Mean | |
| Variance | |
| Contrast | |
| Homogeneity | |
| Cluster Shade | = |
| Cluster prominence | = |
Figure 2Block diagram of the overall EEG signal classification strategy.
Figure 3Visual cues with timing scheme.
Signal blocks.
| Block | BCI Channel | |||
|---|---|---|---|---|
| 1 | FC5 | FC6 | P7 | P8 |
| 2 | FC5 | FC6 | T7 | T8 |
| 3 | FC6 | FC5 | P7 | P8 |
| 4 | FC6 | FC5 | T7 | T8 |
| 5 | F3 | F4 | FC5 | FC6 |
| 6 | F3 | F4 | FC5 | FC6 |
| 7 | F4 | F3 | FC5 | FC6 |
| 8 | F4 | F3 | T7 | T8 |
| 9 | T7 | T8 | FC5 | FC6 |
| 10 | T7 | T8 | P7 | P8 |
Figure 4Example of block 1 EEG signals from four channels captured by the Emotiv Epoc device for 5 s.
Figure 5Creating the quaternion using elements of block 1, with FC5 channel as the scalar component and FC6, P7 and P8 as the imaginary components.
Accuracy rate for DT, KNN and SVM classifiers with dt movement.
| Classification Accuracy | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| DT | KNN | SVM | |||||||
| MAX | MEAN | MIN | MAX | MEAN | MIN | MAX | MEAN | MIN | |
| 1 | 0.9572 | 0.8490 | 0.7662 | 0.9440 | 0.8418 | 0.7857 | 0.7815 | 0.7748 | 0.0000 |
| 2 | 0.9551 | 0.8473 | 0.7633 | 0.9490 | 0.8439 | 0.7852 | 0.7843 | 0.7749 | 0.0000 |
| 3 | 0.9471 | 0.8476 | 0.7660 | 0.9474 | 0.8429 | 0.7851 | 0.7837 | 0.7754 | 0.7662 |
| 4 | 0.9507 | 0.8492 | 0.7686 | 0.9487 | 0.8434 | 0.7826 | 0.7828 | 0.7749 | 0.7633 |
| 5 | 0.9516 | 0.8478 | 0.7628 | 0.9468 | 0.8432 | 0.7836 | 0.7822 | 0.7750 | 0.7660 |
| 6 | 0.9468 | 0.8463 | 0.7658 | 0.9457 | 0.8412 | 0.7777 | 0.7809 | 0.7743 | 0.7686 |
| 7 | 0.9534 | 0.8474 | 0.7638 | 0.9484 | 0.8424 | 0.7876 | 0.7836 | 0.7749 | 0.7628 |
| 8 | 0.9495 | 0.8478 | 0.7760 | 0.9473 | 0.8418 | 0.7837 | 0.7820 | 0.7753 | 0.7658 |
| 9 | 0.9504 | 0.8471 | 0.7722 | 0.9499 | 0.8427 | 0.7849 | 0.7855 | 0.7748 | 0.7638 |
| 10 | 0.9568 | 0.8475 | 0.7649 | 0.9490 | 0.8433 | 0.7879 | 0.7828 | 0.7747 | 0.7753 |
Figure 6Graphical representation of accuracy rates: (a) for DT (1), KNN (2) and SVM (3); and (b) accuracy with delta movement.
Best accuracy rates for signal blocks using classifiers DT, KNN and SVM.
| Classifier | Signal Blocks | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
| 0.8519 | 0.8635 | 0.8514 | 0.8520 | 0.8437 | 0.8516 | 0.8485 | 0.8509 | 0.8531 | ||
| 0.8101 | 0.8609 | 0.8418 | 0.8457 | 0.8396 | 0.8451 | 0.8431 | 0.8394 | 0.8490 | ||
| 0.7781 | 0.7770 | 0.7790 | 0.7780 | 0.7774 | 0.7784 | 0.7784 | 0.7784 | 0.7775 | ||
Average accuracy rate for signal blocks using classifiers DT, KNN and SVM.
| Classifier | Signal Blocks | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
| 0.8472 | 0.8575 | 0.8467 | 0.8477 | 0.8398 | 0.8489 | 0.8417 | 0.8463 | 0.8478 | ||
| 0.8370 | 0.8553 | 0.8371 | 0.8408 | 0.8357 | 0.8432 | 0.8363 | 0.8357 | 0.8457 | ||
| 0.7752 | 0.7752 | 0.7760 | 0.7753 | 0.7741 | 0.7741 | 0.7739 | 0.7739 | 0.7754 | 0.7746 | |
Figure 7Graphical representation of accuracy rates for: (a) DT; (b) KNN and (c) SVM for different blocks.
Accuracy rate for 10 subjects using classifiers DT, KNN and SVM (block 1 and dt = 4).
| Classifier | Subjects | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
| 0.9427 | 0.8425 | 0.8324 | 0.8291 | 0.8662 | 0.8672 | 0.8649 | 0.8098 | 0.7632 | 0.8574 | |
| 0.9471 | 0.8313 | 0.7946 | 0.8122 | 0.8534 | 0.8508 | 0.8642 | 0.7875 | 0.7735 | 0.8473 | |
| 0.7625 | 0.7702 | 0.7710 | 0.7797 | 0.7811 | 0.7687 | 0.7818 | 0.7788 | 0.7581 | 0.7831 | |
Figure 8Graphical representation of accuracy rates for block 1 using: (a) DT; (b) KNN and (c) SVM for block 1 and dt = 4.
Comparison of eight performance measures for the three classifiers using signal block 1, for dt = 4. The best performance results are highlighted in bold.
| Performance Measures | DT | KNN | SVM |
|---|---|---|---|
| RT | 0.8362 | 0.7735 | |
| ET | 0.1638 | 0.2265 | |
| S0 | 1 | 1 | |
| S1 | 0.6505 | 0.6344 | |
| S2 | 0.6349 | 0.0938 | |
| Sp0 | 0.6343 | 0.4948 | |
| Sp1 | 0.8964 | 0.7427 | |
| Sp2 | 0.8926 | 0.9638 | |
| A0 | 0.9978 | ||
| A1 | 0.6548 | 0.6317 | |
| A2 | 0.5002 | 0.1404 | |
| FA0 | 0.3402 | 0.3657 | |
| FA1 | 0.0936 | 0.1036 | |
| FA2 | 0.1028 | 0.0362 | |
| PP0 | 3.5360 | 1.9911 | |
| PP1 | 6.6754 | 3.3885 | |
| PP2 | 8.6331 | 8.4926 | |
| NP0 | 0 | 0 | 0 |
| NP1 | 0.3830 | 0.1524 | |
| NP2 | 0.3647 | 0.9343 |