Skip to content

Compressed Eigen Vector Matrix (BlockDiagMatrix) #442

@garrettwrong

Description

@garrettwrong

In #411 one of the main pieces of data is a block diagonal matrix of eigenvectors.

When we sort by eigenvalue and truncate to some number of top components I believe this matrix loses its structure.

Because it was only one matrix I cheated and got around this by expanding it to a dense representation. This works but is somewhat unsatisfying.

One way to manage this might be to use masks and index translation, but that should be wrapped up in a class. Essentially population selection would not really change the underlying matrix, rather defining the mask/swapping.

I believe this area of the legacy MATLAB code was somewhat bespoke, while we are trying to maintain some more uniformity in ASPIRE-Python. I am open to other ways of managing this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    OptimizationPerformance or Resource OptimzationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions