[Mne_analysis] Decoding Issue

Aditya P Singh adityasingh at utexas.edu
Sat Nov 4 10:43:46 EDT 2017
Search archives:


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

Thank you,
Aditya Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171104/e01186d9/attachment-0001.html 

More information about the Mne_analysis mailing list