This commit is contained in:
parent
d132fd150d
commit
7a59073183
@ -26,3 +26,16 @@ file.writelines(accuracy.__str__() + '\n')
|
|||||||
file.close()
|
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
BIN
evaluation-chart.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
5
evaluation.txt
Normal file
5
evaluation.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
0.7662016598975808
|
||||||
|
0.7662016598975808
|
||||||
|
0.7549002295603037
|
||||||
|
0.7549002295603037
|
||||||
|
0.7549002295603037
|
Loading…
Reference in New Issue
Block a user