-
Notifications
You must be signed in to change notification settings - Fork 162
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
Faster sampling 2D Riemannian Gaussian #198
Merged
sylvchev
merged 26 commits into
pyRiemann:master
from
Artim436:faster_2D_riemannian_gaussian
Aug 25, 2022
Merged
Changes from 5 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b007215
premiere_prop
Artim436 193565f
premiere_prop
Artim436 5212dfe
bye_v2
Artim436 cbc6293
docstring
Artim436 258b250
pedro check
74677de
Update pyriemann/datasets/sampling.py
Artim436 e216400
Update pyriemann/datasets/sampling.py
Artim436 5d286f8
Update pyriemann/datasets/sampling.py
Artim436 8cd5df1
Update pyriemann/datasets/sampling.py
Artim436 c0bf9d5
changepep257
Artim436 eca8dce
correct tests
qbarthelemy 58f6129
correct my own commit
qbarthelemy 349d118
Update pyriemann/datasets/sampling.py
Artim436 d6cdc87
test_sampling_change
Artim436 4f628a9
reduce dimension to speedup the lengthy test_simulated
qbarthelemy e8ba5a4
reduce dimension to speedup the lengthy test_sampling, and complete t…
qbarthelemy 200b547
complete test_simulated
qbarthelemy 980a878
remove upper case
qbarthelemy 4f43275
complete whatsnew
qbarthelemy ea1856d
Apply suggestions from code review
agramfort 5d411a3
sampling_method default switched to auto
d716ad7
update docstring, reference and version
109157d
correct tests
qbarthelemy 2c862c1
add last version information
87cf7ad
reformat code before merge
70b083e
rephrase docstring
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would introduce a value called "auto" for the sampling_method method that would default to "rejection" if dim == 2 and slice otherwise so you don't have to expose these options in the tutorial and it will just become faster for users without any code change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand your point. I have the impression that the default value "None" already fulfils the role of the auto variable you want to define.