s460941-metrics/plot.py
2020-04-24 07:52:11 +02:00

18 lines
351 B
Python
Executable File

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")