Update script

This commit is contained in:
dylodylo 2020-04-10 19:08:44 +02:00
parent f52d49621a
commit 9a3e41ce4c

View File

@ -22,15 +22,15 @@ if os.path.exists('srr_results.txt') and os.path.exists('wer_results.txt'):
counter+=1
for i in range(counter):
probs.append(i)
for i in range(counter):
probs.append(i)
fig, ax = plt.subplots()
plt.title("WER & SRR")
plt.xlabel("Number of probe")
plt.ylabel("Error value")
plt.plot(probs, wrr_scores)
plt.plot(probs, srr_scores)
ax.legend(["WER", "SRR"])
plt.savefig('plot.png')
fig, ax = plt.subplots()
plt.title("WER & SRR")
plt.xlabel("Number of probe")
plt.ylabel("Error value")
plt.plot(probs, wrr_scores)
plt.plot(probs, srr_scores)
ax.legend(["WER", "SRR"])
plt.savefig('plot.png')