-
Notifications
You must be signed in to change notification settings - Fork 218
Improved _inc_exc_datasets() and paradigms handling in benchmark() #834
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
base: develop
Are you sure you want to change the base?
Improved _inc_exc_datasets() and paradigms handling in benchmark() #834
Conversation
Adds function filter_paradigms(). It provides better error messages.
…ithub.com/toncho11/moabb into improve_fix_inc_exc_datasets_in_benchmark
|
hey @toncho11, can you fix the tests please: FAILED moabb/tests/test_benchmark.py::TestBenchmark::test_benchmark_strdataset - ValueError: Invalid dataset codes in include_datasets: ['FakeDataset-p300-10-2--60-60--120-120--target-nontarget--c3-cz-c4', 'FakeDataset-ssvep-10-2--60-60--120-120--13-15--c3-cz-c4', 'FakeDataset-cvep-10-2--60-60--120-120--10-00--c3-cz-c4'] |
|
I need some more time on the code. |
Added one FakeDataset for P300 testing.
A re-written _inc_exc_datasets() that fixes issues and provides much needed checks. Before it was possible not to recognize correctly if the input is string or object and thus process the input incorrectly. Fixes: #654. It avoids some confusion induced by the old version.
Below is the code I used for testing: