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

What's the best practice to save a model #25

Closed
nickshater opened this issue Aug 14, 2019 · 1 comment
Closed

What's the best practice to save a model #25

nickshater opened this issue Aug 14, 2019 · 1 comment

Comments

@nickshater
Copy link

What's the best way to save a model for reuse, with the unexported fields I'm not seeing any way to store a model in a file or database to load back into an application.

@nickshater
Copy link
Author

nickshater commented Aug 14, 2019

I guess I figured it out, so I won't be able to call r.Predict()

But I can work out the Predict myself using the coefficients which are exported.

EDIT:
Nevermind Coefficients aren't exported either so I guess storing the coefficients myself is the optimal way to handle this?

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