From 40ad0c9b7b678d271b41db370ea84ee654234d6e Mon Sep 17 00:00:00 2001 From: Bartosz Ogonowski Date: Sat, 2 May 2020 20:18:40 +0200 Subject: [PATCH] laptop commit linear regression --- code_regression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_regression.py b/code_regression.py index 1d37243..854ef7b 100644 --- a/code_regression.py +++ b/code_regression.py @@ -54,7 +54,7 @@ def read_words(input_path): def train(vocabulary,input_train,expected_train): learning_rate=0.00001 - learning_precision=0.0000001 + learning_precision=0.000001 words_vocabulary={} with open(input_train,encoding='utf-8') as input_file, open(expected_train,encoding='utf-8') as expected_file: for line, exp in zip(input_file,expected_file):