test-A denormalized

This commit is contained in:
Karolina Oparczyk 2021-05-17 18:17:13 +02:00
parent a8a249287f
commit 58fa4e4e57
2 changed files with 1007 additions and 1002 deletions

View File

@ -41,9 +41,14 @@ with open("dev-0/out.tsv", "w") as file:
for pred in predicted_denormalized:
file.write(str(pred) + "\n")
with open("test-A/out.tsv", "w") as file:
predicted_denormalizedA = []
for pred in predicted_testA:
file.write(str(pred[0]) + "\n")
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:
for pred in predicted_denormalizedA:
file.write(str(pred) + "\n")
predicted_denormalized = DataFrame(predicted_denormalized, columns=['pred'])

File diff suppressed because it is too large Load Diff