This commit is contained in:
Szymon Bartanowicz 2024-05-14 21:41:21 +02:00
parent 40f48555c8
commit 9c578e17b3
2 changed files with 2 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -29,8 +29,8 @@ pipeline {
}
}
steps {
sh "chmod +x ./model.py"
sh "python3 ./model.py ${params.EPOCHS}"
sh "chmod +x model.py"
sh "python3 model.py ${params.EPOCHS}"
archiveArtifacts artifacts: 'powerlifting_model.h5', onlyIfSuccessful: true
}
}

View File

@ -1,5 +1,4 @@
import sys
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler, OneHotEncoder