s460941-metrics/plot.py

18 lines
351 B
Python
Raw Normal View History

2020-04-24 07:42:07 +02:00
import pandas as pd
import numpy as np
wer = pd.read_csv('wer.txt')
wer = pd.DataFrame(wer)
srr = pd.read_csv('srr.txt')
srr = pd.DataFrame(srr)
import matplotlib
import matplotlib.pyplot
import matplotlib.pyplot as plt
wx = plt.plot(wer.index,wer,color='red')
plt.savefig("wx.png")
sx = plt.plot(srr.index,srr,color='blue')
plt.savefig("sx.png")