Skip to content

Support short-fat array chunking in svd #6590

Closed

Description

@eric-czech

There appears to be no reason why it wouldn't be possible to use the current support for tall-skinny array chunking in da.linalg.svd to also support short-fat array chunking.

Transposing inputs and outputs also appears to be a simpler solution than updating the sfqr implementation (see @mrocklin's comments at dask/dask-ml#731 (comment)).

While there are likely some other use cases, this came up in the context of PCA and it looks like some minor changes will also be necessary to support sign determinacy. Having a full_matrices argument (#3576) would be a good solution for dask/dask-ml#732 (svd_flip in dask-ml is broken without it).

Activity

  1. mrocklin commented on Sep 2, 2020

    @mrocklin
    Member

    I'm all in favor of this. Is this something that you would be comfortable driving forward @eric-czech ?

  2. eric-czech commented on Sep 2, 2020

    @eric-czech
    ContributorAuthor

    Is this something that you would be comfortable driving forward @eric-czech ?

    👍 I wanted to collect my thoughts here and I'll draft a PR at some point soon to make sure it's on the right track.

  3. eric-czech commented on Sep 11, 2020

    @eric-czech
    ContributorAuthor

    Done in #6591, some benchmark info in #6613.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions