Abstract
In a motor imagery-based brain–computer interface system, an effective classifier is required. However, the effectiveness of classifier is substantially influenced by the individual differences among electroencephalography (EEG) signals and artifacts. Therefore, in this study, we adopted an ensemble method by combining various classifiers, including a fuzzy classifier that can reduce the influence of artifacts, to improve the robustness and accuracy in classification across participants. Nine participants were recruited for the experiment and asked to perform a left- and right-hand motor imagery task. We calculated the classification rates obtained with the linear discriminant analysis (LDA), quadratic discriminant analysis (QDA), Naive Bayes, support vector machine (SVM), and fuzzy twin SVM (FTSVM) classifiers based on the spectral features extracted by an autoregressive (AR) model and the spectral–temporal features extracted by the Morlet wavelet from overlapped 1.024-s EEG segments. The fivefold cross-validation accuracies of the ensemble method for the 1.024-s EEG were 71.39% and 73.06% with the AR- and wavelet-extracted features, respectively. In the comparison of individual classifiers, the Linear-FTSVM method outperformed other individual classifiers. In addition, the ensemble model with the inclusion of FTSVM classifiers performs superior to the ensemble models without using FTSVM classifiers.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Wolpaw, J.R., Birbaumer, N., McFarland, D.J., Pfurtscheller, G., Vaughan, T.M.: Brain-computer interfaces for communication and control. Clin. Neurophysiol. 113(6), 767–791 (2002). https://doi.org/10.1016/s1388-2457(02)00057-3
Langhorne, P., Coupar, F., Pollock, A.: Motor recovery after stroke: A systematic review. Lancet Neurol. 8(8), 741–754 (2009). https://doi.org/10.1016/S1474-4422(09)70150-4
Takalo, R., Hytti, H.: Ihalainen, H: Tutorial on univariate autoregressive spectral analysis. J. Clin. Monitor. Comp. 19, 401–410 (2005). https://doi.org/10.1007/s10877-005-7089-x
Hearst, M.A., Dumais, S.T., Osuna, E., Platt, J., Scholkopf, B.: Support vector machines. IEEE Intell. Syst. Appl. 13(4), 18–28 (1998). https://doi.org/10.1109/5254.708428
Huang, H., Wei, X., Zhou, Y.: Twin support vector machines: A survey. Neurocomputing 300(26), 34–43 (2018). https://doi.org/10.1016/j.neucom.2018.01.093
Gao, B.-B., Wang, J.-J., Wang, Y., Yang, C.-Y.: Coordinate Descent Fuzzy Twin Support Vector Machine for Classification. 2015 IEEE 14th ICMLA (2015). https://doi.org/10.1109/ICMLA.2015.35
Pfurtscheller, G., Silva, F.H.L.d.: Event-related EEG/MEG synchronization and desynchronization: Basic principles. Clin. Neurophysiol. 110(11), 1842–1857 (1999). https://doi.org/10.1016/S1388-2457(99)00141-8
Tang, Z., Sun, S., Zhang, S., Chen, Y., Li, C., Chen, S.: A brain-machine interface based on ERD/ERS for an upper-limb exoskeleton control. Sensors 16(12), 2050 (2016). https://doi.org/10.3390/s16122050
Jayadeva, Khemchandani, R., Chandra, S.: Twin support vector machines for pattern classification. IEEE Trans. Pattern Anal. Mach. Intell. 29(5), 905–910 (2007). https://doi.org/10.1109/TPAMI.2007.1068
Meng, J., Zhang, S., Bekyo, A., Olsoe, J., Baxter, B., He, B.: Noninvasive electroencephalogram based control of a robotic arm for reach and grasp tasks. Sci Rep 6, 38565 (2016). https://doi.org/10.1038/srep38565
Ng, D.W.-K., Soh, Y.-W., Goh, S.-Y.: Development of an autonomous BCI wheelchair. 2014 IEEE symposium on computational intelligence in brain computer interfaces (2014). https://doi.org/10.1109/CIBCI.2014.7007784
Wriessnegger, S.C., Brunner, C., Müller-Putz, G.R.: Frequency specific cortical dynamics during motor imagery are influenced by prior physical activity. Front. Psychol. 9, 1976 (2018). https://doi.org/10.3389/fpsyg.2018.01976
Kay, S.M.: Fundamentals of statistical signal processing: estimation theory. Prentice Hall, Englewood Cliffs (1993)
Delprat, N., Escudie, B., Guillemain, P., Kronland-Martinet, R., Tchamitchian, P., Torresani, B.: Asymptotic wavelet and Gabor analysis: Extraction of instantaneous frequencies. IEEE Trans. Inf. Theory 38(2), 644–664 (1992). https://doi.org/10.1109/18.119728
Yangcheng Zhang, Jingyu Liu, Jianze Liu, Jun Sheng, Jingwei Lv: EEG recognition of motor imagery based on SVM ensemble. 2018 5th ICSAI (2018). https://doi.org/10.1109/ICSAI.2018.8599464
Luo, J., Gao, X., Zhu, X., Wang, B., Lu, N., Wang, J.: Motor imagery EEG classification based on ensemble support vector learning. Comput. Meth. Programs Biomed. 193, 105464 (2020). https://doi.org/10.1016/j.cmpb.2020.105464
Ali, M.A., Üçüncü, D., Ataş, P.K., Özöğür-Akyüz, S.: Classification of motor imagery task by using novel ensemble pruning approach. IEEE Trans. Fuzzy Syst. 28(1), 85–91 (2020). https://doi.org/10.1109/TFUZZ.2019.2900859
Xu, Q., Zhou, H., Wang, Y., Huang, J.: Fuzzy support vector machine for classification of EEG signals using wavelet-based features. Med. Eng. Phys. 31(7), 858–865 (2009). https://doi.org/10.1016/j.medengphy.2009.04.005
Chen, S.-C., Chen, Y.-J., Zaeni, I.A.E., Wu, C.-M.: A single-channel SSVEP-based BCI with a fuzzy feature threshold algorithm in a maze game. Int. J. Fuzzy Syst. 19, 553–565 (2017). https://doi.org/10.1007/s40815-016-0289-3
Hsu, W.-C., Lin, L.-F., Chou, C.-W., Hsiao, Y.-T., Liu, Y.-H.: EEG classification of imaginary lower limb stepping movements based on fuzzy support vector machine with kernel-induced membership function. Int. J. Fuzzy Syst. 19, 566–579 (2017). https://doi.org/10.1007/s40815-016-0259-9
Theodoridis, S.: Machine learning: a bayesian and optimization perspective. Academic Press, Amsterdam (2015)
Acknowledgements
This work was supported by the Ministry of Science and Technology, Taiwan (MOST106-2221-E-010-016-MY3 and MOST106-2314-B-010-058-MY2) and Ministry of Education, Taiwan (110BRC-B701). We thank all the participants in this study. This manuscript was edited by Wallace Academic Editing.
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix A: Support Vector Machine (SVM)
SVM is based on the principle of finding a maximum margin in the feature space, to find the best hyperplane to separate samples of different categories [4].
Given a training set \({\text{D}} = \left\{ {\left( {x_{1} , y_{1} } \right), \left( {x_{2} , y_{2} } \right), \ldots , \left( {x_{m} , y_{m} } \right)} \right\}, \;{\text{label}}\;y_{i} \; \in \left\{ { - 1, + 1} \right\}\), and the hyperplane is obtained using the training set D, which can be represented as follows:
where w and b denote the normal vector and the bias of the hyperplane, respectively.
In the feature space, the distance from \(x\) to the hyperplane is given by:
If a hyperplane can classify all samples correctly so that the following formula is satisfied:
Therefore, the margin between the two categories can be calculated as
and maximizing the margin is equivalent to minimizing \(\Vert w\Vert\). However, in reality it is rare to encounter a hyperplane that can perfectly separate the two categories. We need to add the slack variables (\({\xi }_{i}\)) to regularize the model and the cost function can be expressed as:
We can balance the looseness of hyperplane classification by adjusting the value of C in (A4).
Appendix B: Fuzzy Support Vector Machine (FSVM)
In the conventional SVM, each sample in the training data has an equal influence in the training process. However, the data usually have attributes of different classes in different proportions. The method used by FSVM is to assign different degree of memberships (\({s}_{i}\)) to samples, thereby adjusting the weight of each sample on slack variables (\({\xi }_{i}\)). As a result, equation (A4) can be rewritten as:
Note that, for the sample on the fuzzy boundary, it has a greater influence on the construction of the classification boundary, and the larger the value of \({s}_{i}\) is assigned to it. For the sample far away from the boundary, the smaller value of \({s}_{i}\) is assigned to it (see Fig. 9).
Appendix C: Twin Support Vector Machines (TSVM)
For binary classification tasks, SVM defines a single classification boundary to classify samples, while TSVM uses two non-parallel decision planes to classify samples (Fig. 10). TSVM defines two decision planes for two categories, and the unknown sample will be classified in the category of the nearest decision plane. In the study of TSVM, Huang et al. [5] described the decision planes for the respectively two categories as follows:
where \({w}_{i}\) and \({b}_{i}\) denote the normal vector and the bias of the corresponding hyperplane, respectively.
In TSVM training, the goal is to minimize the following two objective functions:
and
where \({C}_{1}>0\) and \({C}_{2}>0\) are penalty parameters, \(\xi^{(1)}\) and \(\xi^{(2)}\) are the slack variable, and \({e}_{1}\) and \({e}_{2}\) are the unit row vector with their dimensions equal to sample sizes in the corresponding category.
For the classification of the unknown sample x, prediction can be made by:
Appendix D: Fuzzy Twin Support Vector Machines (FTSVM)
In the process of model training, fuzzy membership can assign different weights to samples. Appropriate design of membership function can reduce the influence of contaminated sample on the generated decision boundary and improve the model robustness. The design of the membership function is based on the average and distribution radius of samples in the feature space. Let the center of the positive class (\({\varphi }_{pcen}\)) and the center of the negative class (\({\varphi }_{ncen}\)) be defined by:
where \(\varphi \left({x}_{i}\right)\) is a transformation that transform from \({x}_{i}\) to the feature space.
In the positive class, the distribution radius of positive class in the feature space is given by:
where \({X}_{+}\) represents the training data set of positive class.
The membership function of the positive class is defined by
where \(\mu\) is a constant between 0 and 1, and \(\delta\) is a constant greater than 0 to avoid numerical divergence.
The objective function for FTSVM, in addition to including the membership function for reducing the artifacts, also includes the term \({\Vert w\Vert }^{2}\) to maximize the margin and is expressed as:
and
Rights and permissions
About this article
Cite this article
Lin, CY., Lu, CF., Lu, HM. et al. Using Fuzzy Classifier in Ensemble Method for Motor Imagery Electroencephalography Classification. Int. J. Fuzzy Syst. 23, 2417–2431 (2021). https://doi.org/10.1007/s40815-021-01108-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40815-021-01108-8