From 9938afc73695ab8dff2ae220f1bce0fb2c1814a9 Mon Sep 17 00:00:00 2001 From: s152483 Date: Mon, 27 Apr 2020 14:18:38 +0000 Subject: [PATCH] prob output --- predict_rm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/predict_rm.py b/predict_rm.py index 95762ba..6bface1 100644 --- a/predict_rm.py +++ b/predict_rm.py @@ -18,7 +18,7 @@ def predict(): y_dev = clf.predict_proba(dev0_vectorizer)[:, 1] y_test = clf.predict_proba(testA_vectorizer)[:, 1] - np.savetxt('test-A/out.tsv', y_dev, '%f') - np.savetxt('dev-0/out.tsv', y_test, '%f') + np.savetxt('test-A/out.tsv', y_test, '%f') + np.savetxt('dev-0/out.tsv', y_dev, '%f') predict()