diff --git a/eval-tensorflow.py b/eval-tensorflow.py index c123fae..03c4b5c 100644 --- a/eval-tensorflow.py +++ b/eval-tensorflow.py @@ -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") \ No newline at end of file diff --git a/evaluation-chart.png b/evaluation-chart.png new file mode 100644 index 0000000..5109d6c Binary files /dev/null and b/evaluation-chart.png differ diff --git a/evaluation.txt b/evaluation.txt new file mode 100644 index 0000000..4f0f359 --- /dev/null +++ b/evaluation.txt @@ -0,0 +1,5 @@ +0.7662016598975808 +0.7662016598975808 +0.7549002295603037 +0.7549002295603037 +0.7549002295603037