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

Zero rows #132

Open
surbut opened this issue Sep 5, 2024 · 2 comments
Open

Zero rows #132

surbut opened this issue Sep 5, 2024 · 2 comments

Comments

@surbut
Copy link

surbut commented Sep 5, 2024

I have tried this command on a sparse matrix (755 rowSums=0, 13 colSums =0, 38 colSums !=0, 245 rowSums !=0) with S= 1/1500 and var =0. Works on the sparse tensor, but not the matrix slice.

receive error below:

the data matrix must not have any rows or columns whose entries are either identically zero or all missing. Thanks!

@pcarbo
Copy link
Collaborator

pcarbo commented Sep 5, 2024

Hi @surbut I believe you will first need to manually remove rows and columns that are entirely zero. (And I think more generally it might be a good idea to remove rows andcolumns with that do not vary.)

@surbut
Copy link
Author

surbut commented Sep 5, 2024

thanks @pcarbo .. it did work on the tensor, but perhaps that's because at some point in the unfolding there were non zero entries. Will revisit, thanks!

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

2 participants