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

Bypassing writing to disk with python wrapper #54

Open
CarloNicolini opened this issue Feb 19, 2024 · 0 comments
Open

Bypassing writing to disk with python wrapper #54

CarloNicolini opened this issue Feb 19, 2024 · 0 comments

Comments

@CarloNicolini
Copy link

First of all, what a great library is this! Really congrats!

I am using it on a classification problem with the python wrapper, as I wrote a small scikit-learn wrapper around it. However I believe that the great speedup achieved by the rust code is a bit hindered by passing around sparse arrays to disk.

Is there a way to pass directly the training features to the rust code without having to access the disk? Using a scipy.sparse.csr_matrix with its indices and values triple would be great.

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