# Decoding Issue

**URL:** <https://mne.discourse.group/t/decoding-issue/1355>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [November 4, 2017, 6:17pm UTC](https://mne.discourse.group/t/decoding-issue/1355 "2017-11-04T18:17:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 4, 2017, 6:17pm UTC](https://mne.discourse.group/t/decoding-issue/1355/1 "2017-11-04T18:17:12Z")

</div>

Hi all,

Just a quick fix on the error, if the scoring is changed to None, then it  
does not have to go to that loop which causes the error. This is only if  
your event vector is in a form of [0,1]. Just making it into that form will  
not fix the error.

Thanks,  
Aditya  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20171104/0d751894/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171104/0d751894/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 4, 2017, 10:49pm UTC](https://mne.discourse.group/t/decoding-issue/1355/2 "2017-11-04T22:49:45Z")

</div>

Dear Adityia,

If scoring is none, it will be an accuracy not an auc.

Best

Jean-Remi
