From 978a98936f013c59ba05a27d24d5d7d5c6458b9a Mon Sep 17 00:00:00 2001 From: Bartosz Ogonowski Date: Mon, 8 Jun 2020 19:21:35 +0200 Subject: [PATCH] laptop commit linear regression --- code_regression2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code_regression2 b/code_regression2 index 5aeb4f6..41be07e 100644 --- a/code_regression2 +++ b/code_regression2 @@ -47,10 +47,10 @@ def prediction(input,output): y_hat += weights[word[token]] * line_vocabulary[token] if y_hat > 0.5: output_f.write("1\n") - print(y_hat) + #print(y_hat) else: output_f.write("0\n") - print(y_hat) + #print(y_hat) output_f.close()