liblinear-ruby icon indicating copy to clipboard operation
liblinear-ruby copied to clipboard

Possible to save model to db storage?

Open zyqxd opened this issue 5 years ago • 0 comments

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 avatar Apr 16 '20 05:04 zyqxd