[Mne_analysis] Decoding Issue

Mainak Jas mainakjas at gmail.com
Sat Nov 4 10:49:50 EDT 2017
Search archives:

Hi,

Can you share a code snippet to reproduce the problem?

Mainak

On Sat, Nov 4, 2017 at 3:43 PM, Aditya P Singh <adityasingh at utexas.edu>
wrote:

> Hi MNE,
>
> I was trying to use your example on Decoding sensor space data, however, I
> keep getting the error "roc_auc scoring can only be computed for two-class
> problems". My epochs events, are separated into two classes using the dict
> function that mne often uses so I am not sure what the issue is. My "y" is
> an array([2, 2, 2, ..., 1, 1, 1]), but the roc_auc error comes up "if
> np.ndim(y) != 1 or len(set(y)) != 2:", so I am not sure how to fix this
> problem.
>
> Thank you,
> Aditya Singh
>
>
>
>
> _______________________________________________
> 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/20171104/3cbc8cd9/attachment.html 


More information about the Mne_analysis mailing list