Skip to content

Explore sparse matrices in statespace #535

Open
@jessegrabowski

Description

@jessegrabowski

As statespace systems get really big, they also get really sparse. This will be especially true after we merge #529, and allow users to start sticking together several large systems to form even larger systems.

One way to address this might be to use sparse matrices. I'm not super familiar with where the sharp edges are on pytensor.sparse, so this issue needs someone to come do a bit of exploration. I guess my first question is whether the KalmanFilter will just automagically work as-in if you pass in sparse inputs. If not, figure out what would need to change to make it work.

In either case, the next step would be to see what needs to change in order accommodate sparse matrix outputs. I imagine we would need to have some case logic in PytensorRepresentation, PyMCStatespace, and in each model.build_symbolic_graph method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions