Add 'generate_plot.py'

This commit is contained in:
Tomasz Koszarek 2023-09-29 05:28:49 +02:00
parent 835f15ed62
commit 890bd8994f

12
generate_plot.py Normal file
View File

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