-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#553)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.9...v0.3.5) - [github.com/adrienverge/yamllint.git: v1.33.0 → v1.35.1](https://github.com/adrienverge/yamllint.git/compare/v1.33.0...v1.35.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
531ea93
commit a6e6815
Showing
42 changed files
with
48 additions
and
7 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
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]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
utility function to select common electrodes shared between datasets. | ||
This tutorial demonstrates how to use this functionality. | ||
""" | ||
|
||
# Authors: Sylvain Chevallier <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
they can be used. | ||
""" | ||
|
||
# Authors: Vinay Jayaram <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
This is a minimal example to demonstrate how to change the default data | ||
download directory to a custom path/location. """ | ||
|
||
# Authors: Divyesh Narayanan <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
generation, the results is computed on a local cluster but could be easily | ||
replicated on your infrastructure. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# Bruno Aristimunha <[email protected]> | ||
# | ||
|
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
We will use the LeftRightImagery paradigm. This will restrict the analysis | ||
to two classes (left- vs right-hand) and use AUC as metric. | ||
""" | ||
|
||
# Original author: Alexandre Barachant <[email protected]> | ||
# Learning curve modification: Jan Sosulski | ||
# | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
This example shows how to use load the pretrained pipeline in MOABB. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
We will use the AlexMI dataset [3]_, one of the smallest in | ||
people and one that can be downloaded quickly. | ||
""" | ||
|
||
# Authors: Pierre Guetschel <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
This example demonstrates the use of `get_block_repetition`, which allows | ||
to specify the experimental blocks and repetitions for analysis. | ||
""" | ||
|
||
# Authors: Pedro Rodrigues <[email protected]> | ||
# Modified by: Gregoire Cattan <[email protected]> | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
dataset to keep the computation time low, but this benchmark is designed | ||
to easily scale to many datasets. | ||
""" | ||
|
||
# Authors: Sylvain Chevallier <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
For this example, we will use only one dataset to keep the computation time low, but this benchmark is designed | ||
to easily scale to many datasets. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
For this example, we will use only 2 datasets to keep the computation time low, but this benchmark is designed | ||
to easily scale to many datasets. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# Bruno Aristimunha <[email protected]> | ||
# Sylvain Chevallier <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
For this example, we will use only one dataset to keep the computation time low, but this benchmark is designed | ||
to easily scale to many datasets. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
This example shows how to use BrainDecode in combination with MOABB evaluation. | ||
In this example, we use the architecture EEGNetv4. | ||
""" | ||
|
||
# Authors: Igor Carrara <[email protected]> | ||
# Bruno Aristimunha <[email protected]> | ||
# | ||
|
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
is trained on every other session and performance are evaluated on the current | ||
session. | ||
""" | ||
|
||
# Authors: Alexandre Barachant <[email protected]> | ||
# Sylvain Chevallier <[email protected]> | ||
# | ||
|
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
is trained on every other session and performance are evaluated on the current | ||
session. | ||
""" | ||
|
||
# Authors: Sylvain Chevallier <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
We will use the SSVEP paradigm, which uses the AUC as metric. | ||
""" | ||
|
||
# Authors: Sylvain Chevallier <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -61,6 +61,7 @@ | |
method of the datasets. It works the same way as for a | ||
paradigm except that it will save un-processed raw recordings. | ||
""" | ||
|
||
# Authors: Pierre Guetschel <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
- LeftRightImagery | ||
""" | ||
|
||
# Authors: Alexandre Barachant <[email protected]> | ||
# Sylvain Chevallier <[email protected]> | ||
# | ||
|
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
In this example, we will use the Zhou2016 dataset because | ||
it is relatively small and can be downloaded quickly. | ||
""" | ||
|
||
# Authors: Pierre Guetschel <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
We will use the P300 paradigm, which uses the AUC as metric. | ||
""" | ||
|
||
# Authors: Pedro Rodrigues <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
pipeline using a 5-fold cross-validation. The reported metric (here, accuracy) | ||
is the average of all fold. | ||
""" | ||
|
||
# Authors: Sylvain Chevallier <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Meta-analysis functions for MOABB.""" | ||
|
||
import itertools | ||
import logging | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""BMI/OpenBMI dataset.""" | ||
|
||
from functools import partialmethod | ||
|
||
import numpy as np | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Base class for a dataset.""" | ||
|
||
import abc | ||
import logging | ||
import re | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Tests to ensure that datasets download correctly.""" | ||
|
||
import unittest | ||
|
||
import mne | ||
|
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
.. versionadded:: 0.4.5 | ||
""" | ||
|
||
import warnings | ||
|
||
# Authors: Jan Sosulski <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
next tutorial. | ||
""" | ||
|
||
# Authors: Vinay Jayaram <[email protected]> | ||
# | ||
# License: BSD (3-clause) | ||
|
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