Working on cutoff
This commit is contained in:
parent
434b0b3748
commit
b2b50b5985
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -3,10 +3,9 @@ pipeline {
|
||||
|
||||
parameters{
|
||||
string(
|
||||
defaultValue: 'maciejsobkowiak',
|
||||
description: 'Kaggle username',
|
||||
name: 'username',
|
||||
trim: false
|
||||
defaultValue: '1000',
|
||||
description: 'cutoff',
|
||||
name: 'CUTOFF'
|
||||
)
|
||||
}
|
||||
|
||||
@ -19,7 +18,7 @@ pipeline {
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
sh 'chmod +x preparations.sh'
|
||||
sh './preparations.sh'
|
||||
sh './preparations.sh $(CUTOFF)'
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts'){
|
||||
|
@ -4,7 +4,7 @@ curl -OL https://git.wmi.amu.edu.pl/s434784/ium_434784/raw/branch/master/who_sui
|
||||
head -n 1 who_suicide_statistics.csv > names.csv
|
||||
|
||||
# Randomizacja zbioru.
|
||||
shuf who_suicide_statistics.csv > data.shuf
|
||||
sed 1d who_suicide_statistics.csv | shuf > data.shuf
|
||||
#cp who_suicide_statistics.csv data.shuf
|
||||
|
||||
# Podzial na 3 pozbiory
|
||||
@ -20,6 +20,7 @@ head -n $DEV data.shuf | tail -n $TEST > data.dev
|
||||
head -n $NUMROWS data.shuf | tail -n $TRAIN > data.train
|
||||
|
||||
echo "Test rows ${TEST}"
|
||||
echo "Dev rows ${TEST}"
|
||||
echo "Dev rows ${DEV}"
|
||||
echo "Train rows ${TRAIN}"
|
||||
echo "All number of rows ${NUMROWS}"
|
||||
echo "$1"
|
Loading…
Reference in New Issue
Block a user