From c615429b3b3672285e2e77aad1639128ab505f2d Mon Sep 17 00:00:00 2001 From: JPogodzinski Date: Fri, 7 May 2021 13:59:47 +0200 Subject: [PATCH] slight changes --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index 8bbd3ec..ac4f4cb 100644 --- a/main.py +++ b/main.py @@ -21,9 +21,6 @@ x_train=v.fit_transform(x_np) naive_bayes.fit(x_train, y_train) ball_dev = pd.read_csv('dev-0/in.tsv', sep='\t', error_bad_lines=False, header=None) -with open('dev-0/expected.tsv', 'r') as dev_exp_f: - Y_dev = np.array([float(x.rstrip('\n')) for x in dev_exp_f.readlines()]) - X_dev = pd.DataFrame(ball_dev) X_dev_np=X_dev.to_numpy()