You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
zyqxd
changed the title
Possible to save model into memory?
Possible to save model to in memory string?
Apr 16, 2020
zyqxd
changed the title
Possible to save model to in memory string?
Possible to save model to db storage?
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 wellUnfortunately 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?
The text was updated successfully, but these errors were encountered: