zad4 test19

This commit is contained in:
massta 2020-04-05 20:12:48 +02:00
parent eeebca15b1
commit ed3b4ba356
3 changed files with 13 additions and 8 deletions

View File

@ -27,6 +27,11 @@ archiveArtifacts 'averagewer.txt'
archiveArtifacts 'wikiniews_results.tsv' archiveArtifacts 'wikiniews_results.tsv'
} }
} }
stage('Trigger builds') {
steps {
build 's452108-plots'
}
}
} }
} }

View File

@ -11,13 +11,13 @@ i = 0
with open('averagesrr.txt','r') as csvfile: with open('averagesrr.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
for row in plots: for row in plots:
x.append(float(row[0])) y.append(float(row[0]))
y.append(int(i)) x.append(int(i))
i=i+1 i=i+1
plt.plot(x,y) plt.plot(x,y)
plt.xlabel('SRR') plt.ylabel('SRR')
plt.ylabel('Numer') plt.xlabel('Numer')
plt.title('Average plot SRR') plt.title('Average plot SRR')
plt.legend() plt.legend()
plt.savefig('plotsrr.png') plt.savefig('plotsrr.png')

View File

@ -11,13 +11,13 @@ i = 0
with open('averagewer.txt','r') as csvfile: with open('averagewer.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
for row in plots: for row in plots:
x.append(float(row[0])) y.append(float(row[0]))
y.append(int(i)) x.append(int(i))
i=i+1 i=i+1
plt.plot(x,y) plt.plot(x,y)
plt.xlabel('WER') plt.ylabel('WER')
plt.ylabel('Numer') plt.xlabel('Numer')
plt.title('Average plot WER') plt.title('Average plot WER')
plt.legend() plt.legend()
plt.savefig('plotwer.png') plt.savefig('plotwer.png')