Skip to content
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

Plot brain decode #345

Merged
merged 93 commits into from
Mar 19, 2023
Merged

Plot brain decode #345

merged 93 commits into from
Mar 19, 2023

Conversation

carraraig
Copy link
Collaborator

@carraraig carraraig commented Mar 13, 2023

Plot BrainDecode example.

This PR is the updated version of the original #340

carraraig and others added 30 commits February 27, 2023 16:55
Change default value n_classes=None
# Conflicts:
#	examples/plot_BrainDecode.py
Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr>
Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr>
# Conflicts:
#	examples/plot_BrainDecode2.py
#	moabb/pipelines/deep_learning_BrainDecode.py
Copy link
Member

@sylvchev sylvchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd favor BraindecodeDatasetLoader instead of LoadMOABBDataset in moabb/pipelines/utils_pytorch.py

examples/plot_benchmark_braindecode.py Outdated Show resolved Hide resolved
examples/plot_braindecode.py Outdated Show resolved Hide resolved
bruAristimunha and others added 5 commits March 17, 2023 18:46
Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr>
Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr>
Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr>
@bruAristimunha
Copy link
Collaborator

I will increase the number of tests to get the green from the codecov

@sylvchev
Copy link
Member

I will increase the number of tests to get the green from the codecov

I think you could add some tests on setup_seed, that should increase the test coverage

@bruAristimunha
Copy link
Collaborator

I think the codecov report with the patch option may be inaccurate.

I've added more tests and covered various parts of the code, but I'm still seeing an 8% reduction. In my opinion, we should disable the patched codecov and only use the project codecov.

This issue has also been reported in other repositories, such as kata-containers/tests#508

@sylvchev
Copy link
Member

Ok, thanks @bruAristimunha & @carraraig !

@sylvchev sylvchev merged commit 14b55a1 into NeuroTechX:develop Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants