-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG] ENH: Added block_size parameter for lesser memory consumption #7979
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
Closed
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7cfcd43
ENH: Added template for pairwise_distances_blockwise with docstring c…
dalmia dfb99fc
ENH: added generator of blocks based on block_size
dalmia 1e687d1
FIX: removed errors and extra value for metric
dalmia 172e7f5
FIX: remove redundant variables
dalmia 686d0d2
FIX: remove flake8 errors
dalmia c7de820
BUG: added fix for Y=None
dalmia 0fb992f
FIX: remove whitespace
dalmia 9b80491
FIX: fix typo
dalmia 8e900e3
TST: added tests for pairwise_distances_blockwise
dalmia 6be6ea2
FIX: removed errors and modified pairwise_distances_blockwise with tests
dalmia 6d79bdd
FIX: fix typo
dalmia 54ff9f5
WIP: support for nearest neighbors
dalmia 8986965
ENH: passing arguments to reduce_func via partial
dalmia a072f11
FIX: remove true_distances as parameter
dalmia e0fb4c5
FIX: revert unintended change
dalmia 508afae
FIX: convert float indices to int
dalmia b515105
FIX: removed debug lines
dalmia f1f7348
ENH: added pairwise_distances_reduce for radius_neighbors
dalmia d54def1
FIX: changed order of reduce_func
dalmia 3e8adfc
FIX: get pairwise_distances_reduce to work correctly
dalmia 4b8c7b2
FIX: remove flake8 errors
dalmia 97486f6
FIX: rename reduce_func
dalmia 722a9eb
FIX: return stacked distances from pairwise_distances_reduce
dalmia 5ae169b
TST: added tests for pairwise_distances_reduce
dalmia 1cd56a8
FIX: correct doctests
dalmia 855ea0a
FIX: remove conflicting doctests for Python2 and Python3
dalmia 6dd1d36
FEAT: add new file for flexible_vstack
dalmia d3f607d
FIX: resolve conflicts on tests
dalmia c373cee
FIX: remove block_size placeholders from neighbors
dalmia 21ad2b1
FIX: use generator expressions
dalmia 676c272
FIX: replace error on invalid block_size with warning
dalmia a3074be
FIX: replace error on invalid block_size with warning
dalmia 3756a58
TST: check each components meets specified memory requirement
dalmia 2ab293b
FIX: remove PEP8 errors
dalmia 84d34e3
ENH: move flexible_vstack to __init__
dalmia 6d49c12
TST: add tests for flexible_vstack
dalmia b3fb795
DOC: improve docstring for
dalmia f3d3a1a
FIX: correct X, y for Python3
dalmia f901d7e
ENH: rewrote pairwise_distances_argmin_min using pairwise_distances_r…
dalmia 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
this might as well be empty or zeros