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 unpickle model train by python #25

Open
iris-qq opened this issue Nov 26, 2019 · 0 comments
Open

how to unpickle model train by python #25

iris-qq opened this issue Nov 26, 2019 · 0 comments

Comments

@iris-qq
Copy link

iris-qq commented Nov 26, 2019

train in python:

import pickle
from sklearn.svm import LinearSVC

clf = LinearSVC()
with open("test.pkl","wb") as f:
    f.write(pickle.dumps(clf,2))

if i want to load this model , i need know the struct of this model.In fact, I know nothing about the internals of the model save file.
anybody help? pls

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