Evaluation
All checks were successful
s434780-evaluation/pipeline/head This commit looks good

This commit is contained in:
sadurska@trui.pl 2021-05-17 12:37:21 +02:00
parent d132fd150d
commit 7a59073183
3 changed files with 18 additions and 0 deletions

View File

@ -26,3 +26,16 @@ file.writelines(accuracy.__str__() + '\n')
file.close()
with open('evaluation.txt', 'r') as f:
lines = f.readlines()
fig = plt.figure(figsize=(10, 5))
chart = fig.add_subplot()
chart.set_title("Accuracy")
chart.set_ylabel("Accuracy value")
chart.set_xlabel("Build number")
x = np.arange(0, len(lines), 1)
y = [float(x) for x in lines]
plt.plot(x, y)
plt.savefig("evaluation-chart.png")

BIN
evaluation-chart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

5
evaluation.txt Normal file
View File

@ -0,0 +1,5 @@
0.7662016598975808
0.7662016598975808
0.7549002295603037
0.7549002295603037
0.7549002295603037