Update script
This commit is contained in:
parent
f52d49621a
commit
9a3e41ce4c
20
script.py
20
script.py
@ -22,15 +22,15 @@ if os.path.exists('srr_results.txt') and os.path.exists('wer_results.txt'):
|
|||||||
counter+=1
|
counter+=1
|
||||||
|
|
||||||
|
|
||||||
for i in range(counter):
|
for i in range(counter):
|
||||||
probs.append(i)
|
probs.append(i)
|
||||||
|
|
||||||
|
|
||||||
fig, ax = plt.subplots()
|
fig, ax = plt.subplots()
|
||||||
plt.title("WER & SRR")
|
plt.title("WER & SRR")
|
||||||
plt.xlabel("Number of probe")
|
plt.xlabel("Number of probe")
|
||||||
plt.ylabel("Error value")
|
plt.ylabel("Error value")
|
||||||
plt.plot(probs, wrr_scores)
|
plt.plot(probs, wrr_scores)
|
||||||
plt.plot(probs, srr_scores)
|
plt.plot(probs, srr_scores)
|
||||||
ax.legend(["WER", "SRR"])
|
ax.legend(["WER", "SRR"])
|
||||||
plt.savefig('plot.png')
|
plt.savefig('plot.png')
|
Loading…
Reference in New Issue
Block a user