copy artifacts metrics
Some checks failed
s434765-evaluation/pipeline/head There was a failure building this commit
Some checks failed
s434765-evaluation/pipeline/head There was a failure building this commit
This commit is contained in:
parent
af166d8471
commit
693dd19e22
@ -15,17 +15,19 @@ node {
|
|||||||
|
|
||||||
}
|
}
|
||||||
stage('Clone repo') {
|
stage('Clone repo') {
|
||||||
docker.image("karopa/ium:12").inside {
|
docker.image("karopa/ium:13").inside {
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training/master/', selector: buildParameter("BUILD_MODEL")
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training/master/', selector: buildParameter("BUILD_MODEL")
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-evaluation/evaluation/', selector: buildParameter("BUILD_EVALUATION")
|
||||||
sh '''
|
sh '''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
chmod 777 evaluate_network.py
|
chmod 777 evaluate_network.py
|
||||||
python3 evaluate_network.py | tee output.txt
|
python3 evaluate_network.py | tee output.txt
|
||||||
'''
|
'''
|
||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'output.txt'
|
||||||
|
archiveArtifacts 'rmse.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,3 +36,6 @@ for (pred, test) in zip(prediction_denormalized, y_test.values):
|
|||||||
|
|
||||||
error = mean_squared_error(y_test, prediction_denormalized)
|
error = mean_squared_error(y_test, prediction_denormalized)
|
||||||
print(error)
|
print(error)
|
||||||
|
|
||||||
|
with open("rmse.txt", "a") as file:
|
||||||
|
file.write(error)
|
||||||
|
Loading…
Reference in New Issue
Block a user