Jenkins file to stats

This commit is contained in:
Mikołaj Pokrywka 2022-04-03 12:05:23 +02:00
parent a321c6e19b
commit 9d2c060876
4 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,7 @@
pipeline {
agent any
agent {
dockerfile true
}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
@ -20,7 +22,7 @@ pipeline {
}
stage("Calcualte stats") {
steps {
sh "./stats.sh"
// sh "./stats.sh"
archiveArtifacts artifacts: "stats.txt"
}
}

View File

@ -1,4 +1,4 @@
# Run with docker
`docker build -t ium .`
`docker run -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='<your_kaggle_key>' -i ium:latest`
`docker run -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='<your_kaggle_key>' -it ium:latest`

View File

@ -15,4 +15,6 @@ print("="*10, ' data.median() ', 10*'=')
print(data.median())
print("="*10, ' data.describe(include="all") ', 10*'=')
print(data.describe(include='all'))
print(data.describe(include='all'))
data.describe(include="all").to_csv(r'stats.txt', header=None, index=None, sep='\t', mode='a')

View File

@ -1 +0,0 @@
0 0 0 data_train.csv