-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set download dir test and example (#249) * Update to dataset_search call in FilterBank Motor Imagery * Removing completed #fixme * Removing total_classes argument from dataset_search call in FilterBank MI This was earlier deprecated in 55f77ae * set_download_dir test and example * adding pre-commit modifications * Update whats_new.rst * Update examples/changing_download_directory.py Co-authored-by: Sylvain Chevallier <[email protected]> * Update examples/changing_download_directory.py Co-authored-by: Sylvain Chevallier <[email protected]> * Bump pillow from 8.4.0 to 9.0.0 (#253) Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.4.0 to 9.0.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@8.4.0...9.0.0) --- updated-dependencies: - dependency-name: pillow dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix Schirrmeister2017 error (#255) * correct event loading error, renaming session and runs * add whats new * Removing dependency of Physionet MI download on mne method (#257) * Update physionet_mi.py * consistency of runs numbering * Update whats_new.rst * f-string edits Co-authored-by: Sylvain Chevallier <[email protected]> * f-string edits Co-authored-by: Sylvain Chevallier <[email protected]> Co-authored-by: Sylvain Chevallier <[email protected]> * Correct MAMEM issues (#256) * switch mamem session to runs, use predictable names * update docstring in evaluation, for building documentation * update Lee2017 docstring for correct documentation. * update whats new * switch SSVEP example to within session * correct typo and rebase * correct typos on examples * Progress bars (#258) * Progress bars for downloads using pooch functionality * Rectification of f-string in PhysionetMI * Evaluations subject level progress bar CV test subject level in the case of CrossSubjectEvaluation * Update poetry.lock * Update pyproject.toml * dependencies * Apply suggestions from code review (mne.utils to tqdm direct) Co-authored-by: Sylvain Chevallier <[email protected]> * Update poetry.lock * tqdm arg * Update whats_new.rst * Update mistune dep Co-authored-by: Sylvain Chevallier <[email protected]> * fix doc url in readme (#262) * fix doc url in readme * correct links in the docs * Schirrmeister2017 High-Gamma Dataset from EDF (#265) * loading Schirrmeister2017 High-Gamma Dataset from EDF * remove commented import of requests module * rename to session_0 * added 13 + 12 subjects speller datasets by huebner (#260) * added 13 + 12 subjects speller datasets by huebner * clean up legacy run splitting code * added use_blocks_as_sessions parameter for data Co-authored-by: Sylvain Chevallier <[email protected]> * added Spot Auditory oddball dataset (#266) * added Spot Auditory oddball dataset * replaced usage of deprecated dl.data_path Co-authored-by: Sylvain Chevallier <[email protected]> * Visualize all ERP datasets (#261) * Visualize all ERP datasets * * use paradigm.datasets instead of manual list * more verbose sanity check script * fix epo data leak + remove title bf * moved data visualization added disclaimer regarding data size Co-authored-by: Sylvain Chevallier <[email protected]> * update to v0.4.5 (#269) * update to v0.4.5 * update poetry and requirements * correct pre-commit error and add code coverage (#271) Co-authored-by: Divyesh Narayanan <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: robintibor <[email protected]> Co-authored-by: Jan Sosulski <[email protected]>
- Loading branch information
1 parent
af9fc57
commit bc046ea
Showing
38 changed files
with
1,938 additions
and
920 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,8 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: pre-commit/[email protected] | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1.1.6 | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
@@ -62,3 +60,11 @@ jobs: | |
run: | | ||
source $VENV | ||
poetry run python -m moabb.run --pipelines=./moabb/tests/test_pipelines/ --verbose | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/codecov-action@v2 | ||
if: success() | ||
with: | ||
verbose: true | ||
directory: /home/runner/work/moabb/moabb | ||
files: ./.coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
FilterBank CSP versus CSP | ||
========================= | ||
This Example show a comparison of CSP versus FilterBank CSP on the | ||
This example show a comparison of CSP versus FilterBank CSP on the | ||
very popular dataset 2a from the BCI competition IV. | ||
""" | ||
# Authors: Alexandre Barachant <[email protected]> | ||
|
@@ -27,7 +27,7 @@ | |
moabb.set_log_level("info") | ||
|
||
############################################################################## | ||
# Create pipelines | ||
# Create Pipelines | ||
# ---------------- | ||
# | ||
# The CSP implementation from MNE is used. We selected 8 CSP components, as | ||
|
@@ -51,7 +51,7 @@ | |
# ---------- | ||
# | ||
# Since two different preprocessing will be applied, we have two different | ||
# paradigm objects. We have to make sure their filter matchs so the comparison | ||
# paradigm objects. We have to make sure their filter matches so the comparison | ||
# will be fair. | ||
# | ||
# The first one is a standard `LeftRightImagery` with a 8 to 35 Hz broadband | ||
|
@@ -75,7 +75,7 @@ | |
) | ||
results = evaluation.process(pipelines) | ||
|
||
# bank of 6 filter, by 4 Hz increment | ||
# Bank of 6 filters, by 4 Hz increment | ||
filters = [[8, 12], [12, 16], [16, 20], [20, 24], [24, 28], [28, 35]] | ||
paradigm = FilterBankLeftRightImagery(filters=filters) | ||
evaluation = CrossSessionEvaluation( | ||
|
@@ -93,10 +93,10 @@ | |
# Plot Results | ||
# ---------------- | ||
# | ||
# Here we plot the results via normal methods. We the first plot is a pointplot | ||
# Here we plot the results via seaborn. We first display a pointplot | ||
# with the average performance of each pipeline across session and subjects. | ||
# The second plot is a paired scatter plot. Each point representing the score | ||
# of a single session. An algorithm will outperforms another is most of the | ||
# of a single session. An algorithm will outperform another is most of the | ||
# points are in its quadrant. | ||
|
||
fig, axes = plt.subplots(1, 2, figsize=[8, 4], sharey=True) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.