-
Notifications
You must be signed in to change notification settings - Fork 184
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
Problem with exclude datasets in benchmark #654
Comments
This is the documentation:
It is actually unclear if it is class codes, class names or both. Until now I assumed that it is class names only for the exclude parameter of benchmark. |
The fact that it allows both codes and class names leads to confusion. |
There is (as before) a tricky problem with the exclude datasets code. I tried:
but I get errors each time. I am putting this here for other people who are suffering like me. Try my PR and explanation: #656 (comment) if you can not use the exclude_datasets. |
moabb/moabb/benchmark.py
Line 333 in ca79b90
It seems if you have more than 1 excludes than the code indexing is no longer correct resulting in removing another dataset - not the desired one. This is because two lists datasets_codes and are no longer the same length and so the indexing becomes incorrect.
I will look into a solution now.
The text was updated successfully, but these errors were encountered: