Algorithm 4 Typical principal component analysis |
Input: EEG data , low-dimensional space dimension d.
Output: Projection matrix .
procedure PCA(D):
Sample centering .
Calculate .
Eigenvalue decomposition for .
Select the largest d eigenvalues.
.
New EEG data .
Return: .
|