Skip to content

Instantly share code, notes, and snippets.

@frenzy2106
Created March 18, 2020 09:37
Show Gist options
  • Save frenzy2106/2c6db870e7367b3915ab6587493e8d3f to your computer and use it in GitHub Desktop.
Save frenzy2106/2c6db870e7367b3915ab6587493e8d3f to your computer and use it in GitHub Desktop.
# 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