Skip to content

Commit

Permalink
Rename kaggle.py to sentiment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gwulfs committed Apr 18, 2015
1 parent c0808f3 commit 4b8be6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/kaggle.py → examples/sentiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def clean(texts):
teX = tokenizer.transform(teX)
pr_teX = model.predict(teX).flatten()

pd.DataFrame(np.asarray([ids, pr_teX]).T).to_csv('submission.csv', index=False, header=["id", "sentiment"])
pd.DataFrame(np.asarray([ids, pr_teX]).T).to_csv('submission.csv', index=False, header=["id", "sentiment"])

0 comments on commit 4b8be6d

Please sign in to comment.