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

Issue: Dimension of the matrix after removing all-zero rows is tremendously reduced #11

Open
khanhcodes opened this issue Aug 12, 2022 · 0 comments

Comments

@khanhcodes
Copy link

khanhcodes commented Aug 12, 2022

Hello,

I am new to this tool and I have tried using it on the sample data and it seems to work fine. I then attempted to train the model on my own dataset (200, 41966) consisting of 200 cells and 41966 gene features. When I converted the train data in CSV file to HDF5 format using the actinn_format.py, it said Dimension of the matrix after removing all-zero rows: (28, 41966). I checked my data file and there are no rows that have all zeros in since the data was scaled. This also caused me an issue when I tried to run the actinn_predict.py since the label I input is the text file containing 200 labels (not 28). Therefore, when the matrix was reduced, I received the IndexError: single positional indexer is out-of-bounds. Could you help me understand how the reducing matrix works and how to solve this issue? Thank you so much.

image

@khanhcodes khanhcodes changed the title Issue; Dimension of the matrix after removing all-zero rows is tremendously reduced Issue: Dimension of the matrix after removing all-zero rows is tremendously reduced Aug 12, 2022
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