[Mne_analysis] CSP components selection

Pramod Gaur pramodgaur.iitkgp at gmail.com
Sat Dec 21 04:14:18 EST 2019
Search archives:

        External Email - Use Caution        

Thanks for your reply.

Best regards,
Pramod

On Thu, Dec 19, 2019 at 2:47 PM Alexandre Gramfort <
alexandre.gramfort at inria.fr> wrote:

>         External Email - Use Caution
>
> hi,
>
> setting N=4 should give you the first 2 and the last 2. Feature space
> will then be 4 dimensional.
>
> see how we do it here:
>
>
> https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/decoding/csp.py#L204
>
> HTH
> Alex
>
> On Thu, Dec 19, 2019 at 7:53 AM Pramod Gaur <pramodgaur.iitkgp at gmail.com>
> wrote:
> >
> >         External Email - Use Caution
> >
> > Dear MNE team,
> >
> > We are trying to solve the left vs right motor imagery classification
> problem using MNE python for the first time. I have some experience of
> using CSP. Normally, if we give N=2, then we select the first two and last
> two spatial filters from the CSP matrix to create our feature vector. When
> we did the same thing in MNE python, it is only selecting the two
> components. Can you advise how to handle this?
> >
> > Best regards,
> > Pramod
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191221/0a69587c/attachment.html 


More information about the Mne_analysis mailing list