Fixed the outputs

This commit is contained in:
Dominik Strzako 2021-05-18 18:15:54 +02:00
parent 7c0a80aa6e
commit 78bb7c0a0e
4 changed files with 3003 additions and 2004 deletions

View File

@ -45,7 +45,7 @@ def main():
data = {'Price':y_pred}
y_pred = pd.DataFrame(data)
y_pred.to_csv(r'dev-0/out.tsv', sep='\t')
y_pred.to_csv(r'dev-0/out.tsv', sep='\t', index=False, header=False)
rmse = mean_squared_error(y_dev, y_pred, squared=False)
print(rmse)
@ -55,7 +55,7 @@ def main():
data = {'Price':y_pred_test}
y_pred_test = pd.DataFrame(data)
y_pred_test.to_csv(r'test-A/out.tsv', sep='\t')
y_pred_test.to_csv(r'test-A/out.tsv', sep='\t', index=False, header=False)
if __name__ == "__main__":

File diff suppressed because it is too large Load Diff

1001
out.tsv Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff