Created
August 2, 2018 12:25
-
-
Save ogyalcin/dbe9d452d9f09bd1de2366a171fda082 to your computer and use it in GitHub Desktop.
Make Predictions and Save It to Csv File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| preds = model.predict(test) | |
| results = ids.assign(Survived=preds) | |
| results.to_csv('titanic_submission.csv',index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment