Skip to content

Bypassing writing to disk with python wrapper #54

Description

@CarloNicolini

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions