...
This commit is contained in:
parent
3a1096d32d
commit
8f3c3eb6f6
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -18,7 +18,7 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
def csv_filename = 'body_performance_processed.csv'
|
||||
sh "docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts ium_s487178 python3 ./python_dataset_create.py --csv-file ${csv_filename}"
|
||||
sh "docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts ium_s487178 python3 ./python_dataset_create.py"
|
||||
if (fileExists("${env.WORKSPACE}/artifacts/${csv_filename}")) {
|
||||
archiveArtifacts "${env.WORKSPACE}/artifacts/${csv_filename}"
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ scaler = MinMaxScaler(feature_range=(-1, 1))
|
||||
df['sit and bend forward_cm'] = scaler.fit_transform(df[['sit and bend forward_cm']])
|
||||
|
||||
df.to_csv(r'/app/artifacts/body_performance_processed.csv', index=False)
|
||||
|
||||
print("csv file saved to /app/artifacts/body_performance_processed.csv")
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user