Skip to content

Plot brain decode#345

Merged
sylvchev merged 93 commits into
NeuroTechX:developfrom
carraraig:plot_brainDecode
Mar 19, 2023
Merged

Plot brain decode#345
sylvchev merged 93 commits into
NeuroTechX:developfrom
carraraig:plot_brainDecode

Conversation

@carraraig

@carraraig carraraig commented Mar 13, 2023

Copy link
Copy Markdown
Collaborator

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

@sylvchev sylvchev left a comment

Copy link
Copy Markdown
Member

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

Comment thread examples/pipelines_braindecode/braindecode_ShallowFBCSPNet.py
Comment thread examples/plot_benchmark_braindecode.py Outdated
Comment thread examples/plot_braindecode.py Outdated
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
Copy Markdown
Collaborator

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

@sylvchev

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants