Answers for "scaling pkl file?"

0

scaling pkl file?

# could use: import pickle... however let's do something else
from sklearn.externals import joblib 

# this is more efficient than pickle for things like large numpy arrays
# ... which sklearn models often have.   

# then just 'dump' your file
joblib.dump(clf, 'my_dope_model.pkl')
Posted by: Guest on October-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language