encyclopegia.org

Common spatial pattern

Common spatial pattern (CSP) is a mathematical procedure used in signal processing for separating a multivariate signal into additive subcomponents which have maximum differences in variance between two windows.

Common spatial pattern (CSP) is a mathematical procedure used in signal processing for separating a multivariate signal into additive subcomponents which have maximum differences in variance between two windows. \mathbf{w}={\arg \max}_\mathbf{w} \frac{ \left\| \mathbf{wX}_1 \right\| ^2 } { \left\| \mathbf{wX}_2 \right\| ^2 } The solution is given by computing the two covariance matrices: \mathbf{R}_1=\frac{\mathbf{X}_1\mathbf{X}_1^\text{T}}{t_1} \mathbf{R}_2=\frac{\mathbf{X}_2\mathbf{X}_2^\text{T}}{t_2} Then, the simultaneous diagonalization of those two matrices (also called generalized eigenvalue decomposition) is realized. We find the matrix of eigenvectors \mathbf{P}=\begin{bmatrix} \mathbf{p}_1 & \cdots & \mathbf{p}_n \end{bmatrix} and the diagonal matrix \mathbf{D} of eigenvalues \{\lambda_1, \cdots , \lambda_n \} sorted by decreasing order such that: \mathbf{P}^{\mathrm{T}} \mathbf{R}_1 \mathbf{P} = \mathbf{D} and \mathbf{P}^{\mathrm{T}} \mathbf{R}_2 \mathbf{P} = \mathbf{I}_n with \mathbf{I}_n the identity matrix. This is equivalent to the eigendecomposition of \mathbf{R}_2^{-1} \mathbf{R}_1 : \mathbf{R}_2^{-1} \mathbf{R}_1=\mathbf{PDP}^{-1} \mathbf{w}^\text{T} will correspond to the first column of \mathbf{P} : \mathbf{w}=\mathbf{p}_1^\text{T} \mathbf{\lambda}_i = \frac{ \left\| \mathbf{p}_i^\text{T} \mathbf{X}_1 \right\| ^2 }{ \left\| \mathbf{p}_i^\text{T} \mathbf{X}_2 \right\| ^2 } E_i={\arg \max}_{E} \begin{pmatrix}\min_{p \in E} \frac{ \left\| \mathbf{p^\text{T} X}_1 \right\| ^2 }{ \left\| \mathbf{p^\text{T} X}_2 \right\| ^2}\end{pmatrix} On the same way, the vectorial subspace F_j generated by the j last eigenvectors \begin{bmatrix} \mathbf{p}_{n-j+1} & \cdots & \mathbf{p}_n \end{bmatrix} will be the subspace minimizing the variance ratio of all components belonging to it: F_j = {\arg \min}_{F} \begin{pmatrix}\max_{p \in F} \frac{ \left\| \mathbf{p^\text{T} X}_1 \right\| ^2 }{ \left\| \mathbf{p^\text{T} X}_2 \right\| ^2} \end{pmatrix} ==See also== Blind signal separation ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Common spatial pattern." encyclopegia.org, 2021, https://encyclopegia.org/wiki/common-spatial-pattern. Accessed 24 November 2026.

Chicago

"Common spatial pattern." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/common-spatial-pattern.

APA

encyclopegia.org. (2021). Common spatial pattern. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/common-spatial-pattern

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1005301974 · 0.5 · snapshot enwiki-001005301974

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.