Skip to content

Implement make_sparse_spd_matrix using a sparse memory layout from the start #27433

@ogrisel

Description

@ogrisel

Describe the workflow you want to enable

As discussed in #27359, make_sparse_spd_matrix actually returns a dense numpy array (with many zero values).

I think it should be possible to rewrite this code to compose operations on sparse arrays/matrices from the start instead of allocating large dense square matrices.

I have not tried myself, but I think it should be doable and it should be much more memory efficient.

Metadata

Metadata

Assignees

Labels

ModerateAnything that requires some knowledge of conventions and best practicesNew Feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions