Skip to content

Commit

Permalink
Changing: name of TimeSeriesSplit to PseudoOnlineSplit
Browse files Browse the repository at this point in the history
Adding: figures for documentation
  • Loading branch information
brunaafl committed Sep 30, 2024
1 parent a6b5772 commit 26b13d5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
Binary file added docs/source/images/crosssess.pdf
Binary file not shown.
Binary file added docs/source/images/crosssubj.pdf
Binary file not shown.
Binary file added docs/source/images/withinsess.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions docs/source/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Enhancements
- Add new dataset :class:`moabb.datasets.Rodrigues2017` dataset (:gh:`602` by `Gregoire Cattan`_ and `Pedro L. C. Rodrigues`_)
- Change unittest to pytest (:gh:`618` by `Bruno Aristimunha`_)
- Remove tensorflow import warning (:gh:`622` by `Bruno Aristimunha`_)
- Add data splitter classes (:gh:`612` by `Bruna Lopes_`)

Bugs
~~~~
Expand Down
12 changes: 12 additions & 0 deletions moabb/evaluations/splitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class WithinSessionSplitter(BaseCrossValidator):
and test sets on separate session for each subject. This splitter assumes that
all data from all subjects is already known and loaded.
. image:: images/withinsess.pdf
:alt: The schematic diagram of the WithinSession split
:align: center
Parameters
----------
n_folds : int
Expand Down Expand Up @@ -139,6 +143,10 @@ class CrossSessionSplitter(BaseCrossValidator):
evaluate performance across sessions, but for a single subject. This splitter
assumes that all data from all subjects is already known and loaded.
. image:: images/crosssess.pdf
:alt: The schematic diagram of the CrossSession split
:align: center
Parameters
----------
n_folds :
Expand Down Expand Up @@ -246,6 +254,10 @@ class CrossSubjectSplitter(BaseCrossValidator):
evaluate performance across sessions, but for a single subject. This splitter
assumes that all data from all subjects is already known and loaded.
. image:: images/crosssubj.pdf
:alt: The schematic diagram of the CrossSubj split
:align: center
Parameters
----------
n_groups : int or None
Expand Down

0 comments on commit 26b13d5

Please sign in to comment.