Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for sparse matrices #9

Open
slinderman opened this issue Nov 21, 2016 · 0 comments
Open

Support for sparse matrices #9

slinderman opened this issue Nov 21, 2016 · 0 comments

Comments

@slinderman
Copy link
Collaborator

This is a rather vague issue... I'm working on a few projects that have very large and very sparse observations. That motivated the development of the ZeroInflatedCountModels, which takes in sparse matrices in csr_matrix format. We could extend this interface to all of the _LDSStates objects, and it might just work™ since we the data are primarily used to compute node potentials, which are mostly just dot products.

Count data present a more challenging problem. If the data are not "zero inflated," I don't see any way around instantiating a matrix of auxiliary variables the same size as the observations.

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

No branches or pull requests

1 participant