comment enregistrer les variables python localement
with open('train.pickle', 'wb') as f:
pickle.dump([X_train, y_train], f)
Thoughtless Tapir
with open('train.pickle', 'wb') as f:
pickle.dump([X_train, y_train], f)