[Mne_analysis] CSP Errors

alexandre.barachant at gmail.com alexandre.barachant at gmail.com
Sun Jun 18 08:40:29 EDT 2017
Search archives:

Hi,

This is because your data are rank deficient. you should add regularization
to avoid this error.
you can set the parameter reg='oas' of the CSP, and it should works.

Alex

On Sun, Jun 18, 2017 at 1:30 PM Aditya P Singh <adityasingh at utexas.edu>
wrote:

> Hi,
>
> When I try to run the CSP classifier on my data, I come up with an error
> saying
>
>  LinAlgError: the leading minor of order 105 of 'b' is not positive
> definite. The factorization of 'b' could not be completed and no
> eigenvalues or eigenvectors were computed.
>
> I was wondering what might be the error that is causing this, and how I
> could fix this.
>
> Thanks,
> Aditya Singh
> Biomedical Engineer
> UT Austin
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170618/73e6bd87/attachment.html 


More information about the Mne_analysis mailing list