-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Interval for BNCI2014001 #532
Comments
@bruAristimunha @PierreGtch Could you look at this/confirm? I think if left unnoticed by a user (aka me haha) this can have a pretty big impact on classification performance without throwing any errors |
I'll try and find something, although I'm not sure what the intent is/was and I might have the PR wrong. What I can say now is: moabb/moabb/datasets/preprocessing.py Line 75 in 4b297b9
[2, 6] interval, but as far as I can tell the interval isn't applied anywhere in the prepro (if it is can you point me in the right direction?). If this is the intended functionality then the only thing that needs changing is stuff in examples that should probably use the interval to cut the trial:moabb/examples/plot_braindecode.py Lines 73 to 74 in 4b297b9
|
I'not sure I understand where the problem is, Line 813 in 4b297b9
In case the preprocessing is a bit unclear, do you know the paradigms have a from moabb.datasets import BNCI2014_001
from moabb.paradigms import MotorImagery
print(MotorImagery().make_process_pipelines(BNCI2014_001()))
Printing this scikit learn Pipeline is not very pretty but you can inspect it in detail. |
Ah i see - sorry for the confusion, I was a little too hasty! |
no problem @dcwil 😌 |
Someone with better knowledge of the codebase can maybe weigh in here but I think since #447 at least BNCI2014001 has been cutting trials without the shift for task onset/offset. Currently for BNCI2014_001 (the dataset I noticed this with) I think you need to set
tmin=2
andtmax=6
in the paradigm to actually cut the correct trial. I assume by default it shouldtmin=0
should be relative to the dataset interval[2, 6]
(so by default, it cuts the correct trial).The text was updated successfully, but these errors were encountered: