changed a to a+ if file doesnt exist, in evaluation.py
s444354-training/pipeline/head This commit looks good Details
s444354-evaluation/pipeline/head This commit looks good Details

This commit is contained in:
Adrian Charkiewicz 2022-05-07 11:37:19 +02:00
parent 8efece9077
commit cd2a5f7265
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ print("RMSE: ",metrics[2])
with open('eval.csv', 'a', newline='') as f:
with open('eval.csv', 'a+', newline='') as f:
writer = csv.writer(f)
writer.writerow((metrics[0],metrics[1], metrics[2]))