After identifying the best parameters using a pipeline and GridSearchCV, how do I pickle/joblib this process to re-use later?
pipeline
GridSearchCV
pickle
joblib
from sklearn.externals import joblib joblib.dump(grid.best_estimator_, 'filename.pkl')
If you want to dump your object into one file - use:
joblib.dump(grid.best_estimator_, 'filename.pkl', compress = 1)