laptop commit linear regression

This commit is contained in:
Bartosz Ogonowski 2020-05-02 20:18:40 +02:00
parent d42af9403b
commit 40ad0c9b7b

View File

@ -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):