Repository navigation
fix: outstanding occurrences of reblock replaced with rechunk - #203
Merged
Merged
Conversation
Member
|
Thanks, this apparently isn't tested. Could you add a test that hits it? Something like X, y = make_classsification(chunks=20)
X = X.rechunk({1: 10})
assert X.numblocks[1] > 1
clf = SGDClassifier()
inc = Incremental(clf)
inc.fit(X, y) |
This was referenced Jun 11, 2018
Closed
Contributor
Author
|
Hi, sorry, I'll get to this at some point. I've been using my spare time to do stuff in dask/dask/linalg. ... and there's "work". |
…of reblock replaced with rechunk)
Contributor
Author
|
Done. =) |
Member
|
Thanks @convexset! |
convexset
added a commit
to convexset/dask-ml
that referenced
this pull request
Jun 12, 2018
* commit '3de19c57eca9864ca0142a643698e5ff2e73b39e': fix: outstanding occurrences of reblock replaced with rechunk (dask#203)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I was just exploring the code and noticed the occurrence of reblock in
https://github.com/dask/dask/blob/master/dask/array/learn.py#L71
https://github.com/dask/dask/blob/master/dask/array/learn.py#L101
... I looked for the implementation and couldn't find any, and later found out that it was replaced with rechunk.
See: dask/dask#3570