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

Use SparseBitVect to construct csr_matrix #54

Open
c-w-feldmann opened this issue Jul 17, 2024 · 0 comments
Open

Use SparseBitVect to construct csr_matrix #54

c-w-feldmann opened this issue Jul 17, 2024 · 0 comments
Labels
status: backlog Things we will work on, but not right now type: enhancement New feature or request

Comments

@c-w-feldmann
Copy link
Collaborator

From this comment:
It could be worth doing an experiment to check if the explicit bit vector from GetFingerprintAsNumpy can be replaced by a call to GetSparseFingerprint which returns a SparseBitVect that is much smaller than the explicit version. In this way much less temporary memory would need to be allocated. However, I am not sure if the csr_matrix constructor supports the SparseBitVect. In addition, this more memory efficient way is probably slower than using numpy arrays.

@c-w-feldmann c-w-feldmann added type: enhancement New feature or request status: backlog Things we will work on, but not right now labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backlog Things we will work on, but not right now type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant