From ab3072e91ad89ab49cdec79bcdd507b37fc080a3 Mon Sep 17 00:00:00 2001 From: mkozlowskiAzimuthe Date: Wed, 18 May 2022 16:38:52 +0200 Subject: [PATCH] s444415 --- run.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/run.py b/run.py index f0c49d4..13ffed8 100644 --- a/run.py +++ b/run.py @@ -3,7 +3,6 @@ from sklearn.naive_bayes import GaussianNB from sklearn.feature_extraction.text import TfidfVectorizer - def read_train_data(): print('Load train data') train_data = pd.read_csv("train/train.tsv", sep='\t', header=None) @@ -38,5 +37,4 @@ def get_result(): x, x_p = vectorize(x, x_p) return calc_score(x, y, x_p) - pd.DataFrame(get_result()).to_csv("dev-0/out.tsv", header=False, index=None) \ No newline at end of file