laptop commit linear regression
This commit is contained in:
parent
1e6727b14d
commit
37e5b270f2
@ -53,8 +53,8 @@ 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.0000000000001
|
||||||
learning_precision=0.00001
|
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:
|
||||||
for line, exp in zip(input_file,expected_file):
|
for line, exp in zip(input_file,expected_file):
|
||||||
|
2130
dev-0/out.tsv
2130
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
2028
test-A/out.tsv
2028
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user