fix
This commit is contained in:
parent
40f48555c8
commit
9c578e17b3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -29,8 +29,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "chmod +x ./model.py"
|
sh "chmod +x model.py"
|
||||||
sh "python3 ./model.py ${params.EPOCHS}"
|
sh "python3 model.py ${params.EPOCHS}"
|
||||||
archiveArtifacts artifacts: 'powerlifting_model.h5', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'powerlifting_model.h5', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
model.py
1
model.py
@ -1,5 +1,4 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from sklearn.model_selection import train_test_split
|
from sklearn.model_selection import train_test_split
|
||||||
from sklearn.preprocessing import StandardScaler, OneHotEncoder
|
from sklearn.preprocessing import StandardScaler, OneHotEncoder
|
||||||
|
Loading…
Reference in New Issue
Block a user