Skip to content

Add 2D possibility to da.linalg.lstsq, mirroring numpy#6749

Merged
jsignell merged 1 commit intodask:masterfrom
aulemahal:fix-6516
Oct 20, 2020
Merged

Add 2D possibility to da.linalg.lstsq, mirroring numpy#6749
jsignell merged 1 commit intodask:masterfrom
aulemahal:fix-6516

Conversation

@aulemahal
Copy link
Contributor

This simply modifies the way residuals are compute so dask.array.linalg.lstsq(a,b) can handle the case where b is bidimensional, mirroring the behaviour of np.linalg.lstsq. The doc was also updated.

@aulemahal aulemahal changed the title Add 2D possibility to da.linalg.lstsq. mirroring numpy Add 2D possibility to da.linalg.lstsq, mirroring numpy Oct 19, 2020
Copy link
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Thanks for submitting this PR :)

@jsignell jsignell merged commit 2b45fdb into dask:master Oct 20, 2020
kumarprabhu1988 pushed a commit to kumarprabhu1988/dask that referenced this pull request Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing 2D case for residuals in dask.array.linalg.lstsq

2 participants