load pickle to a variable
import pickle
with open(filename, 'rb') as f:
var_you_want_to_load_into = pickle.load(f)
4
9
with open('train.pickle', 'wb') as f:
pickle.dump([X_train, y_train], f)
Thank you!
9
0
Are there any code examples left?
New code examples in category Other