update cutoff
This commit is contained in:
parent
0723ba96d4
commit
2d6b7be0c2
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user