Skip to content

Possible to save model to db storage? #11

@zyqxd

Description

@zyqxd

Hey,

I'm looking to write some production code using liblinear in a Ruby on Rails application. I took a look at save_model, and it looks feasible to store the output in a db text column. Ideally I'd like to get an in memory string representation of the trained model (instead of writing to file, then reading) and load from in memory string as well

Unfortunately I'm not too familiar with ruby wrapper code. I'm assuming there has to be some additional interface to get all the attributes the model has.

How much work do you think it would take to add that feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions