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

Possible to save model to db storage? #11

Open
zyqxd opened this issue Apr 16, 2020 · 0 comments
Open

Possible to save model to db storage? #11

zyqxd opened this issue Apr 16, 2020 · 0 comments

Comments

@zyqxd
Copy link

zyqxd commented Apr 16, 2020

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?

@zyqxd zyqxd changed the title Possible to save model into memory? Possible to save model to in memory string? Apr 16, 2020
@zyqxd zyqxd changed the title Possible to save model to in memory string? Possible to save model to db storage? Apr 16, 2020
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