import pickle with open(filename, 'wb') as fout: pickle.dump((movieVzer, movieTfmer, clf), fout)
import pickle with open('finalized_model.pkl', 'rb') as f: movieVzer, movieTfmer, clf = pickle.load(f)