From 4b8be6dc4d17ccc78a21abc82afb2d0f72c04b91 Mon Sep 17 00:00:00 2001 From: Gideon Wulfsohn Date: Sat, 18 Apr 2015 12:50:13 -0400 Subject: [PATCH] Rename kaggle.py to sentiment.py --- examples/{kaggle.py => sentiment.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename examples/{kaggle.py => sentiment.py} (96%) diff --git a/examples/kaggle.py b/examples/sentiment.py similarity index 96% rename from examples/kaggle.py rename to examples/sentiment.py index 6883bd5..01278f7 100644 --- a/examples/kaggle.py +++ b/examples/sentiment.py @@ -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"]) \ No newline at end of file + pd.DataFrame(np.asarray([ids, pr_teX]).T).to_csv('submission.csv', index=False, header=["id", "sentiment"])