-
-
Notifications
You must be signed in to change notification settings - Fork 11k
BUG: Limit the maximal number of bins for automatic histogram binning #28426
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
Merged
+26
−18
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b036bbc
Limit the maximal number of bins for automatic histogram binning
eendebakpt 931bf14
BUG: Limit the maximal number of bins for automatic histogram binning
eendebakpt 27beb2f
fix test
eendebakpt 9ee5772
Merge branch 'auto_bins' of github.com:eendebakpt/numpy into auto_bins
eendebakpt 0e1d2c0
fix test import
eendebakpt b50ced7
Update numpy/lib/_histograms_impl.py
eendebakpt 4b543f4
lint
eendebakpt 31408fb
lint
eendebakpt 81b668f
Merge branch 'auto_bins' of github.com:eendebakpt/numpy into auto_bins
eendebakpt e4f1217
add release note
eendebakpt 669c938
fix issues with overflow
eendebakpt 7f9b183
review comments
eendebakpt 8d53771
remove unused import
eendebakpt ef2346d
remove unused import
eendebakpt a916352
typo
eendebakpt ea4eada
use continuous bin approximation
eendebakpt 721a696
update test
eendebakpt 258688c
Apply suggestions from code review
eendebakpt 986338f
Apply suggestions from code review
seberg 4a526bc
Update numpy/lib/tests/test_histograms.py
eendebakpt de2438d
fix test
eendebakpt ddd44e9
Update numpy/lib/_histograms_impl.py
eendebakpt 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
add release note
- Loading branch information
commit e4f1217375e3d5a4eb2ebed2f4fd43b774293dbb
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,8 @@ | ||
Changes to automatic bin selection in numpy.histogram | ||
----------------------------------------------------- | ||
The automatic bin selection algorithm in ``numpy.histogram`` has been modified | ||
to avoid out-of-memory errors for samples with low variation. | ||
For full control over the selected bins the user can use set | ||
the ``bin`` or ``range`` parameters of ``numpy.histogram``. | ||
|
||
|
||
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.