laptop commit linear regression

This commit is contained in:
Bartosz Ogonowski 2020-05-02 20:51:34 +02:00
parent 689232cfef
commit dfa4304d9c
3 changed files with 2446 additions and 2446 deletions

View File

@ -53,7 +53,7 @@ def read_words(input_path):
return vocabulary return vocabulary
def train(vocabulary,input_train,expected_train): def train(vocabulary,input_train,expected_train):
learning_rate=0.00001 learning_rate=0.0001
#learning_precision=0.0000001 #learning_precision=0.0000001
words_vocabulary={} words_vocabulary={}
with open(input_train,encoding='utf-8') as input_file, open(expected_train,encoding='utf-8') as expected_file: with open(input_train,encoding='utf-8') as input_file, open(expected_train,encoding='utf-8') as expected_file:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff