update cutoff

This commit is contained in:
Maciej Czajka 2022-03-27 15:14:41 +02:00
parent 0723ba96d4
commit 2d6b7be0c2
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -41,7 +41,7 @@ pipeline {
sh 'kaggle datasets list'
}
}
sh './download.sh'
sh './download.sh' $CUTOFF
archiveArtifacts artifacts: 'all_games.csv.dev, all_games.csv.test, all_games.csv.train', followSymlinks: false
sh 'head -n $CUTOFF all_games.csv.train'
}

View File

@ -1,5 +1,6 @@
dataset_operation() {
cat all_games.csv | shuf > all_games.csv.shuf
cat all_games.csv | shuf > all_games.csv.s
head -n $CUTOFF all_games.csv.s > ./all_games.csv.shuf
len1=$(cat ./all_games.csv.shuf | wc -l)
len2=$(($len1/10))
len3=$(($len2*2))