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

How to save and load models? #47

Open
783572361 opened this issue Aug 31, 2018 · 3 comments
Open

How to save and load models? #47

783572361 opened this issue Aug 31, 2018 · 3 comments

Comments

@783572361
Copy link

How to save and load models?

@zhaopanpan73
Copy link

I have the same question as you

@RizhaoCai
Copy link

How to save and load models?

SAME QUESTION. How to save a model and load it? Have you found the way?

@RizhaoCai
Copy link

How to save and load models?

class SKlearnBaseClassifier(BaseClassifierWrapper):
def _load_model_from_disk(self, cache_path):
return joblib.load(cache_path)

def _save_model_to_disk(self, clf, cache_path):
    joblib.dump(clf, cache_path)

you can refer to this:
image

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

3 participants