Fixes for chart
This commit is contained in:
parent
f970648895
commit
bc20b3e4e4
@ -10,12 +10,11 @@ y = []
|
||||
if os.path.exists('bulk_metrics.txt'):
|
||||
with open('bulk_metrics.txt') as file:
|
||||
for line in file.readlines():
|
||||
print(line.split(" "))
|
||||
single_x, single_y = line.split(" ")
|
||||
x.append(single_x)
|
||||
y.append(single_y)
|
||||
y.append(float(single_y))
|
||||
|
||||
plt.plot(x, y)
|
||||
plt.xlabel('Jobs')
|
||||
plt.xlabel('Job')
|
||||
plt.ylabel('RMSE')
|
||||
plt.savefig('chart.png')
|
||||
|
Loading…
Reference in New Issue
Block a user