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'
}
}
stage('Trigger builds') {
steps {
build 's452108-plots'
}
}
}
}

View File

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

View File

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