add baseline mean from train

This commit is contained in:
kubapok 2021-01-20 21:02:15 +01:00
parent 97d368f880
commit a8a0ef5ace
3 changed files with 237740 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import pandas as pd
r = pd.read_csv('../train/expected.tsv', header = None)
mean = str(float(r.mean()))
with open('dev-0/out.tsv','w') as f_out, open('../dev-0/in.tsv', 'r') as f_in:
pass
for line in f_in:
f_out.write(mean + '\n')
with open('test-A/out.tsv','w') as f_out, open('../test-A/in.tsv', 'r') as f_in:
pass
for line in f_in:
f_out.write(mean + '\n')

119067
dev-0/out.tsv Normal file

File diff suppressed because it is too large Load Diff

118659
test-A/out.tsv Normal file

File diff suppressed because it is too large Load Diff