forked from kubapok/auta-public
fix making out files
This commit is contained in:
parent
085e33a1d4
commit
a0b6346b07
2000
dev-0/out.tsv
2000
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
@ -28,10 +28,10 @@ test_prediction = lin_reg.predict(test_x)
|
|||||||
# zapisane predykcji do plików out
|
# zapisane predykcji do plików out
|
||||||
with open('test-A/out.tsv', 'w') as test_output:
|
with open('test-A/out.tsv', 'w') as test_output:
|
||||||
for prediction in test_prediction:
|
for prediction in test_prediction:
|
||||||
test_output.write(str(prediction) + '\n')
|
test_output.write(str(prediction[0]) + '\n')
|
||||||
|
|
||||||
with open('dev-0/out.tsv', 'w') as dev_output:
|
with open('dev-0/out.tsv', 'w') as dev_output:
|
||||||
for prediction in dev_prediction:
|
for prediction in dev_prediction:
|
||||||
dev_output.write(str(prediction) + '\n')
|
dev_output.write(str(prediction[0]) + '\n')
|
||||||
|
|
||||||
|
|
||||||
|
2000
test-A/out.tsv
2000
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user