-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ENH Batch GeneralizingEstimator's estimator and scoring
#13909
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
Open
mathias-sm
wants to merge
26
commits into
mne-tools:main
Choose a base branch
from
mathias-sm:enh-issue-13906-BatchedGeneralizingEstimator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+246
−21
Open
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b2cbd64
Batch estimator call in GeneralizingEstimator.score
mathias-sm 3cef4a5
ENH: Vectorise accuracy scoring in GeneralizingEstimator.score
mathias-sm 7a66f15
MAINT: Refactor batched fast path in GeneralizingEstimator.score
mathias-sm 3202895
ENH: Vectorise balanced_accuracy in GeneralizingEstimator.score
mathias-sm 7a30425
ENH: Batch `scoring=None` in GeneralizingEstimator.score
mathias-sm b23e72d
ENH: Vectorise roc_auc in GeneralizingEstimator.score
mathias-sm aac4a90
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] df1cfdd
Fix typo: computaion ==> computation...
mathias-sm d7faec4
Adds entry in `doc/changes/dev/` + `names.inc`
mathias-sm b1830f2
Clarify comments + harmonize var names
mathias-sm d3f94ec
Merge branch 'mne-tools:main' into enh-issue-13906-BatchedGeneralizin…
mathias-sm f059622
Match comment and docstring
mathias-sm 86f9b3b
Minimal comment change to re-trigger tests
mathias-sm c475df7
Merge branch 'main' into enh-issue-13906-BatchedGeneralizingEstimator
mathias-sm e8341d0
Reuse `_gl_transform` where possible
mathias-sm 19e918f
Create helper functions to _gl_score
mathias-sm e775c12
transpose + reshape once only in `_gl_transform`
mathias-sm bd87068
Variable initialization not used anymore
mathias-sm ed3ada8
Fix docstrings in _gl_score and _gl_transform
mathias-sm 98003f6
Adds tests for the batched/vectorized _gl_score
mathias-sm 5df991b
Merge branch 'main' into enh-issue-13906-BatchedGeneralizingEstimator
larsoner 321c05d
More transparent reshaping syntax
mathias-sm 7e0fa3a
Use standard syntax for optional dims in docstring
mathias-sm a17fb0e
Fix typo / syntax error in new reshaping syntax
mathias-sm 5ca53eb
Uses `functools.wraps` instead of manual attr copy
mathias-sm 82eb284
Merge branch 'mne-tools:main' into enh-issue-13906-BatchedGeneralizin…
mathias-sm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Batch and vectorise classifier estimation and scoring in | ||
| :meth:`mne.decoding.GeneralizingEstimator.score` for ``scoring=None``, | ||
| ``"accuracy"``, ``"balanced_accuracy"`` and ``"roc_auc"``, by | ||
| :newcontrib:`Mathias Sablé-Meyer`. |
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.