Add 'generate_plot.py'
This commit is contained in:
parent
835f15ed62
commit
890bd8994f
12
generate_plot.py
Normal file
12
generate_plot.py
Normal 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')
|
Loading…
Reference in New Issue
Block a user