diff --git a/dev-0/out.tsv b/dev-0/out.tsv index d6460b1..3c7efbe 100644 --- a/dev-0/out.tsv +++ b/dev-0/out.tsv @@ -1,5 +1,4 @@ 0 -0 1 0 0 diff --git a/run.py b/run.py index 58e7145..546e6f0 100644 --- a/run.py +++ b/run.py @@ -43,5 +43,5 @@ train_bayes(model, train_x, train_y) predicted = model.classify(dev_x) predicted2 = model.classify(test_x) -pd.DataFrame(predicted).to_csv('dev-0/out.tsv', sep='\t', encoding="utf-8", index=False) -pd.DataFrame(predicted2).to_csv('test-A/out.tsv', sep='\t', encoding="utf-8", index=False) +pd.DataFrame(predicted).to_csv('dev-0/out.tsv', sep='\t', header=None, encoding="utf-8", index=False) +pd.DataFrame(predicted2).to_csv('test-A/out.tsv', sep='\t', header=None, encoding="utf-8", index=False) diff --git a/test-A/out.tsv b/test-A/out.tsv index d1420ef..902a4ec 100644 --- a/test-A/out.tsv +++ b/test-A/out.tsv @@ -14,7 +14,6 @@ 0 0 0 -0 1 0 0