
<!DOCTYPE article
  PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.4 20241031//EN" "JATS-archivearticle1-4-mathml3.dtd">
<article article-type="research-article" xml:lang="en" dtd-version="1.4"><front><journal-meta><journal-id journal-id-type="nlm-ta">Front Neurosci</journal-id><journal-id journal-id-type="pmc-domain-id">670</journal-id><journal-id journal-id-type="pmc-domain">frontneurosci</journal-id><journal-id journal-id-type="publisher-id">Front. Neurosci.</journal-id><journal-title-group><journal-title xml:lang="en">Frontiers in Neuroscience</journal-title></journal-title-group><issn pub-type="ppub">1662-4548</issn><issn pub-type="epub">1662-453X</issn><publisher><publisher-name>Frontiers Media SA</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="pmcid">PMC3314883</article-id><article-id pub-id-type="pmcid-ver">PMC3314883.1</article-id><article-id pub-id-type="pmcaid">3314883</article-id><article-id pub-id-type="pmcaiid">3314883</article-id><article-id pub-id-type="pmid">22479236</article-id><article-id pub-id-type="doi">10.3389/fnins.2012.00039</article-id><article-version article-version-type="pmc-version">1</article-version><article-categories><subj-group subj-group-type="heading"><subject>Neuroscience</subject><subj-group><subject>Methods Article</subject></subj-group></subj-group></article-categories><title-group><article-title>Filter Bank Common Spatial Pattern Algorithm on BCI Competition IV Datasets 2a and 2b</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Ang</surname><given-names initials="KK">Kai Keng</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="author-notes" rid="fn001">*</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chin</surname><given-names initials="ZY">Zheng Yang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wang</surname><given-names initials="C">Chuanchu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Guan</surname><given-names initials="C">Cuntai</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Zhang</surname><given-names initials="H">Haihong</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><sup>1</sup><institution>Institute for Infocomm Research, Agency for Science, Technology and Research (A*STAR)</institution><country>Singapore</country></aff><author-notes><fn fn-type="edited-by"><p>Edited by: Michael Tangermann, Berlin Institute of Technology, Germany</p></fn><fn fn-type="edited-by"><p>Reviewed by: Clemens Brunner, Graz University of Technology, Austria; Robert Leeb, Ecole Polytechnique Fédérale de Lausanne, Switzerland</p></fn><corresp id="fn001">*Correspondence: Kai Keng Ang, Institute for Infocomm Research, Agency for Science, Technology and Research (A*STAR), 1 Fusionopolis Way, #21-01 Connexis 138632, Singapore. e-mail: <email>kkang@i2r.a-star.edu.sg</email></corresp><fn fn-type="other" id="fn002"><p>This article was submitted to Frontiers in Neuroprosthetics, a specialty of Frontiers in Neuroscience.</p></fn></author-notes><pub-date pub-type="epub"><day>29</day><month>3</month><year>2012</year></pub-date><pub-date pub-type="collection"><year>2012</year></pub-date><volume>6</volume><issue-id pub-id-type="pmc-issue-id">204611</issue-id><elocation-id>39</elocation-id><history><date date-type="received"><day>16</day><month>12</month><year>2011</year></date><date date-type="accepted"><day>01</day><month>3</month><year>2012</year></date></history><pub-history><event event-type="pmc-release"><date><day>01</day><month>01</month><year>2012</year></date></event><event event-type="pmc-live"><date><day>04</day><month>04</month><year>2012</year></date></event><event event-type="pmc-last-change"><date iso-8601-date="2024-05-25 21:25:13.010"><day>25</day><month>05</month><year>2024</year></date></event></pub-history><permissions><copyright-statement>Copyright © 2012 Ang, Chin, Wang, Guan and Zhang.</copyright-statement><copyright-year>2012</copyright-year><license xmlns:xlink="http://www.w3.org/1999/xlink" license-type="open-access" xlink:href="http://www.frontiersin.org/licenseagreement"><license-p>This is an open-access article distributed under the terms of the <uri xlink:href="http://creativecommons.org/licenses/by-nc/3.0/">Creative Commons Attribution Non Commercial License</uri>, which permits non-commercial use, distribution, and reproduction in other forums, provided the original authors and source are credited.</license-p></license></permissions><self-uri xmlns:xlink="http://www.w3.org/1999/xlink" content-type="pmc-pdf" xlink:href="fnins-06-00039.pdf"><?pdf-name fnins-06-00039.pdf?><?pdf-size 1311080?><?pdf-md5 e8c271d8ed2a005daebf21b519aba093?><?pdf-image-server-status NEVER_LOAD?><?pdf-cloudpmc-urn urn:app:c82e/3314883/e8c271d8ed2a/fnins-06-00039.pdf?></self-uri><abstract><p>The Common Spatial Pattern (CSP) algorithm is an effective and popular method for classifying 2-class motor imagery electroencephalogram (EEG) data, but its effectiveness depends on the subject-specific frequency band. This paper presents the Filter Bank Common Spatial Pattern (FBCSP) algorithm to optimize the subject-specific frequency band for CSP on Datasets 2a and 2b of the Brain-Computer Interface (BCI) Competition IV. Dataset 2a comprised 4 classes of 22 channels EEG data from 9 subjects, and Dataset 2b comprised 2 classes of 3 bipolar channels EEG data from 9 subjects. Multi-class extensions to FBCSP are also presented to handle the 4-class EEG data in Dataset 2a, namely, Divide-and-Conquer (DC), Pair-Wise (PW), and One-Versus-Rest (OVR) approaches. Two feature selection algorithms are also presented to select discriminative CSP features on Dataset 2b, namely, the Mutual Information-based Best Individual Feature (MIBIF) algorithm, and the Mutual Information-based Rough Set Reduction (MIRSR) algorithm. The single-trial classification accuracies were presented using 10 × 10-fold cross-validations on the training data and session-to-session transfer on the evaluation data from both datasets. Disclosure of the test data labels after the BCI Competition IV showed that the FBCSP algorithm performed relatively the best among the other submitted algorithms and yielded a mean kappa value of 0.569 and 0.600 across all subjects in Datasets 2a and 2b respectively.</p></abstract><kwd-group><kwd>brain-computer interface</kwd><kwd>electroencephalogram</kwd><kwd>mutual information</kwd><kwd>feature selection</kwd><kwd>Bayesian classification</kwd></kwd-group><counts><fig-count count="3"/><table-count count="4"/><equation-count count="25"/><ref-count count="27"/><page-count count="9"/><word-count count="7927"/></counts><custom-meta-group><custom-meta><meta-name>pmc-status-qastatus</meta-name><meta-value>0</meta-value></custom-meta><custom-meta><meta-name>pmc-status-live</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-status-embargo</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-status-released</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-open-access</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-olf</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-manuscript</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-legally-suppressed</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-has-pdf</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-has-supplement</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-pdf-only</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-suppress-copyright</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-is-real-version</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-is-scanned-article</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-preprint</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-in-epmc</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-license-ref</meta-name><meta-value>CC BY-NC</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec><label>1</label><title>Introduction</title><p>The challenge in Motor Imagery-based BCI (MI-BCI), which translates the mental imagination of movement to commands, is the huge inter-subject variability with respect to the characteristics of the brain signals (Blankertz et al., <xref ref-type="bibr" rid="B5">2007</xref>). The Common Spatial Pattern (CSP) algorithm is effective in constructing optimal spatial filters that discriminates 2 classes of electroencephalogram (EEG) measurements in MI-BCI (Blankertz et al., <xref ref-type="bibr" rid="B7">2008b</xref>). For effective use of the CSP algorithm, several parameters have to be specified, namely, the frequency for band-pass filtering of the EEG measurements, the time interval of the EEG measurements taken relative to the stimuli, and the subset of CSP filters to be used (Blankertz et al., <xref ref-type="bibr" rid="B7">2008b</xref>). Typically, general settings such as the frequency band of 7–30 Hz, the time segment starting 1 s after cue, and 2 or 3 subset of CSP filters are used (Blankertz et al., <xref ref-type="bibr" rid="B7">2008b</xref>). However, the performance of the CSP algorithm can be potentially enhanced by subject-specific parameters (Blankertz et al., <xref ref-type="bibr" rid="B5">2007</xref>). Several approaches were proposed to address the issue of selecting optimal temporal frequency band for the CSP algorithm. These include, but not limited to, the Common Spatio-Spectral Pattern (CSSP) which optimizes a simple filter that employed a one time-delayed sample with the CSP algorithm (Lemm et al., <xref ref-type="bibr" rid="B18">2005</xref>); the Common Sparse Spectral-Spatial Pattern (CSSSP) which performs simultaneous optimization of an arbitrary Finite Impulse Response (FIR) filter within the CSP algorithm (Dornhege et al., <xref ref-type="bibr" rid="B12">2006</xref>); and the SPECtrally weighted Common Spatial Pattern (SPEC-CSP) algorithm (Tomioka et al., <xref ref-type="bibr" rid="B25">2006</xref>) which alternately optimizes the temporal filter in the frequency domain and then the spatial filter in an iterative procedure.</p><p>In this paper, the Filter Bank Common Spatial Pattern (FBCSP) algorithm is presented to enhance the performance of the CSP algorithm by performing autonomous selection of discriminative subject-specific frequency range for band-pass filtering of the EEG measurements (Ang et al., <xref ref-type="bibr" rid="B1">2008</xref>). The FBCSP algorithm is only effective in discriminating 2 classes of EEG measurements, but the BCI Competition IV Dataset 2a (Tangermann et al., <xref ref-type="bibr" rid="B24">2012</xref>) comprises 4 classes of EEG measurements of motor imagery on the left hand, right hand, foot, and tongue. Therefore, this paper also presents and investigates 3 approaches of multi-class extension to the FBCSP algorithm on Dataset 2a, namely, Divide-and-Conquer (DC), Pair-Wise (PW), and One-Versus-Rest (OVR). In addition, this paper also investigates the performance of the FBCSP algorithm on Dataset 2b (Leeb et al., <xref ref-type="bibr" rid="B17">2007</xref>) using 2 mutual information-based feature selection algorithms.</p><p>The remainder of this paper is organized as follows. Section <xref ref-type="sec" rid="s2">2</xref> provides a description of the FBCSP algorithm, 3 approaches of multi-class extensions to FBCSP, and 2 mutual information-based feature selection algorithms. Section <xref ref-type="sec" rid="s3">3</xref> describes the experimental studies and results on the training data of the BCI Competition IV Datasets 2a and 2b. Finally, section <xref ref-type="sec" rid="s4">4</xref> concludes this paper with the results on the evaluation data of both datasets from the competition.</p></sec><sec id="s2"><label>2</label><title>Filter Bank Common Spatial Pattern</title><p>The Filter Bank Common Spatial Pattern (FBCSP) algorithm (Ang et al., <xref ref-type="bibr" rid="B1">2008</xref>) is illustrated in Figure <xref ref-type="fig" rid="F1">1</xref>. FBCSP comprises 4 progressive stages of signal processing and machine learning on the EEG data: a filter bank comprising multiple Chebyshev Type II band-pass filters, spatial filtering using the CSP algorithm, CSP feature selection, and classification of selected CSP features. The CSP projection matrix for each filter band, the discriminative CSP features, and the classifier model are computed from training data labeled with the respective motor imagery action. These parameters computed from the training phase are then used to compute the single-trial motor imagery action during the evaluation phase.</p><fig id="F1" position="float" orientation="portrait"><label>Figure 1</label><caption><p><bold>Architecture of the filter bank common spatial pattern (FBCSP) algorithm for the training and evaluation phases</bold>.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="fnins-06-00039-g001.jpg"><?image-name fnins-06-00039-g001.jpg?><?image-size 78909?><?image-md5 6d1e4bc4464ad0ae3ee5b2ec0ba149e1?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 1549?><?image-original-width 2835?><?image-scaled-height 248?><?image-scaled-width 454?><?image-cloudpmc-urn urn:cdn:blobs/c82e/3314883/6d1e4bc4464a/fnins-06-00039-g001.jpg?><?thumb-name fnins-06-00039-g001.gif?><?thumb-size 2610?><?thumb-md5 358ffc619df15ddf17e346ca2d08411d?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 55?><?thumb-scaled-width 100?><?thumb-cloudpmc-urn urn:cdn:blobs/c82e/3314883/358ffc619df1/fnins-06-00039-g001.gif?></graphic></fig><sec><label>2.1</label><title>Band-pass filtering</title><p>The first stage employs a filter bank that decomposes the EEG into multiple frequency pass bands using causal Chebyshev Type II filter. A total of 9 band-pass filters are used, namely, 4–8, 8–12, …, 36–40 Hz. Various configurations of the filter bank are as effective, but these band-pass frequency ranges are used because they yield a stable frequency response and cover the range of 4–40 Hz.</p></sec><sec><label>2.2</label><title>Spatial filtering</title><p>The second stage performs spatial filtering using the CSP algorithm. The CSP algorithm is highly successful in calculating spatial filters for detecting Event-Related Desynchronization/Synchronization (ERD/ERS; Pfurtscheller and Aranibar, <xref ref-type="bibr" rid="B21">1979</xref>; Pfurtscheller and Lopes da Silva, <xref ref-type="bibr" rid="B22">1999</xref>). Each pair of band-pass and spatial filter in the first and second stage performs spatial filtering to EEG measurements that have been band-pass filtered with a specific frequency range. Each pair of band-pass and spatial filter thus computes the CSP features that are specific to the band-pass frequency range. Spatial filtering is performed using the CSP algorithm by linearly transforming the EEG measurements using</p><disp-formula id="E1"><label>(1)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M39" overflow="scroll"><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">Z</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">=</mml:mo><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M1" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> denotes the single-trial EEG measurement from the <italic>b</italic>th band-pass filter of the <italic>i</italic>th trial; <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M2" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">Z</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> denotes <bold>E</bold><italic><sub>b,i</sub></italic> after spatial filtering, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M3" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mi>c</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> denotes the CSP projection matrix; <italic>c</italic> is the number of channels; <italic>t</italic> is the number of EEG samples per channel; and <italic>T</italic> denotes transpose operator.</p><p>The CSP algorithm computes the transformation matrix <bold>W</bold><italic><sub>b</sub></italic> to yield features whose variances are optimal for discriminating 2 classes of EEG measurements (Blankertz et al., <xref ref-type="bibr" rid="B6">2008a</xref>; Ramoser et al., <xref ref-type="bibr" rid="B23">2000</xref>; Müller-Gerking et al., <xref ref-type="bibr" rid="B19">1999</xref>; Fukunaga, <xref ref-type="bibr" rid="B14">1990</xref>) by solving the eigenvalue decomposition problem</p><disp-formula id="E2"><label>(2)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M40" overflow="scroll"><mml:msub><mml:mrow><mml:mi>Σ</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>Σ</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo class="MathClass-bin">+</mml:mo><mml:msub><mml:mrow><mml:mi>Σ</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">D</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where Σ<italic><sub>b,1</sub></italic> and Σ<italic><sub>b,2</sub></italic> are estimates of the covariance matrices of the <italic>b</italic>th band-pass filtered EEG measurements of the respective motor imagery action, <bold>D</bold><italic><sub>b</sub></italic> is the diagonal matrix that contains the eigenvalues of Σ<italic><sub>b,1</sub></italic>. Technically, <bold>W</bold><italic><sub>b</sub></italic> can be computed in MATLAB using the command W = eig(S1, S1 + S2) (Blankertz et al., <xref ref-type="bibr" rid="B7">2008b</xref>) where W, S1, and S2 here represents <bold>W</bold><italic><sub>b</sub></italic>, Σ<italic><sub>b,1</sub></italic>, and Σ<italic><sub>b,2</sub></italic> respectively.</p><p>The spatial filtered signal <bold>Z</bold><italic><sub>b,<italic>i</italic></sub></italic> in equation (<xref ref-type="disp-formula" rid="E1">1</xref>) using <bold>W</bold><italic><sub>b</sub></italic> from equation (<xref ref-type="disp-formula" rid="E2">2</xref>) thus maximizes the differences in the variance of the 2 classes of band-pass filtered EEG measurements. The <italic>m</italic> pairs of CSP features of the <italic>i</italic>th trial for the <italic>b</italic>th band-pass filtered EEG measurements are then given by</p><disp-formula id="E3"><label>(3)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M41" overflow="scroll"><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="qopname">log</mml:mo><mml:mfrac><mml:mrow><mml:mstyle class="text"><mml:mtext>diag</mml:mtext></mml:mstyle><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="qopname">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="qopname">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext>tr</mml:mtext></mml:mstyle><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="qopname">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">E</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="qopname">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M4" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-punc">;</mml:mo></mml:mrow></mml:math></inline-formula>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M5" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">W</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents the first <italic>m</italic> and the last <italic>m</italic> columns of <bold>W</bold><sub>b</sub>; diag(·) returns the diagonal elements of the square matrix; tr[·] returns the sum of the diagonal elements in the square matrix. Note that <italic>m </italic>= 2 is used for Dataset 2a and <italic>m </italic>= 1 is used for Dataset 2b.</p><p>The FBCSP feature vector for the <italic>i</italic>th trial is then formed as follows</p><disp-formula id="E4"><label>(4)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M42" overflow="scroll"><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:mo class="MathClass-op">…</mml:mo><mml:mo class="MathClass-punc">,</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>9</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M6" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">×</mml:mo><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mn>9</mml:mn></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">*</mml:mo></mml:mrow></mml:msup><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo class="MathClass-punc">,</mml:mo></mml:mrow></mml:math></inline-formula>
<italic>i </italic>= 1, 2, …, <italic>n</italic>; <italic>n</italic> denotes the total number of trials in the data.</p><p>The training data that comprised the extracted feature data and the true class labels are denoted as</p><disp-formula id="E5"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M43" overflow="scroll"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd class="eqnarray-1"><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none none none none none none none none none" equalcolumns="false" class="array"><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:mo class="MathClass-op">⋮</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"/></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:mtd><mml:mtd class="eqnarray-2"/><mml:mtd class="eqnarray-3"/><mml:mtd class="eqnarray-4"><mml:mtext class="eqnarray">(5)</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula><disp-formula id="E6"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M44" overflow="scroll"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd class="eqnarray-1"><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none none none none none none none none none" equalcolumns="false" class="array"><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:mo class="MathClass-op">⋮</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="array" columnalign="center"/></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:mtd><mml:mtd class="eqnarray-2"/><mml:mtd class="eqnarray-3"/><mml:mtd class="eqnarray-4"><mml:mtext class="eqnarray">(6)</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula><p>respectively to make a distinction from the evaluation data, where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M7" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">×</mml:mo><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mn>9</mml:mn></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">*</mml:mo></mml:mrow></mml:msup><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo class="MathClass-punc">;</mml:mo></mml:mrow></mml:math></inline-formula>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M8" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">×</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo class="MathClass-punc">;</mml:mo></mml:mrow></mml:math></inline-formula>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M9" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">v</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">;</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M10" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> denote the feature vector and true class label from the <italic>i</italic>th training trial, <italic>i </italic>= 1, 2, …, <italic>n<sub>t</sub></italic>; and <italic>n<sub>t</sub></italic> denotes the total number of trials in the training data.</p></sec><sec><label>2.3</label><title>Feature selection</title><p>The third stage employs a feature selection algorithm to select discriminative CSP features from <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M11" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> from equation (<xref ref-type="disp-formula" rid="E5">5</xref>) for the subject’s task. Various feature selection algorithms can be used, but the Mutual Information-based Best Individual Feature (MIBIF) and the Mutual Information-based Rough Set Reduction (MIRSR) algorithm are employed during the competition. During cross-validation, the input data is split randomly into training data and validation data. These 2 algorithms performs feature selection only on the training data by selecting the discriminative CSP features based on the mutual information computed between each feature and the corresponding motor imagery classes. These 2 algorithms are described in the following subsections.</p><sec><label>2.3.1</label><title>Mutual information-based best individual feature algorithm</title><p>The <italic>Mutual Information-based Best Individual Feature</italic> (MIBIF) algorithm (Ang and Quek, <xref ref-type="bibr" rid="B3">2006</xref>; Jain et al., <xref ref-type="bibr" rid="B16">2000</xref>) is based on the filter approach. The mutual information of each feature is computed and sorted in descending order. The first <italic>k</italic> features are then selected. The MIBIF algorithm is described as follows:</p><list list-type="bullet"><list-item><p>Step 1: Initialization. Initialize set of features <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M12" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-punc">,</mml:mo><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-punc">,</mml:mo><mml:mo class="MathClass-op">…</mml:mo><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mn>9</mml:mn></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">*</mml:mo></mml:mrow></mml:msup><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> from equation (<xref ref-type="disp-formula" rid="E5">5</xref>) and set of true labels <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M13" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">C</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> from equation (<xref ref-type="disp-formula" rid="E6">6</xref>) whereby <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M14" overflow="scroll"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the <italic>j</italic>th column vector of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M15" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, and the true label of each trial <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M16" overflow="scroll"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></inline-formula></p><p>Initialize set of selected features <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M17" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">S</mml:mi></mml:mrow></mml:math></inline-formula> = ∅.</p></list-item><list-item><p>Step 2: Compute the mutual information of each feature <bold>f</bold><italic><sub>j</sub> </italic>∈ <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M18" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">F</mml:mi></mml:mrow></mml:math></inline-formula> with each class label <italic>ω </italic>= {1, 2} ∈ <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M19" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">C</mml:mi></mml:mrow></mml:math></inline-formula></p><p>Compute <italic>I</italic> (<bold>f</bold><italic><sub>j</sub></italic>; <italic>ω</italic>)∀<italic>j </italic>= 1, 2, …(9 <sub>*</sub> 2<italic>m</italic>) using</p><p><disp-formula id="E7"><label>(7)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M45" overflow="scroll"><mml:mi>I</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">;</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-bin">-</mml:mo><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M20" overflow="scroll"><mml:mrow><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-bin">-</mml:mo><mml:msubsup><mml:mrow><mml:mo class="MathClass-op">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mspace width="0.3em" class="thinspace"/><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mo class="qopname">log</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">;</mml:mo></mml:mrow></mml:math></inline-formula> and the conditional entropy is</p><p><disp-formula id="E8"><label>(8)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M46" overflow="scroll"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd class="eqnarray-1"><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mtd><mml:mtd class="eqnarray-2"><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-bin">-</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mo class="qopname">log</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mtd><mml:mtd class="eqnarray-3"/><mml:mtd class="eqnarray-4"><mml:mtext class="eqnarray"/></mml:mtd></mml:mtr><mml:mtr><mml:mtd class="eqnarray-1"/><mml:mtd class="eqnarray-2"><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-bin">-</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mo class="qopname">log</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:mtd><mml:mtd class="eqnarray-3"/></mml:mtr></mml:mtable></mml:math></disp-formula></p><p>where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M21" overflow="scroll"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>is the feature value of the <italic>i</italic>th trial from <bold>f</bold><sub><italic>j</italic></sub>.</p><p>The probability <italic>p</italic>(<italic>ω</italic> | <italic>f<sub>j,i</sub></italic>) can be computed using Bayes rule given in equations (9) and (10).</p><p><disp-formula id="E9"><label>(9)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M47" overflow="scroll"><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mfrac><mml:mrow><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>where <italic>p</italic>(<italic>ω</italic> | <italic>f<sub>j,i</sub></italic>) is the conditional probability of class <italic>ω</italic> given <italic>f<sub>j,i</sub></italic>; <italic>p</italic>(<italic>f<sub>j,i</sub></italic> | <italic>ω</italic>) is the conditional probability of <italic>f<sub>j,i</sub></italic> given class <italic>ω</italic>; <italic>P</italic>(<italic>ω</italic>) is the prior probability of class <italic>ω</italic>; and <italic>p</italic>(<italic>f<sub>j,i</sub></italic>) is</p><p><disp-formula id="E10"><label>(10)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M48" overflow="scroll"><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">.</mml:mo></mml:math></disp-formula></p><p>The conditional probability <italic>p</italic>(<italic>f<sub>j,i</sub></italic> | <italic>ω</italic>) can be estimated using Parzen Window (Parzen, <xref ref-type="bibr" rid="B20">1962</xref>) given by</p><p><disp-formula id="E11"><label>(11)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M49" overflow="scroll"><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo class="MathClass-op">^</mml:mo></mml:mover><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:munder class="msub"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo class="MathClass-rel">∈</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mi>ϕ</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">-</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>where <italic>n<sub>ω</sub></italic> is the number of data samples belonging to class <italic>ω</italic>; <italic>I<sub>ω</sub></italic> is the set of indices of the training data trials belonging to class <italic>ω</italic>; <italic>f<sub>j,k</sub></italic> is the feature value of the <italic>k</italic>th trial from <bold>f</bold><italic><sub>j</sub></italic> and <italic>Φ</italic> is a smoothing kernel function with a smoothing parameter <italic>h</italic> given in equations (20) and (21) respectively.</p></list-item><list-item><p>Step 3: Sort all the features in descending order of mutual information computed in step 2 and select the first <italic>k</italic> features. Mathematically, this step is performed as follows till |<italic>S</italic>| = <italic>k</italic></p><p><disp-formula id="E12"><label>(12)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M50" overflow="scroll"><mml:mi mathvariant="script">F</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo class="MathClass-bin">\</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:mi mathvariant="bold-script">S</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mi mathvariant="bold-script">S</mml:mi><mml:mo class="MathClass-bin">∪</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>I</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">;</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo class="MathClass-op">max</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-punc">.</mml:mo><mml:mo class="MathClass-punc">.</mml:mo><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msup><mml:mrow><mml:mn>9</mml:mn></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">*</mml:mo></mml:mrow></mml:msup><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo><mml:mspace width="0.3em" class="thinspace"/><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">∈</mml:mo><mml:mi mathvariant="bold-script">F</mml:mi></mml:mrow></mml:munder><mml:mspace width="0.3em" class="thinspace"/><mml:mi>I</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">;</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>where \ denotes set theoretic difference; ∪ denotes set union; and | denotes given the condition.</p></list-item></list><p>Based on the study in (Ang et al., <xref ref-type="bibr" rid="B1">2008</xref>), <italic>k </italic>= 4 is used. Note that since the CSP features are paired, the corresponding pair of features is also included if it is not selected. After performing feature selection on <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M23" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-punc">,</mml:mo></mml:mrow></mml:math></inline-formula> the feature selected training data is denoted as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M24" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">X</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mspace width="0.3em" class="thinspace"/><mml:mi>n</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> where <italic>d</italic> ranges from 4 to 8. <italic>d </italic>= 4 if all 4 features selected are from 2 pairs of CSP features. <italic>d </italic>= 8 if all 4 features selected are from 4 pairs of CSP features, since their corresponding pair is included.</p></sec><sec><label>2.3.2</label><title>Mutual information-based rough set theory algorithm</title><p>The <italic>Mutual Information-based Rough Set Reduction</italic> (MIRSR) algorithm is based on the wrapper approach for the Rough set-based Neuro-Fuzzy System (RNFS). It employs the mutual information to select attributes with high relevance and the concept of knowledge reduction in rough set theory to select attributes with low redundancy (Ang and Quek, <xref ref-type="bibr" rid="B3">2006</xref>). The MIRSR algorithm is described as follows:</p><list list-type="bullet"><list-item><p>Step 1: Generation of fuzzy membership functions. Initialize set of features <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M25" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-punc">,</mml:mo><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-punc">,</mml:mo><mml:mo class="MathClass-op">…</mml:mo><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mn>9</mml:mn></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">*</mml:mo></mml:mrow></mml:msup><mml:mn>2</mml:mn><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> from equation (<xref ref-type="disp-formula" rid="E5">5</xref>) and set of true labels <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M26" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">C</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">y</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> from equation (<xref ref-type="disp-formula" rid="E6">6</xref>) whereby <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M27" overflow="scroll"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the <italic>j</italic>th column vector of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M28" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-punc">,</mml:mo></mml:mrow></mml:math></inline-formula> and the true label of each trial <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M29" overflow="scroll"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></inline-formula> Generate fuzzy membership functions of feature <bold>f</bold><italic><sub>j</sub></italic> using the Supervised Pseudo Self-Evolving Cerebellar (SPSEC) algorithm (Ang and Quek, <xref ref-type="bibr" rid="B4">2012</xref>) for <italic>j </italic>= 1, 2,…, (9 <sub>*</sub> 2<italic>m</italic>).</p></list-item><list-item><p>Step 2: Compute the mutual information of each feature <bold>f</bold><italic><sub>j</sub> </italic>∈ <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M30" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">F</mml:mi></mml:mrow></mml:math></inline-formula> with each class label <italic>ω </italic>= {1, 2} ∈ <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M31" overflow="scroll"><mml:mrow><mml:mi mathvariant="script">C</mml:mi></mml:mrow></mml:math></inline-formula></p><p>Given <bold>f</bold><italic><sub>j</sub> </italic>= [<italic>x</italic><sub>1,<italic>j</italic></sub>,…<italic>x<sub>i,j</sub></italic>,…<italic>x<sub>n,j</sub></italic>] for <italic>n</italic> trials in the training data, perform classification of each <italic>x<sub>i,j</sub></italic> using the membership functions generated.</p><p>Estimate <italic>p</italic>(<italic>ω</italic> | <bold>f</bold><italic><sub>j</sub></italic>) from the number of correct classifications for class <italic>ω</italic> using the membership functions generated.</p><p>Compute <italic>I</italic> (<bold>f</bold><italic><sub>j</sub></italic>; <italic>ω</italic>)∀<italic>j </italic>= 1, 2,…(9 <sub>*</sub> 2<italic>m</italic>) using</p><p><disp-formula id="E13"><label>(13)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M51" overflow="scroll"><mml:mi>I</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-punc">;</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-bin">-</mml:mo><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>where</p><p><disp-formula id="E14"><label>(14)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M52" overflow="scroll"><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-bin">-</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mo>log</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula></p><p>and the conditional entropy is</p><p><disp-formula id="E15"><label>(15)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M53" overflow="scroll"><mml:mi>H</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="MathClass-bin">-</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mrow><mml:mo>log</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:msub><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">f</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">.</mml:mo></mml:math></disp-formula></p></list-item><list-item><p>Step 3: Select best <italic>k</italic> features. Sort all the features in descending order of mutual information computed in step 2 and select the first <italic>k </italic>= 2log<sub>2</sub> (9 <sub>*</sub> 2<italic>m</italic>) features.</p></list-item><list-item><p>Step 4: Remove redundant features. Remove membership functions that are not selected from step 3 and perform reduction using step 2 of the Rough Set Pseudo Outer-Product (RSPOP) algorithm (Ang and Quek, <xref ref-type="bibr" rid="B2">2005</xref>). Similar to the MIBIF algorithm, after performing feature selection on <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M32" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">V</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-punc">,</mml:mo></mml:mrow></mml:math></inline-formula> the feature selected training data is denoted as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M33" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">X</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">∈</mml:mo><mml:msup><mml:mrow><mml:mi>ℝ</mml:mi></mml:mrow><mml:mrow><mml:mspace width="0.3em" class="thinspace"/><mml:mi>n</mml:mi><mml:mo class="MathClass-bin">×</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-punc">,</mml:mo></mml:mrow></mml:math></inline-formula> and the corresponding pairs of CSP features are selected.</p></list-item></list></sec></sec><sec><label>2.4</label><title>Classification</title><p>The 4th stage employs a classification algorithm to model and classify the selected CSP features. Various classification algorithms can be used, but the study in (Ang et al., <xref ref-type="bibr" rid="B1">2008</xref>) showed that FBCSP that employed the Naïve Bayesian Parzen Window (NBPW) classifier (Ang and Quek, <xref ref-type="bibr" rid="B3">2006</xref>) yielded better results on the BCI Competition III Dataset IVa. Therefore, the following NBPW algorithm is used.</p><p>Given that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M34" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">X</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover><mml:mo class="MathClass-rel">=</mml:mo><mml:mrow><mml:mo class="MathClass-open">[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo class="MathClass-punc">,</mml:mo><mml:mo class="MathClass-op">…</mml:mo><mml:mo class="MathClass-punc">,</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow><mml:mo class="MathClass-op">¯</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">]</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the entire training data of <italic>n</italic> trials, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M35" overflow="scroll"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>…</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the training data with the <italic>d</italic> selected features from the <italic>i</italic>th trial, and <bold>x</bold> = [<italic>x</italic><sub>1</sub>, <italic>x</italic><sub>2</sub>, …<italic>x<sub>d</sub></italic>] denotes a random evaluation trial; the NBPW classifier estimates <italic>p</italic>(<bold>x</bold> | <italic>ω</italic>) and <italic>P</italic>(<italic>ω</italic>) from training data samples and predicts the class <italic>ω</italic> with the highest posterior probability <italic>p</italic>(<italic>ω</italic> | <bold>x</bold>) using Bayes rule</p><disp-formula id="E16"><label>(16)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M54" overflow="scroll"><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mfrac><mml:mrow><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <italic>p</italic>(<italic>ω</italic> | <bold>x</bold>) is the conditional probability of class <italic>ω</italic> given random trial <bold>x</bold>; <italic>p</italic>(<bold>x</bold> | <italic>ω</italic>) is the conditional probability of <bold>x</bold> given class <italic>ω</italic>; <italic>P</italic>(<italic>ω</italic>) is the prior probability of class ω; and <italic>p</italic>(<bold>x</bold>) is</p><disp-formula id="E17"><label>(17)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M55" overflow="scroll"><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mi>P</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">.</mml:mo></mml:math></disp-formula><p>The computation of <italic>p</italic>(<italic>ω</italic> | <bold>x</bold>) is rendered feasible by a naïve assumption that all the features <italic>x</italic><sub>1</sub>, <italic>x</italic><sub>2</sub>,…, <italic>x<sub>d</sub></italic> are conditionally independent given class <italic>ω</italic> in</p><disp-formula id="E18"><label>(18)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M56" overflow="scroll"><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>x</mml:mi></mml:mstyle><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∏</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mi>p</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">.</mml:mo></mml:math></disp-formula><p>The NBPW classifier employs Parzen Window (Parzen, <xref ref-type="bibr" rid="B20">1962</xref>) to estimate the conditional probability <italic>p</italic>(<italic>x<sub>j</sub></italic> | <italic>ω</italic>) in</p><disp-formula id="E19"><label>(19)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M57" overflow="scroll"><mml:mrow><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:mi>ω</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>ω</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>ω</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:mi>φ</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula><p>where <italic>n<sub>ω</sub></italic> is the number of data samples belonging to class ω; <italic>I<sub>ω</sub></italic> is the set of indices of the training data trials belonging to class <italic>ω</italic>; and <italic>Φ</italic> is a smoothing kernel function with a smoothing parameter <italic>h</italic>. The NBPW classifier employs the univariate Gaussian kernel given by</p><disp-formula id="E20"><label>(20)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M58" overflow="scroll"><mml:mi>ϕ</mml:mi><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>y</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>π</mml:mi></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">-</mml:mo><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:mrow></mml:msup><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>and <italic>normal optimal smoothing strategy</italic> (Bowman and Azzalini, <xref ref-type="bibr" rid="B8">1997</xref>) given by</p><disp-formula id="E21"><label>(21)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M59" overflow="scroll"><mml:msup><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi><mml:mi>p</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">=</mml:mo><mml:msup><mml:mrow><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mfrac><mml:mrow><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mn>3</mml:mn><mml:mi>n</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">∕</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup><mml:mi>σ</mml:mi><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <italic>σ</italic> denotes the standard deviation of the distribution of <italic>y</italic>.</p><p>The classification rule of the NBPW classifier is given by</p><disp-formula id="E22"><label>(22)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M60" overflow="scroll"><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>ω</mml:mi><mml:mo>=</mml:mo><mml:mtext>arg max </mml:mtext><mml:mi>p</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>ω</mml:mi><mml:mo>|</mml:mo><mml:mtext>x</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>ω</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula><p>The CSP algorithm was proposed for the binary classification of single-trial EEG (Ramoser et al., <xref ref-type="bibr" rid="B23">2000</xref>), and several multi-class extensions of the CSP algorithm have been proposed (Dornhege et al., <xref ref-type="bibr" rid="B10">2004a</xref>; Dornhege et al., <xref ref-type="bibr" rid="B11">2004b</xref>; Grosse-Wentrup and Buss, <xref ref-type="bibr" rid="B15">2008</xref>). Some examples of multi-class extensions include: using CSP within the classifier, One-Versus-Rest (OVR) and simultaneous diagonalization of covariance matrices from the multi-class data. This section describes the 3 proposed approaches of multi-class extensions to the FBCSP algorithm to address the BCI Competition IV Dataset 2a, namely, Divide-and-Conquer (DC), Pair-Wise (PW), and One-Versus-Rest (OVR).</p></sec><sec><label>2.5</label><title>Divide-and-conquer</title><p>Given that <italic>ω</italic>, <italic>ω</italic>′ ∈ {1, 2, 3, 4} represents the left, right, foot, and tongue motor imagery, the Divide-and-Conquer (DC) approach adopts a tree-based classifier approach (Zhang et al., <xref ref-type="bibr" rid="B27">2007</xref>; Chin et al., <xref ref-type="bibr" rid="B9">2009</xref>). For the 4 classes of motor imagery in the BCI Competition IV Dataset 2a, 4 − 1 = 3 binary classifiers are required. The classification rule of the NBPW classifier is thus extended from equation (<xref ref-type="disp-formula" rid="E22">22</xref>) to</p><disp-formula id="E23"><label>(23)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M61" overflow="scroll"><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mo class="qopname">min</mml:mo><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">arg max</mml:mo></mml:mrow><mml:mrow><mml:mtable class="subarray-c" rowspacing="0" columnalign="center"><mml:mtr><mml:mtd><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>2</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>3</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>4</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>ω</mml:mi></mml:mrow><mml:mrow><mml:mi>′</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">&gt;</mml:mo><mml:mi>ω</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder><mml:mfenced separators="" open="|" close="|"><mml:mrow><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext>DC</mml:mtext></mml:mstyle></mml:mrow></mml:msub><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">&gt;</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msup><mml:mrow><mml:mi>ω</mml:mi></mml:mrow><mml:mrow><mml:mi>′</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">|</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <italic>p</italic><sub>DC</sub>(<italic>ω</italic> | <bold>x</bold>) is the probability of classifying a random trial <bold>x</bold> between class <italic>ω</italic> and class <italic>ω</italic>′; and <italic>p</italic>(<italic>ω</italic>′ | <bold>x</bold>) = 0 if <italic>ω</italic>′ = Ø.</p><p>For example, for the DC classifier where <italic>ω </italic>= 1, <italic>ω</italic>′ = {2, 3, 4}. Hence, class 1 is first discriminated from classes 2, 3, and 4. If the random trial sample is classified as class <italic>ω</italic>, the classification procedure stops. If the random trial sample is classified as class <italic>ω</italic>′, then the decision is deferred to the next DC classifier where <italic>ω </italic>= 2, <italic>ω</italic>′ = {3, 4}. Finally, if the random trial sample is classified as class <italic>ω</italic>′, then the decision is deferred to the last DC classifier where <italic>ω </italic>= 3, <italic>ω</italic>′ = 4.</p></sec><sec><label>2.6</label><title>Pair-wise</title><p>Given that <italic>ω</italic>, <italic>ω</italic>′<italic> </italic>∈<italic> </italic>{1, 2, 3, 4} represents the left, right, foot, and tongue motor imagery, the Pair-Wise (PW) approach computes the CSP features that discriminates every pair of classes (Müller-Gerking et al., <xref ref-type="bibr" rid="B19">1999</xref>; Duda et al., <xref ref-type="bibr" rid="B13">2001</xref>). For the 4 classes of motor imagery in the BCI Competition IV Dataset 2a, 4 <sub>*</sub> (4 − 1)/2 = 6 binary classifiers are required to discriminate between class <italic>ω</italic> and <italic>ω</italic>′. The classification rule of the NBPW classifier is thus extended from equation (<xref ref-type="disp-formula" rid="E22">22</xref>) to a majority voting scheme based on the predicted class labels from the binary classifiers using</p><disp-formula id="E24"><label>(24)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M62" overflow="scroll"><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo class="MathClass-op">arg max</mml:mo></mml:mrow><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>2</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>3</mml:mn><mml:mo class="MathClass-punc">,</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:munder><mml:mspace width="0.3em" class="thinspace"/><mml:mfenced separators="" open="[" close="]"><mml:mrow><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo mathsize="big">∑</mml:mo></mml:mrow><mml:mrow><mml:mtable class="subarray-c" rowspacing="0" columnalign="center"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>ω</mml:mi></mml:mrow><mml:mrow><mml:mi>′</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>ω</mml:mi></mml:mrow><mml:mrow><mml:mi>′</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">≠</mml:mo><mml:mi>ω</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:munderover><mml:mspace width="0.3em" class="thinspace"/><mml:mfenced separators="" open="|" close="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext>PW</mml:mtext></mml:mstyle></mml:mrow></mml:msub><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">|</mml:mo><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow></mml:mfenced><mml:mo class="MathClass-rel">&gt;</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext>PW</mml:mtext></mml:mstyle></mml:mrow></mml:msub><mml:mfenced separators="" open="(" close=")"><mml:mrow><mml:msup><mml:mrow><mml:mi>ω</mml:mi></mml:mrow><mml:mrow><mml:mi>′</mml:mi></mml:mrow></mml:msup><mml:mo class="MathClass-rel">|</mml:mo><mml:mstyle class="text"><mml:mtext class="textbf" mathvariant="bold">x</mml:mtext></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo class="MathClass-punc">,</mml:mo></mml:math></disp-formula><p>where <italic>p</italic><sub>PW</sub>(<italic>ω</italic> | <bold>x</bold>) is the probability of classifying a random trial <bold>x</bold> between class <italic>ω</italic> and class <italic>ω</italic>′; and the absolute operator |·| here returns 1 if it is true and 0 otherwise. In case of a draw in the majority voting scheme, the class label with a smaller <italic>ω</italic> is chosen.</p><p>For example, for the PW classifier where <italic>ω </italic>= 2, <italic>ω</italic>′ = 1, 3, or 4; class 2 is discriminated from classes 1, 3, and 4 using 3 PW classifiers.</p></sec><sec><label>2.7</label><title>One-versus-rest</title><p>Given that <italic>ω</italic>, <italic>ω</italic>′ ∈ {1, 2, 3, 4} represents the left, right, foot, and tongue motor imagery, the OVR approach computes the CSP features that discriminates each class from the rest of the classes (Dornhege et al., <xref ref-type="bibr" rid="B11">2004b</xref>; Duda et al., <xref ref-type="bibr" rid="B13">2001</xref>). For the 4 classes of motor imagery in the BCI Competition IV Dataset 2a, 4 binary classifiers are required. The classification rule of the NBPW classifier is thus extended from equation (<xref ref-type="disp-formula" rid="E22">22</xref>) to</p><disp-formula id="E25"><label>(25)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M63" overflow="scroll"><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>ω</mml:mi><mml:mo>=</mml:mo><mml:mtext>arg max </mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mtext>OVR</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>ω</mml:mi><mml:mo>|</mml:mo><mml:mtext>x</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>ω</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn><mml:mo>,</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula><p>where <italic>p</italic><sub>OVR</sub>(<italic>ω</italic> | <bold>x</bold>) is the probability of classifying a random trial <bold>x</bold> between class <italic>ω</italic> and class <italic>ω</italic>′ = {1, 2, 3, 4}<italic>ω</italic>; and \ denotes the set theoretic difference operation.</p><p>For example, in the OVR classifier where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M37" overflow="scroll"><mml:mrow><mml:mi>ω</mml:mi><mml:mo class="MathClass-rel">=</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:math></inline-formula>, <italic>ω</italic>′ = {1, 3, 4}; class 2 is discriminated from the aggregated classes 1, 3, and 4.</p></sec></sec><sec id="s3"><label>3</label><title>Experimental Results</title><p>The performances of the algorithms were evaluated on BCI Competition IV (Tangermann et al., <xref ref-type="bibr" rid="B24">2012</xref>) Dataset 2a and Dataset 2b. During the competition, only the class labels for the training data were provided while the class labels for the evaluation data were disclosed only after the competition results have been announced. Furthermore, the competition rules stipulated that the algorithms for both datasets should be causal and the predicted labels for each time sample from the onset of the fixation cross to the end of motor imagery should also be submitted. The performances were judged based on the maximum Kappa value achieved on the evaluation data.</p><sec><label>3.1</label><title>Dataset 2a</title><p>BCI Competition IV (Tangermann et al., <xref ref-type="bibr" rid="B24">2012</xref>) Dataset 2a comprised 4 classes of motor imagery EEG measurements from 9 subjects, namely, left hand, right hand, feet, and tongue. Two sessions, one for training and the other for evaluation, were recorded from each subject. Each session comprised 288 trials of data recorded with 22 EEG channels and 3 monopolar electrooculogram (EOG) channels (with left mastoid serving as reference). The performance of the FBCSP algorithm on the 4-class motor imagery data was evaluated by employing the 3 approaches of multi-class extension (DC, PW, and OVR) to FBCSP using the MIBIF feature selection algorithm.</p><sec><label>3.1.1</label><title>Protocol</title><p>Figure <xref ref-type="fig" rid="F2">2</xref> illustrates how the single-trial EEG data were extracted for training the FBCSP algorithm on Dataset 2a. The setting of <italic>m </italic>= 2 pairs of CSP features for the band-pass filtered EEG measurements, and the time segment of 0.5–2.5 s after the onset of the visual cue were used. Figure <xref ref-type="fig" rid="F2">2</xref> also shows that the FBCSP algorithm performed the computation using a 2-s window of EEG data at any point in time, and the classification output of a time sample was computed from the previous 2 s of EEG data to satisfy the causality criterion. To compute the classification output of a single-trial, the EEG data labeled as <italic>test_time_segment</italic> starting from −2 s from the onset of the fixation cross to the end of motor imagery was used. In addition, to account for the transitional effects of the causal filters, an additional 0.5 s of EEG data was extracted on both ends of <italic>test_time_segment</italic>, labeled as <italic>extract_time_segment</italic>. As the computation of every time point of the evaluation data was computationally intensive, the classification output was only computed on every alternate 10th time sample, and a zero-order hold was used to map back to every time sample.</p><fig id="F2" position="float" orientation="portrait"><label>Figure 2</label><caption><p><bold>The illustration on the extraction of a single-trial EEG segment from the training data for the multi-class FBCSP training phase in Dataset 2a, and the generation of the classification outputs using the multi-class extension to FBCSP on the entire time segment of a single-trial for the evaluation phase</bold>.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="fnins-06-00039-g002.jpg"><?image-name fnins-06-00039-g002.jpg?><?image-size 62685?><?image-md5 1a445c11a42dd78dbf16a5b34d606a8f?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 1263?><?image-original-width 2835?><?image-scaled-height 202?><?image-scaled-width 454?><?image-cloudpmc-urn urn:cdn:blobs/c82e/3314883/1a445c11a42d/fnins-06-00039-g002.jpg?><?thumb-name fnins-06-00039-g002.gif?><?thumb-size 2432?><?thumb-md5 73c650914558df4e8f4c63e0bdbbc653?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 45?><?thumb-scaled-width 100?><?thumb-cloudpmc-urn urn:cdn:blobs/c82e/3314883/73c650914558/fnins-06-00039-g002.gif?></graphic></fig></sec><sec><label>3.1.2</label><title>Cross-validation results</title><p>The single-trial classification performances of the 3 approaches of multi-class extensions to the FBCSP algorithm were first investigated on the training data. The performance was evaluated in terms of the mean kappa value using 10 × 10-fold cross-validations. The results on the training data from Dataset 2a are shown in Table <xref ref-type="table" rid="T1">1</xref>.</p><table-wrap id="T1" position="float" orientation="portrait"><label>Table 1</label><caption><p><bold>10 × 10-fold cross-validation performance in terms of maximum kappa value using CSP and the 3 approaches of multi-class extensions to FBCSP on the training data from BCI Competition IV Dataset 2a</bold>.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" rowspan="1" colspan="1">Subjects</th><th align="left" rowspan="1" colspan="1">CSP</th><th colspan="3" align="center" rowspan="1">FBCSP<hr/></th></tr><tr><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1">DC</th><th align="left" rowspan="1" colspan="1">PW</th><th align="left" rowspan="1" colspan="1">OVR</th></tr></thead><tbody><tr><td align="left" rowspan="1" colspan="1">1</td><td align="left" rowspan="1" colspan="1">0.644 ± 0.064</td><td align="left" rowspan="1" colspan="1">0.728 ± 0.012</td><td align="left" rowspan="1" colspan="1">0.778 ± 0.021</td><td align="left" rowspan="1" colspan="1">0.769 ± 0.069</td></tr><tr><td align="left" rowspan="1" colspan="1">2</td><td align="left" rowspan="1" colspan="1">0.423 ± 0.056</td><td align="left" rowspan="1" colspan="1">0.417 ± 0.022</td><td align="left" rowspan="1" colspan="1">0.446 ± 0.031</td><td align="left" rowspan="1" colspan="1">0.475 ± 0.058</td></tr><tr><td align="left" rowspan="1" colspan="1">3</td><td align="left" rowspan="1" colspan="1">0.797 ± 0.070</td><td align="left" rowspan="1" colspan="1">0.805 ± 0.006</td><td align="left" rowspan="1" colspan="1">0.858 ± 0.010</td><td align="left" rowspan="1" colspan="1">0.834 ± 0.071</td></tr><tr><td align="left" rowspan="1" colspan="1">4</td><td align="left" rowspan="1" colspan="1">0.365 ± 0.053</td><td align="left" rowspan="1" colspan="1">0.436 ± 0.013</td><td align="left" rowspan="1" colspan="1">0.469 ± 0.018</td><td align="left" rowspan="1" colspan="1">0.484 ± 0.058</td></tr><tr><td align="left" rowspan="1" colspan="1">5</td><td align="left" rowspan="1" colspan="1">0.215 ± 0.046</td><td align="left" rowspan="1" colspan="1">0.618 ± 0.021</td><td align="left" rowspan="1" colspan="1">0.628 ± 0.023</td><td align="left" rowspan="1" colspan="1">0.601 ± 0.063</td></tr><tr><td align="left" rowspan="1" colspan="1">6</td><td align="left" rowspan="1" colspan="1">0.280 ± 0.049</td><td align="left" rowspan="1" colspan="1">0.309 ± 0.025</td><td align="left" rowspan="1" colspan="1">0.325 ± 0.028</td><td align="left" rowspan="1" colspan="1">0.347 ± 0.053</td></tr><tr><td align="left" rowspan="1" colspan="1">7</td><td align="left" rowspan="1" colspan="1">0.626 ± 0.064</td><td align="left" rowspan="1" colspan="1">0.831 ± 0.016</td><td align="left" rowspan="1" colspan="1">0.852 ± 0.009</td><td align="left" rowspan="1" colspan="1">0.862 ± 0.072</td></tr><tr><td align="left" rowspan="1" colspan="1">8</td><td align="left" rowspan="1" colspan="1">0.774 ± 0.069</td><td align="left" rowspan="1" colspan="1">0.697 ± 0.016</td><td align="left" rowspan="1" colspan="1">0.789 ± 0.021</td><td align="left" rowspan="1" colspan="1">0.807 ± 0.070</td></tr><tr><td align="left" rowspan="1" colspan="1">9</td><td align="left" rowspan="1" colspan="1">0.719 ± 0.067</td><td align="left" rowspan="1" colspan="1">0.680 ± 0.010</td><td align="left" rowspan="1" colspan="1">0.776 ± 0.014</td><td align="left" rowspan="1" colspan="1">0.788 ± 0.069</td></tr><tr><td align="left" rowspan="1" colspan="1">AVG</td><td align="left" rowspan="1" colspan="1">0.538 ± 0.060</td><td align="left" rowspan="1" colspan="1">0.613 ± 0.016</td><td align="left" rowspan="1" colspan="1">0.658 ± 0.020</td><td align="left" rowspan="1" colspan="1">0.663 ± 0.065</td></tr></tbody></table></table-wrap><p>The results showed that the OVR extension to FBCSP yielded the best averaged mean kappa value (0.663). A paired t-test revealed no significant difference between the OVR and PW approaches (<italic>p</italic> = 0.480), and a significant difference between the OVR and DC approaches (<italic>p </italic>= 0.006). The DC approach yielded the worst performance among the 3 approaches of multi-class extensions to FBCSP. This may be due to the fact that the DC approach performed classification on 4 classes of motor imagery by employing only 3 classifiers, which is relatively lesser than the PW and OVR approaches. Furthermore, the classification order in the DC approach could be optimized to yield improved performance. Since there existed 12 possible permutations of the DC classification order, an exhaustive search on the optimal classification order for each subject based on 10 × 10-fold cross-validation results would have been computationally expensive and hence this was not performed. Instead, the order of classification for each subject was determined by ranking each class based on the cross-validation results of classifying against the other classes. The OVR approach yielded the best averaged mean kappa value, and it performed the best in 6 subjects (2, 4, 6, 7, 8, and 9) while the PW approach performed the best in 3 subjects (1, 3, and 5). Furthermore, the OVR approach was less computationally expensive compared to the PW approach as it used 4 classifiers whereas the PW approach used 6 classifiers. Based on these observations, the OVR approach of multi-class extension to the FBCSP algorithm was selected for the submission to the competition.</p><p>For comparative purposes, Table <xref ref-type="table" rid="T1">1</xref> also included the results on the OVR approach of multi-class extension to the CSP algorithm that employed a 7–35 Hz band-pass filter. The results showed that the FBCSP algorithm consistently outperforms the CSP algorithm for all 9 subjects, and a paired t-test revealed significant difference between these 2 algorithms (<italic>p </italic>= 0.012) employing the OVR multi-class extension.</p></sec><sec><label>3.1.3</label><title>Unseen evaluation data results</title><p>The results of the FBCSP algorithm on the evaluation data for BCI Competition IV Dataset 2a are shown in Table <xref ref-type="table" rid="T2">2</xref>.</p><table-wrap id="T2" position="float" orientation="portrait"><label>Table 2</label><caption><p><bold>Classification results from using CSP and the 3 approaches of multi-class extensions to FBCSP algorithm on the unseen evaluation data from BCI Competition IV Dataset 2a</bold>.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" rowspan="1" colspan="1">Subjects</th><th align="left" rowspan="1" colspan="1">CSP</th><th colspan="3" align="center" rowspan="1">FBCSP<hr/></th></tr><tr><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1">DC</th><th align="left" rowspan="1" colspan="1">PW</th><th align="left" rowspan="1" colspan="1">OVR</th></tr></thead><tbody><tr><td align="left" rowspan="1" colspan="1">1</td><td align="left" rowspan="1" colspan="1">0.556</td><td align="left" rowspan="1" colspan="1">0.708</td><td align="left" rowspan="1" colspan="1">0.782</td><td align="left" rowspan="1" colspan="1">0.676</td></tr><tr><td align="left" rowspan="1" colspan="1">2</td><td align="left" rowspan="1" colspan="1">0.310</td><td align="left" rowspan="1" colspan="1">0.370</td><td align="left" rowspan="1" colspan="1">0.407</td><td align="left" rowspan="1" colspan="1">0.417</td></tr><tr><td align="left" rowspan="1" colspan="1">3</td><td align="left" rowspan="1" colspan="1">0.704</td><td align="left" rowspan="1" colspan="1">0.657</td><td align="left" rowspan="1" colspan="1">0.755</td><td align="left" rowspan="1" colspan="1">0.745</td></tr><tr><td align="left" rowspan="1" colspan="1">4</td><td align="left" rowspan="1" colspan="1">0.444</td><td align="left" rowspan="1" colspan="1">0.472</td><td align="left" rowspan="1" colspan="1">0.528</td><td align="left" rowspan="1" colspan="1">0.481</td></tr><tr><td align="left" rowspan="1" colspan="1">5</td><td align="left" rowspan="1" colspan="1">0.222</td><td align="left" rowspan="1" colspan="1">0.407</td><td align="left" rowspan="1" colspan="1">0.417</td><td align="left" rowspan="1" colspan="1">0.398</td></tr><tr><td align="left" rowspan="1" colspan="1">6</td><td align="left" rowspan="1" colspan="1">0.199</td><td align="left" rowspan="1" colspan="1">0.264</td><td align="left" rowspan="1" colspan="1">0.185</td><td align="left" rowspan="1" colspan="1">0.273</td></tr><tr><td align="left" rowspan="1" colspan="1">7</td><td align="left" rowspan="1" colspan="1">0.606</td><td align="left" rowspan="1" colspan="1">0.727</td><td align="left" rowspan="1" colspan="1">0.796</td><td align="left" rowspan="1" colspan="1">0.773</td></tr><tr><td align="left" rowspan="1" colspan="1">8</td><td align="left" rowspan="1" colspan="1">0.759</td><td align="left" rowspan="1" colspan="1">0.579</td><td align="left" rowspan="1" colspan="1">0.741</td><td align="left" rowspan="1" colspan="1">0.755</td></tr><tr><td align="left" rowspan="1" colspan="1">9</td><td align="left" rowspan="1" colspan="1">0.722</td><td align="left" rowspan="1" colspan="1">0.495</td><td align="left" rowspan="1" colspan="1">0.537</td><td align="left" rowspan="1" colspan="1">0.606</td></tr><tr><td align="left" rowspan="1" colspan="1">AVG</td><td align="left" rowspan="1" colspan="1">0.503</td><td align="left" rowspan="1" colspan="1">0.520</td><td align="left" rowspan="1" colspan="1">0.572</td><td align="left" rowspan="1" colspan="1">0.569</td></tr></tbody></table></table-wrap><p>The results showed that the PW extension to FBCSP yielded the best averaged mean kappa value (0.572). A paired t-test revealed no significant difference between the OVR and PW approaches (<italic>p </italic>= 0.898), and no significant difference between the OVR and DC approaches (<italic>p </italic>= 0.055). The DC approach yielded relatively the worst performance among the 3 approaches. The PW approach yielded slightly higher mean kappa value compared to OVR and it performed the best in 5 subjects (1, 3, 4, 5, 7) whereas the OVR approach performed the best in 4 subjects (2, 6, 8, 9). Both the OVR and PW approach yielded a mean kappa value of approximately 0.57 across the 9 subjects, which would achieve the best performance relative to all the other entries submitted to the competition.</p><p>For comparative purposes, Table <xref ref-type="table" rid="T2">2</xref> also included the results of the OVR approach of multi-class extension on the CSP algorithm that employed a 7–35 Hz band-pass filter. A paired t-test revealed no significant difference between the FBCSP algorithm and the CSP algorithm employing the OVR approach of multi-class extensions (<italic>p </italic>= 0.059). Nevertheless, the results showed that the FBCSP algorithm yielded a better mean kappa value and it outperformed the CSP algorithm in 8 of the 9 subjects (except subject 8).</p><p>Comparing the results of Tables <xref ref-type="table" rid="T1">1</xref> and <xref ref-type="table" rid="T2">2</xref>, the results on the evaluation data were consistently lower than the cross-validation results for all 3 approaches. Specifically, the OVR approach of multi-class extension to the FBCSP algorithm yielded lower mean kappa value averaged over all the subjects on the evaluation data (0.569) than the cross-validation results (0.663) in all the 9 subjects.</p></sec></sec><sec><label>3.2</label><title>Dataset 2b</title><p>BCI Competition IV (Tangermann et al., <xref ref-type="bibr" rid="B24">2012</xref>) Dataset 2b comprised 2 classes of motor imagery EEG measurements from 9 subjects, namely, left and right hand based on the experiment protocol in (Leeb et al., <xref ref-type="bibr" rid="B17">2007</xref>). Five sessions were recorded from each subject. Each session comprised EEG data recorded from 3 bipolar recordings (C3, Cz, and C4) and 3 monopolar EOG channels. The training data, which consisted the first 2 sessions and the 3rd session, comprised 240 trials without visual feedback and 160 trials with visual feedback respectively. The evaluation data consisted 2 sessions of EEG data that comprised a total of 320 trials. The performance of the FBCSP algorithm on the 2-class motor imagery data was evaluated by employing FBCSP using the MIBIF and MIRSR feature selection algorithms.</p><sec><label>3.2.1</label><title>Protocol</title><p>Figure <xref ref-type="fig" rid="F3">3</xref> illustrates how the single-trial EEG data were extracted for training the FBCSP algorithm on Dataset 2b. The protocol used was similar to the protocol for Dataset 2a whereby the time segment of 0.5–2.5 s after the onset of the visual cue was used to train the FBCSP algorithm. However, the setting of <italic>m</italic> in Dataset 2b was constrained by the 3 EEG channels available for spatial filtering. Hence, the setting of <italic>m </italic>= 1 pair of CSP features was used.</p><fig id="F3" position="float" orientation="portrait"><label>Figure 3</label><caption><p><bold>The illustration on the extraction of a single-trial EEG segment from the training data for the FBCSP training phase in Dataset 2b, and the generation of the classification outputs using FBCSP on the entire time segment of a single-trial for the evaluation phase</bold>.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="fnins-06-00039-g003.jpg"><?image-name fnins-06-00039-g003.jpg?><?image-size 67022?><?image-md5 0382f1f224648520e25a6c6997409534?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 1309?><?image-original-width 2835?><?image-scaled-height 210?><?image-scaled-width 454?><?image-cloudpmc-urn urn:cdn:blobs/c82e/3314883/0382f1f22464/fnins-06-00039-g003.jpg?><?thumb-name fnins-06-00039-g003.gif?><?thumb-size 2429?><?thumb-md5 c96734c9bd93d8f18ddc3424c0b0d84f?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 46?><?thumb-scaled-width 100?><?thumb-cloudpmc-urn urn:cdn:blobs/c82e/3314883/c96734c9bd93/fnins-06-00039-g003.gif?></graphic></fig></sec><sec><label>3.2.2</label><title>Cross-validation results</title><p>The single-trial classification performances of the FBCSP algorithm using the 2 feature selection algorithms were first investigated on the training data. The performance was evaluated in terms of the mean kappa value using 10 × 10-fold cross-validations and the results of using all the training sessions from Dataset 2b are shown in Table <xref ref-type="table" rid="T3">3</xref>.</p><table-wrap id="T3" position="float" orientation="portrait"><label>Table 3</label><caption><p><bold>10 × 10-fold cross-validation performance in terms of maximum kappa value using the FBCSP algorithm employing the MIBIF and MIRSR feature selection algorithms on all the sessions of the training data, and using CSP and the FBCSP algorithm employing the MIRSR feature selection algorithm on selected sessions of the training data from BCI Competition IV Dataset 2b</bold>.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" rowspan="1" colspan="1">Subject</th><th colspan="2" align="center" rowspan="1">All sessions<hr/></th><th colspan="2" align="center" rowspan="1">Selected sessions&gt;<hr/></th></tr><tr><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1">FBCSP</th><th align="left" rowspan="1" colspan="1">FBCSP</th><th align="left" rowspan="1" colspan="1">CSP</th><th align="left" rowspan="1" colspan="1">FBCSP</th></tr><tr><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1">MIBIF</th><th align="left" rowspan="1" colspan="1">MIRSR</th><th colspan="1" align="left" rowspan="1"/><th align="left" rowspan="1" colspan="1">MIRSR</th></tr></thead><tbody><tr><td align="left" rowspan="1" colspan="1">1</td><td align="left" rowspan="1" colspan="1">0.492 ± 0.012</td><td align="left" rowspan="1" colspan="1">0.546 ± 0.017</td><td align="left" rowspan="1" colspan="1">0.524 ± 0.085</td><td align="left" rowspan="1" colspan="1">0.627 ± 0.014</td></tr><tr><td align="left" rowspan="1" colspan="1">2</td><td align="left" rowspan="1" colspan="1">0.223 ± 0.020</td><td align="left" rowspan="1" colspan="1">0.208 ± 0.028</td><td align="left" rowspan="1" colspan="1">0.190 ± 0.057</td><td align="left" rowspan="1" colspan="1">0.208 ± 0.028</td></tr><tr><td align="left" rowspan="1" colspan="1">3</td><td align="left" rowspan="1" colspan="1">0.223 ± 0.024</td><td align="left" rowspan="1" colspan="1">0.244 ± 0.023</td><td align="left" rowspan="1" colspan="1">0.246 ± 0.061</td><td align="left" rowspan="1" colspan="1">0.244 ± 0.023</td></tr><tr><td align="left" rowspan="1" colspan="1">4</td><td align="left" rowspan="1" colspan="1">0.896 ± 0.003</td><td align="left" rowspan="1" colspan="1">0.888 ± 0.003</td><td align="left" rowspan="1" colspan="1">0.988 ± 0.136</td><td align="left" rowspan="1" colspan="1">0.988 ± 0.000</td></tr><tr><td align="left" rowspan="1" colspan="1">5</td><td align="left" rowspan="1" colspan="1">0.685 ± 0.005</td><td align="left" rowspan="1" colspan="1">0.692 ± 0.005</td><td align="left" rowspan="1" colspan="1">0.759 ± 0.125</td><td align="left" rowspan="1" colspan="1">0.765 ± 0.011</td></tr><tr><td align="left" rowspan="1" colspan="1">6</td><td align="left" rowspan="1" colspan="1">0.491 ± 0.006</td><td align="left" rowspan="1" colspan="1">0.534 ± 0.012</td><td align="left" rowspan="1" colspan="1">0.491 ± 0.111</td><td align="left" rowspan="1" colspan="1">0.650 ± 0.022</td></tr><tr><td align="left" rowspan="1" colspan="1">7</td><td align="left" rowspan="1" colspan="1">0.430 ± 0.015</td><td align="left" rowspan="1" colspan="1">0.409 ± 0.013</td><td align="left" rowspan="1" colspan="1">0.703 ± 0.123</td><td align="left" rowspan="1" colspan="1">0.729 ± 0.010</td></tr><tr><td align="left" rowspan="1" colspan="1">8</td><td align="left" rowspan="1" colspan="1">0.438 ± 0.007</td><td align="left" rowspan="1" colspan="1">0.413 ± 0.013</td><td align="left" rowspan="1" colspan="1">0.758 ± 0.125</td><td align="left" rowspan="1" colspan="1">0.761 ± 0.007</td></tr><tr><td align="left" rowspan="1" colspan="1">9</td><td align="left" rowspan="1" colspan="1">0.558 ± 0.016</td><td align="left" rowspan="1" colspan="1">0.583 ± 0.010</td><td align="left" rowspan="1" colspan="1">0.793 ± 0.127</td><td align="left" rowspan="1" colspan="1">0.764 ± 0.009</td></tr><tr><td align="left" rowspan="1" colspan="1">AVG</td><td align="left" rowspan="1" colspan="1">0.493 ± 0.012</td><td align="left" rowspan="1" colspan="1">0.502 ± 0.014</td><td align="left" rowspan="1" colspan="1">0.605 ± 0.106</td><td align="left" rowspan="1" colspan="1">0.637 ± 0.014</td></tr></tbody></table></table-wrap><p>The results on using all the training sessions showed that the MIRSR feature selection algorithm yielded better averaged mean kappa value (0.502) compared to the use of the MIBIF feature selection algorithm. A paired t-test on the results revealed no significant difference between the MIRSR and MIBIF feature selection algorithms (<italic>p </italic>= 0.369). The results also showed that the MIRSR feature selection algorithm also performed the best in 5 subjects (1, 3, 5, 6, and 9) whereas the use of the MIBIF algorithm performed the best in 4 subjects (2, 4, 7, and 8). Based on these observations, the MIRSR feature selection algorithm was selected for submission to the competition.</p><p>Subsequently, an exhaustive search using 10 × 10-fold cross-validation was carried out to investigate whether the inclusion or exclusion of the first 2 training data sessions would impact the performance of the FBCSP algorithm employing the MIRSR feature selection algorithm. This was because the first 2 training sessions did not involve visual feedback, whereas the 3rd training session involved visual feedback. Based on the exhaustive search, only the 3rd training session was employed to train the FBCSP algorithm for 6 subjects (4, 5, 6, 7, 8, and 9). For subject 1, only the 1st and 3rd training session was employed. For subject 2 and 3, all 3 training sessions were used. The cross-validation results for using the selected sessions are also presented in Table <xref ref-type="table" rid="T3">3</xref>. The selected sessions yielded a higher mean kappa value (0.637) compared to using all the sessions (0.502) and the paired t-test revealed a significant difference between the results obtained using the selected sessions and using all sessions (<italic>p </italic>= 0.012).</p><p>For comparative purposes, Table <xref ref-type="table" rid="T3">3</xref> also included the results of the CSP algorithm employing a 7–35 Hz band-pass filter on the selected sessions. Although the paired t-test revealed no significant difference between the FBCSP algorithm and the CSP algorithm (<italic>p </italic>= 0.151), the results showed that the FBCSP algorithm yielded a better mean kappa value and it outperformed the CSP algorithm in 6 of the 9 subjects (except subjects 3, 4, and 9).</p></sec><sec><label>3.2.3</label><title>Unseen evaluation data results</title><p>The results of the FBCSP algorithm using the selected training sessions on the evaluation data for BCI Competition IV Dataset 2b are shown in Table <xref ref-type="table" rid="T4">4</xref>.</p><table-wrap id="T4" position="float" orientation="portrait"><label>Table 4</label><caption><p><bold>Classification results from using CSP and the FBCSP algorithm on the unseen evaluation data from BCI Competition IV Dataset 2b</bold>.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" rowspan="1" colspan="1">Subjects</th><th align="left" rowspan="1" colspan="1">CSP</th><th colspan="2" align="center" rowspan="1">FBCSP<hr/></th></tr><tr><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1"/><th align="left" rowspan="1" colspan="1">MIBIF</th><th align="left" rowspan="1" colspan="1">MIRSR</th></tr></thead><tbody><tr><td align="left" rowspan="1" colspan="1">1</td><td align="left" rowspan="1" colspan="1">0.319</td><td align="left" rowspan="1" colspan="1">0.356</td><td align="left" rowspan="1" colspan="1">0.400</td></tr><tr><td align="left" rowspan="1" colspan="1">2</td><td align="left" rowspan="1" colspan="1">0.229</td><td align="left" rowspan="1" colspan="1">0.171</td><td align="left" rowspan="1" colspan="1">0.207</td></tr><tr><td align="left" rowspan="1" colspan="1">3</td><td align="left" rowspan="1" colspan="1">0.125</td><td align="left" rowspan="1" colspan="1">0.169</td><td align="left" rowspan="1" colspan="1">0.219</td></tr><tr><td align="left" rowspan="1" colspan="1">4</td><td align="left" rowspan="1" colspan="1">0.925</td><td align="left" rowspan="1" colspan="1">0.963</td><td align="left" rowspan="1" colspan="1">0.950</td></tr><tr><td align="left" rowspan="1" colspan="1">5</td><td align="left" rowspan="1" colspan="1">0.525</td><td align="left" rowspan="1" colspan="1">0.850</td><td align="left" rowspan="1" colspan="1">0.856</td></tr><tr><td align="left" rowspan="1" colspan="1">6</td><td align="left" rowspan="1" colspan="1">0.500</td><td align="left" rowspan="1" colspan="1">0.594</td><td align="left" rowspan="1" colspan="1">0.613</td></tr><tr><td align="left" rowspan="1" colspan="1">7</td><td align="left" rowspan="1" colspan="1">0.544</td><td align="left" rowspan="1" colspan="1">0.556</td><td align="left" rowspan="1" colspan="1">0.550</td></tr><tr><td align="left" rowspan="1" colspan="1">8</td><td align="left" rowspan="1" colspan="1">0.856</td><td align="left" rowspan="1" colspan="1">0.856</td><td align="left" rowspan="1" colspan="1">0.850</td></tr><tr><td align="left" rowspan="1" colspan="1">9</td><td align="left" rowspan="1" colspan="1">0.656</td><td align="left" rowspan="1" colspan="1">0.750</td><td align="left" rowspan="1" colspan="1">0.744</td></tr><tr><td align="left" rowspan="1" colspan="1">AVG</td><td align="left" rowspan="1" colspan="1">0.520</td><td align="left" rowspan="1" colspan="1">0.585</td><td align="left" rowspan="1" colspan="1">0.599</td></tr></tbody></table></table-wrap><p>The results showed that the FBCSP using the MIRSR feature selection algorithm yielded a better averaged mean kappa value (0.599). The paired t-test revealed no significant difference between the two feature selection algorithms (<italic>p </italic>= 0.127). The results also showed that the FBCSP using the MIRSR feature selection algorithm performed the best in 5 subjects (1, 2, 3, 5, and 6) whereas the use of the MIBIF algorithm performed the best in 4 subjects (4, 7, 8, and 9). Regardless of the choice, the FBCSP algorithm that employed either the MIBIF or MIRSR feature selection algorithm would yield relatively the best performance in terms of mean kappa value among the other submissions to the competition.</p><p>For comparative purposes, Table <xref ref-type="table" rid="T4">4</xref> also included results of using the CSP algorithm that employed a 7–35 Hz band-pass filter. The paired t-test revealed no significant difference between the FBCSP algorithm and the CSP algorithm (<italic>p </italic>= 0.057). The results showed that the FBCSP algorithm that employed the MIRSR feature selection algorithm also yielded a higher mean kappa value (0.599) and it outperformed the CSP algorithm in 7 out of the 9 subjects (except subjects 2 and 8).</p><p>Comparing the results of Tables <xref ref-type="table" rid="T3">3</xref> and <xref ref-type="table" rid="T4">4</xref>, the FBCSP algorithm that employed MIRSR yielded lower mean kappa value averaged over all the subjects on the evaluation data (0.599) than on the cross-validation results (0.637), in 7 out of the 9 subjects (except subjects 5 and 8).</p></sec></sec></sec><sec id="s4"><label>4</label><title>Conclusion</title><p>In this paper, the FBCSP algorithm is presented to classify single-trial EEG data for 2-class as well as 4-class motor imagery, where results using different feature selection algorithms and multi-class extensions to the FBCSP algorithm were compared with the CSP algorithm and other entries submitted to the BCI Competition IV Dataset 2a and Dataset 2b. Although other algorithms were not included in this study, prior studies on the 2-class motor imagery data of the BCI Competition III Dataset IV showed that a modified SPEC-CSP algorithm using Support Vector Machines (SVM) yielded a 10 × 10-fold cross-validation classification accuracy of 89.5% (Wu et al., <xref ref-type="bibr" rid="B26">2008</xref>) averaged over the 5 subjects, while the FBCSP algorithm yielded a 10 × 10-fold cross-validation classification accuracy of 90.3% (Ang et al., <xref ref-type="bibr" rid="B1">2008</xref>). Although they might not be directly comparable, results from these prior studies suggest that the SPEC-CSP algorithm might yield similar results as the FBCSP algorithm in Dataset 2a and 2b as well.</p><p>The results on the Filter Bank Common Spatial Pattern (FBCSP) algorithm showed that it is capable of performing an autonomous selection of discriminative subject-specific frequency range for band-pass filtering of the EEG measurements. In the 2-class motor imagery data in Dataset 2b, even though the EEG data was limited to 3 bipolar recordings, the FBCSP algorithm yielded the best performance among all the submissions by employing either the Mutual Information-based Rough Set Reduction (MIRSR) or Mutual Information-based Best Individual Features (MIBIF) feature selection algorithm. The MIBIF feature selection algorithm is dependent on a meta parameter, the number of features selected, which was set-based on the results obtained on the 2-class motor imagery data from the previous BCI Competition III Dataset 4a in Ang et al. (<xref ref-type="bibr" rid="B1">2008</xref>). Hence further improvement using the MIBIF feature selection algorithm might be possible by optimizing the number of selected features via a nested cross-validation approach instead. In the 4-class motor imagery data in Dataset 2a, even though the FBCSP algorithm was initially designed for 2-class motor imagery, the results on the 4-class motor imagery data in Dataset 2a showed that the one-versus-the-rest (OVR) and the pair-wise (PW) approaches of multi-class extension to the FBCSP algorithm could also yield relatively the best performance as well.</p></sec><sec><title>Conflict of Interest Statement</title><p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p></sec></body><back><ack><p>The authors would like to thank the organizers and the dataset providers of the BCI Competition IV Dataset 2a and 2b (Tangermann et al., <xref ref-type="bibr" rid="B24">2012</xref>).</p></ack><ref-list><title>References</title><ref id="B1"><mixed-citation publication-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Ang</surname><given-names>K. K.</given-names></name><name name-style="western"><surname>Chin</surname><given-names>Z. Y.</given-names></name><name name-style="western"><surname>Zhang</surname><given-names>H.</given-names></name><name name-style="western"><surname>Guan</surname><given-names>C.</given-names></name></person-group> (<year>2008</year>). <article-title>“Filter bank common spatial pattern (FBCSP) in brain-computer interface,”</article-title> in <conf-name>Proceedings of the IEEE International Joint Conference on Neural Networks</conf-name>, <conf-loc>Hong Kong</conf-loc>, <fpage>2391</fpage>–<lpage>2398</lpage></mixed-citation></ref><ref id="B2"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ang</surname><given-names>K. K.</given-names></name><name name-style="western"><surname>Quek</surname><given-names>C.</given-names></name></person-group> (<year>2005</year>). <article-title>RSPOP: rough set-based pseudo outer-product fuzzy rule identification algorithm</article-title>. <source>Neural Comput.</source>
<volume>17</volume>, <fpage>205</fpage>–<lpage>243</lpage><pub-id pub-id-type="doi">10.1162/0899766052530857</pub-id><pub-id pub-id-type="pmid">15563753</pub-id></mixed-citation></ref><ref id="B3"><mixed-citation publication-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Ang</surname><given-names>K. K.</given-names></name><name name-style="western"><surname>Quek</surname><given-names>C.</given-names></name></person-group> (<year>2006</year>). <article-title>“Rough set-based neuro-fuzzy system,”</article-title> in <conf-name>Proceedings of the IEEE International Joint Conference on Neural Networks</conf-name>, <conf-loc>Vancouver, BC</conf-loc>, <fpage>742</fpage>–<lpage>749</lpage></mixed-citation></ref><ref id="B4"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ang</surname><given-names>K. K.</given-names></name><name name-style="western"><surname>Quek</surname><given-names>C.</given-names></name></person-group> (<year>2012</year>). <article-title>Supervised pseudo self-evolving cerebellar algorithm for generating fuzzy membership functions</article-title>. <source>Expert Syst. Appl.</source>
<volume>39</volume>, <fpage>2279</fpage>–<lpage>2287</lpage><pub-id pub-id-type="doi">10.1016/j.eswa.2011.08.001</pub-id></mixed-citation></ref><ref id="B5"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Krauledat</surname><given-names>M.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name></person-group> (<year>2007</year>). <article-title>The non-invasive Berlin brain-computer interface: fast acquisition of effective performance in untrained subjects</article-title>. <source>Neuroimage</source>
<volume>37</volume>, <fpage>539</fpage>–<lpage>550</lpage><pub-id pub-id-type="doi">10.1016/j.neuroimage.2007.01.051</pub-id><pub-id pub-id-type="pmid">17475513</pub-id></mixed-citation></ref><ref id="B6"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Losch</surname><given-names>F.</given-names></name><name name-style="western"><surname>Krauledat</surname><given-names>M.</given-names></name><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K. R.</given-names></name></person-group> (<year>2008a</year>). <article-title>The Berlin brain–computer interface: accurate performance from first-session in BCI-naive subjects</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>55</volume>, <fpage>2452</fpage>–<lpage>2462</lpage><pub-id pub-id-type="doi">10.1109/TBME.2008.923152</pub-id><pub-id pub-id-type="pmid">18838371</pub-id></mixed-citation></ref><ref id="B7"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Tomioka</surname><given-names>R.</given-names></name><name name-style="western"><surname>Lemm</surname><given-names>S.</given-names></name><name name-style="western"><surname>Kawanabe</surname><given-names>M.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2008b</year>). <article-title>Optimizing spatial filters for robust EEG single-trial analysis</article-title>. <source>IEEE Signal Process. Mag.</source>
<volume>25</volume>, <fpage>41</fpage>–<lpage>56</lpage><pub-id pub-id-type="doi">10.1109/MSP.2008.4408441</pub-id></mixed-citation></ref><ref id="B8"><mixed-citation publication-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Bowman</surname><given-names>A. W.</given-names></name><name name-style="western"><surname>Azzalini</surname><given-names>A.</given-names></name></person-group> (<year>1997</year>). <source>Applied Smoothing Techniques for Data Analysis: The Kernel Approach with S-Plus Illustrations</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Oxford University Press</publisher-name></mixed-citation></ref><ref id="B9"><mixed-citation publication-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Chin</surname><given-names>Z. Y.</given-names></name><name name-style="western"><surname>Ang</surname><given-names>K. K.</given-names></name><name name-style="western"><surname>Wang</surname><given-names>C.</given-names></name><name name-style="western"><surname>Guan</surname><given-names>C.</given-names></name><name name-style="western"><surname>Zhang</surname><given-names>H.</given-names></name></person-group> (<year>2009</year>). <article-title>“Multi-class filter bank common spatial pattern for four-class motor imagery BCI,”</article-title> in <conf-name>Proceedings of the 31st Annual International Conference of the IEEE Engineering in Medicine and Biology Society</conf-name>, <conf-loc>Minneapolis</conf-loc>, <fpage>571</fpage>–<lpage>574</lpage><pub-id pub-id-type="doi" assigning-authority="pmc">10.1109/IEMBS.2009.5332383</pub-id><pub-id pub-id-type="pmid">19963466</pub-id></mixed-citation></ref><ref id="B10"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2004a</year>). <article-title>Boosting bit rates in noninvasive EEG single-trial classifications by feature combination and multiclass paradigms</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>51</volume>, <fpage>993</fpage>–<lpage>1002</lpage><pub-id pub-id-type="doi">10.1109/TBME.2004.827088</pub-id><pub-id pub-id-type="pmid">15188870</pub-id></mixed-citation></ref><ref id="B11"><mixed-citation publication-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2004b</year>). <source>Increase Information Transfer Rates in BCI by CSP Extension to Multi-Class</source>, Vol. <volume>16</volume>
<publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>MIT Press</publisher-name></mixed-citation></ref><ref id="B12"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Krauledat</surname><given-names>M.</given-names></name><name name-style="western"><surname>Losch</surname><given-names>F.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2006</year>). <article-title>Combined optimization of spatial and temporal filters for improving brain-computer interfacing</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>53</volume>, <fpage>2274</fpage>–<lpage>2281</lpage><pub-id pub-id-type="doi">10.1109/TBME.2006.883649</pub-id><pub-id pub-id-type="pmid">17073333</pub-id></mixed-citation></ref><ref id="B13"><mixed-citation publication-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Duda</surname><given-names>R. O.</given-names></name><name name-style="western"><surname>Hart</surname><given-names>P. E.</given-names></name><name name-style="western"><surname>Stork</surname><given-names>D. G.</given-names></name></person-group> (<year>2001</year>). <source>Pattern Classification</source>, <edition>2nd Edn</edition>
<publisher-loc>New York</publisher-loc>: <publisher-name>John Wiley</publisher-name></mixed-citation></ref><ref id="B14"><mixed-citation publication-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Fukunaga</surname><given-names>K.</given-names></name></person-group> (<year>1990</year>). <source>Introduction to Statistical Pattern Recognition</source>, <edition>2nd Edn</edition>
<publisher-loc>New York</publisher-loc>: <publisher-name>Academic Press</publisher-name></mixed-citation></ref><ref id="B15"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Grosse-Wentrup</surname><given-names>M.</given-names></name><name name-style="western"><surname>Buss</surname><given-names>M.</given-names></name></person-group> (<year>2008</year>). <article-title>Multiclass common spatial patterns and information theoretic feature extraction</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>55</volume>, <fpage>1991</fpage>–<lpage>2000</lpage><pub-id pub-id-type="doi">10.1109/TBME.2008.921154</pub-id><pub-id pub-id-type="pmid">18632362</pub-id></mixed-citation></ref><ref id="B16"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jain</surname><given-names>A. K.</given-names></name><name name-style="western"><surname>Duin</surname><given-names>R. P. W.</given-names></name><name name-style="western"><surname>Jianchang</surname><given-names>M.</given-names></name></person-group> (<year>2000</year>). <article-title>Statistical pattern recognition: a review</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source>
<volume>22</volume>, <fpage>4</fpage>–<lpage>37</lpage><pub-id pub-id-type="doi">10.1109/34.824819</pub-id></mixed-citation></ref><ref id="B17"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Leeb</surname><given-names>R.</given-names></name><name name-style="western"><surname>Lee</surname><given-names>F.</given-names></name><name name-style="western"><surname>Keinrath</surname><given-names>C.</given-names></name><name name-style="western"><surname>Scherer</surname><given-names>R.</given-names></name><name name-style="western"><surname>Bischof</surname><given-names>H.</given-names></name><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name></person-group> (<year>2007</year>). <article-title>Brain-computer communication: motivation, aim, and impact of exploring a virtual apartment</article-title>. <source>IEEE Trans. Neural Syst. Rehabil. Eng.</source>
<volume>15</volume>, <fpage>473</fpage>–<lpage>482</lpage><pub-id pub-id-type="doi">10.1109/TNSRE.2007.906956</pub-id><pub-id pub-id-type="pmid">18198704</pub-id></mixed-citation></ref><ref id="B18"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lemm</surname><given-names>S.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Curio</surname><given-names>G.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2005</year>). <article-title>Spatio-spectral filters for improving the classification of single trial EEG</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>52</volume>, <fpage>1541</fpage>–<lpage>1548</lpage><pub-id pub-id-type="doi">10.1109/TBME.2005.851521</pub-id><pub-id pub-id-type="pmid">16189967</pub-id></mixed-citation></ref><ref id="B19"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Müller-Gerking</surname><given-names>J.</given-names></name><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name><name name-style="western"><surname>Flyvbjerg</surname><given-names>H.</given-names></name></person-group> (<year>1999</year>). <article-title>Designing optimal spatial filters for single-trial EEG classification in a movement task</article-title>. <source>Clin. Neurophysiol.</source>
<volume>110</volume>, <fpage>787</fpage>–<lpage>798</lpage><pub-id pub-id-type="doi">10.1016/S1388-2457(98)00038-8</pub-id><pub-id pub-id-type="pmid">10400191</pub-id></mixed-citation></ref><ref id="B20"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Parzen</surname><given-names>E.</given-names></name></person-group> (<year>1962</year>). <article-title>On estimation of a probability density function and mode</article-title>. <source>Ann. Math. Stat.</source>
<volume>33</volume>, <fpage>1065</fpage>–<lpage>1076</lpage><pub-id pub-id-type="doi">10.1214/aoms/1177704472</pub-id></mixed-citation></ref><ref id="B21"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name><name name-style="western"><surname>Aranibar</surname><given-names>A.</given-names></name></person-group> (<year>1979</year>). <article-title>Evaluation of event-related desynchronization (ERD) preceding and following voluntary self-paced movement</article-title>. <source>Electroencephalogr. Clin. Neurophysiol.</source>
<volume>46</volume>, <fpage>138</fpage>–<lpage>146</lpage><pub-id pub-id-type="doi">10.1016/0013-4694(79)90063-4</pub-id><pub-id pub-id-type="pmid">86421</pub-id></mixed-citation></ref><ref id="B22"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name><name name-style="western"><surname>Lopes da Silva</surname><given-names>F. H.</given-names></name></person-group> (<year>1999</year>). <article-title>Event-related EEG/MEG synchronization and desynchronization: basic principles</article-title>. <source>Clin. Neurophysiol.</source>
<volume>110</volume>, <fpage>1842</fpage>–<lpage>1857</lpage><pub-id pub-id-type="doi">10.1016/S1388-2457(99)00141-8</pub-id><pub-id pub-id-type="pmid">10576479</pub-id></mixed-citation></ref><ref id="B23"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ramoser</surname><given-names>H.</given-names></name><name name-style="western"><surname>Müller-Gerking</surname><given-names>J.</given-names></name><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name></person-group> (<year>2000</year>). <article-title>Optimal spatial filtering of single trial EEG during imagined hand movement</article-title>. <source>IEEE Trans. Rehabil. Eng.</source>
<volume>8</volume>, <fpage>441</fpage>–<lpage>446</lpage><pub-id pub-id-type="doi">10.1109/86.895946</pub-id><pub-id pub-id-type="pmid">11204034</pub-id></mixed-citation></ref><ref id="B24"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tangermann</surname><given-names>M.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name><name name-style="western"><surname>Aertsen</surname><given-names>A.</given-names></name><name name-style="western"><surname>Birbaumer</surname><given-names>N.</given-names></name><name name-style="western"><surname>Braun</surname><given-names>C.</given-names></name><name name-style="western"><surname>Brunner</surname><given-names>C.</given-names></name><name name-style="western"><surname>Leeb</surname><given-names>R.</given-names></name><name name-style="western"><surname>Mehring</surname><given-names>C.</given-names></name><name name-style="western"><surname>Miller</surname><given-names>K. J.</given-names></name><name name-style="western"><surname>Müller-Putz</surname><given-names>G.</given-names></name><name name-style="western"><surname>Nolte</surname><given-names>G.</given-names></name><name name-style="western"><surname>Pfurtscheller</surname><given-names>G.</given-names></name><name name-style="western"><surname>Preissl</surname><given-names>H.</given-names></name><name name-style="western"><surname>Schalk</surname><given-names>G.</given-names></name><name name-style="western"><surname>Schlögl</surname><given-names>A.</given-names></name><name name-style="western"><surname>Vidaurre</surname><given-names>C.</given-names></name><name name-style="western"><surname>Waldert</surname><given-names>S.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name></person-group> (<year>2012</year>). <article-title>Review of the BCI competition IV</article-title>. <source>Front. Neurosci</source>. (in press).<pub-id pub-id-type="doi" assigning-authority="pmc">10.3389/fnins.2012.00055</pub-id><pub-id pub-id-type="pmcid">PMC3396284</pub-id><pub-id pub-id-type="pmid">22811657</pub-id></mixed-citation></ref><ref id="B25"><mixed-citation publication-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Tomioka</surname><given-names>R.</given-names></name><name name-style="western"><surname>Dornhege</surname><given-names>G.</given-names></name><name name-style="western"><surname>Nolte</surname><given-names>G.</given-names></name><name name-style="western"><surname>Blankertz</surname><given-names>B.</given-names></name><name name-style="western"><surname>Aihara</surname><given-names>K.</given-names></name><name name-style="western"><surname>Müller</surname><given-names>K.-R.</given-names></name></person-group> (<year>2006</year>). <source>Spectrally Weighted Common Spatial Pattern Algorithm for Single Trial EEG Classification</source>. <publisher-name>Mathematical Engineering Technical Reports, University of Tokyo</publisher-name>, <publisher-loc>Tokyo</publisher-loc></mixed-citation></ref><ref id="B26"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wu</surname><given-names>W.</given-names></name><name name-style="western"><surname>Gao</surname><given-names>X.</given-names></name><name name-style="western"><surname>Hong</surname><given-names>B.</given-names></name><name name-style="western"><surname>Gao</surname><given-names>S.</given-names></name></person-group> (<year>2008</year>). <article-title>Classifying single-trial EEG during motor imagery by iterative spatio-spectral patterns learning (ISSPL)</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>55</volume>, <fpage>1733</fpage>–<lpage>1743</lpage><pub-id pub-id-type="doi">10.1109/TBME.2008.919125</pub-id><pub-id pub-id-type="pmid">18714838</pub-id></mixed-citation></ref><ref id="B27"><mixed-citation publication-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>D.</given-names></name><name name-style="western"><surname>Wang</surname><given-names>Y.</given-names></name><name name-style="western"><surname>Gao</surname><given-names>X.</given-names></name><name name-style="western"><surname>Hong</surname><given-names>B.</given-names></name><name name-style="western"><surname>Gao</surname><given-names>S.</given-names></name></person-group> (<year>2007</year>). <article-title>An algorithm for idle-state detection in motor-imagery-based brain-computer interface</article-title>. <source>Comput. Intell. Neurosci.</source>
<volume>2007</volume>, <fpage>5</fpage><pub-id pub-id-type="doi" assigning-authority="pmc">10.1155/2007/39714</pub-id><pub-id pub-id-type="pmcid">PMC1994518</pub-id><pub-id pub-id-type="pmid">18274604</pub-id></mixed-citation></ref></ref-list></back></article>