Dodanie 'plot.py'

This commit is contained in:
Patryk Łukasiewicz 2023-05-12 18:24:32 +02:00
parent a03280a6a0
commit 5862f2dd31

13
plot.py Normal file
View File

@ -0,0 +1,13 @@
import pandas
import matplotlib.pyplot as plt
metrics = pandas.read_csv('./metrics.csv',
engine='python',
encoding='ISO-8859-1',
sep=',')
builds = metrics[metrics.columns[0]]
accuracy = metrics[metrics.columns[1]]
plt.plot(builds,accuracy)
plt.savefig('metrics.png')