ium_z434686/plot.py

15 lines
361 B
Python
Raw Normal View History

2023-05-11 00:31:30 +02:00
import pandas
2023-05-11 00:48:41 +02:00
import matplotlib.pyplot as plt
2023-05-11 00:31:30 +02:00
2023-05-11 00:52:02 +02:00
metrics = pandas.read_csv('./metrics.csv',
2023-05-11 00:31:30 +02:00
engine='python',
encoding='ISO-8859-1',
sep=',')
2023-05-11 00:57:13 +02:00
builds = metrics[metrics.columns[0]]
accuracy = metrics[metrics.columns[1]]
2023-05-11 00:31:30 +02:00
2023-05-11 00:48:41 +02:00
plt.plot(builds,accuracy)
plt.savefig('metrics.png')