Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# preparing the submission file
final_prediction = model.predict_classes(clean_test_data_pad)
test_tweets['label'] = final_prediction
test_predictions = test_tweets[['id','label']]
test_predictions.to_csv('LSTM3.csv',index=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.