forked from kubapok/auta-public
test-A denormalized
This commit is contained in:
parent
a8a249287f
commit
58fa4e4e57
9
main.py
9
main.py
@ -41,9 +41,14 @@ with open("dev-0/out.tsv", "w") as file:
|
|||||||
for pred in predicted_denormalized:
|
for pred in predicted_denormalized:
|
||||||
file.write(str(pred) + "\n")
|
file.write(str(pred) + "\n")
|
||||||
|
|
||||||
|
predicted_denormalizedA = []
|
||||||
|
for pred in predicted_testA:
|
||||||
|
denorm = pred[0] * (max_val[0] - min_val[0]) + min_val[0]
|
||||||
|
predicted_denormalizedA.append(denorm)
|
||||||
|
|
||||||
with open("test-A/out.tsv", "w") as file:
|
with open("test-A/out.tsv", "w") as file:
|
||||||
for pred in predicted_testA:
|
for pred in predicted_denormalizedA:
|
||||||
file.write(str(pred[0]) + "\n")
|
file.write(str(pred) + "\n")
|
||||||
|
|
||||||
|
|
||||||
predicted_denormalized = DataFrame(predicted_denormalized, columns=['pred'])
|
predicted_denormalized = DataFrame(predicted_denormalized, columns=['pred'])
|
||||||
|
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