Computational and Mathematical Methods in Medicine / 2018 / Article / Alg 1

Research Article

Transfer Kernel Common Spatial Patterns for Motor Imagery Brain-Computer Interface Classification

Algorithm 1

Kernel common spatial pattern algorithms.
Input: Data .
Output: Common spatial patterns ,
and common spatial filters .
(1) Compute spatial covariance matrix by (1)
and the total spatial covariance matrix is .
(2) Eigen decomposition ;
whitening transformation .
(3) Transform covariance matrices .
and eigen decomposition .
(4) Construct the spatial filter .