forked from kubapok/auta-public
Fixed the outputs
This commit is contained in:
parent
7c0a80aa6e
commit
78bb7c0a0e
4
Auta.py
4
Auta.py
@ -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__":
|
||||
|
2001
dev-0/out.tsv
2001
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
2001
test-A/out.tsv
2001
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user